AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DeleteProfileKeyRequest.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/CustomerProfilesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CustomerProfiles
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CUSTOMERPROFILES_API DeleteProfileKeyRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DeleteProfileKey"; }
32
33 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetProfileId() const { return m_profileId; }
41 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
42 template<typename ProfileIdT = Aws::String>
43 void SetProfileId(ProfileIdT&& value) { m_profileIdHasBeenSet = true; m_profileId = std::forward<ProfileIdT>(value); }
44 template<typename ProfileIdT = Aws::String>
45 DeleteProfileKeyRequest& WithProfileId(ProfileIdT&& value) { SetProfileId(std::forward<ProfileIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetKeyName() const { return m_keyName; }
53 inline bool KeyNameHasBeenSet() const { return m_keyNameHasBeenSet; }
54 template<typename KeyNameT = Aws::String>
55 void SetKeyName(KeyNameT&& value) { m_keyNameHasBeenSet = true; m_keyName = std::forward<KeyNameT>(value); }
56 template<typename KeyNameT = Aws::String>
57 DeleteProfileKeyRequest& WithKeyName(KeyNameT&& value) { SetKeyName(std::forward<KeyNameT>(value)); return *this;}
59
61
64 inline const Aws::Vector<Aws::String>& GetValues() const { return m_values; }
65 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
66 template<typename ValuesT = Aws::Vector<Aws::String>>
67 void SetValues(ValuesT&& value) { m_valuesHasBeenSet = true; m_values = std::forward<ValuesT>(value); }
68 template<typename ValuesT = Aws::Vector<Aws::String>>
69 DeleteProfileKeyRequest& WithValues(ValuesT&& value) { SetValues(std::forward<ValuesT>(value)); return *this;}
70 template<typename ValuesT = Aws::String>
71 DeleteProfileKeyRequest& AddValues(ValuesT&& value) { m_valuesHasBeenSet = true; m_values.emplace_back(std::forward<ValuesT>(value)); return *this; }
73
75
78 inline const Aws::String& GetDomainName() const { return m_domainName; }
79 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
80 template<typename DomainNameT = Aws::String>
81 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
82 template<typename DomainNameT = Aws::String>
83 DeleteProfileKeyRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
85 private:
86
87 Aws::String m_profileId;
88 bool m_profileIdHasBeenSet = false;
89
90 Aws::String m_keyName;
91 bool m_keyNameHasBeenSet = false;
92
94 bool m_valuesHasBeenSet = false;
95
96 Aws::String m_domainName;
97 bool m_domainNameHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace CustomerProfiles
102} // namespace Aws
virtual const char * GetServiceRequestName() const override
DeleteProfileKeyRequest & WithProfileId(ProfileIdT &&value)
DeleteProfileKeyRequest & WithKeyName(KeyNameT &&value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
DeleteProfileKeyRequest & WithDomainName(DomainNameT &&value)
AWS_CUSTOMERPROFILES_API DeleteProfileKeyRequest()=default
DeleteProfileKeyRequest & WithValues(ValuesT &&value)
const Aws::Vector< Aws::String > & GetValues() const
DeleteProfileKeyRequest & AddValues(ValuesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector