AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DeleteProfileKeyRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/customer-profiles/CustomerProfilesRequest.h>
10#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CustomerProfiles {
16namespace Model {
17
21 public:
22 AWS_CUSTOMERPROFILES_API DeleteProfileKeyRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DeleteProfileKey"; }
29
30 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetProfileId() const { return m_profileId; }
37 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
38 template <typename ProfileIdT = Aws::String>
39 void SetProfileId(ProfileIdT&& value) {
40 m_profileIdHasBeenSet = true;
41 m_profileId = std::forward<ProfileIdT>(value);
42 }
43 template <typename ProfileIdT = Aws::String>
45 SetProfileId(std::forward<ProfileIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetKeyName() const { return m_keyName; }
55 inline bool KeyNameHasBeenSet() const { return m_keyNameHasBeenSet; }
56 template <typename KeyNameT = Aws::String>
57 void SetKeyName(KeyNameT&& value) {
58 m_keyNameHasBeenSet = true;
59 m_keyName = std::forward<KeyNameT>(value);
60 }
61 template <typename KeyNameT = Aws::String>
63 SetKeyName(std::forward<KeyNameT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::Vector<Aws::String>& GetValues() const { return m_values; }
73 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
74 template <typename ValuesT = Aws::Vector<Aws::String>>
75 void SetValues(ValuesT&& value) {
76 m_valuesHasBeenSet = true;
77 m_values = std::forward<ValuesT>(value);
78 }
79 template <typename ValuesT = Aws::Vector<Aws::String>>
81 SetValues(std::forward<ValuesT>(value));
82 return *this;
83 }
84 template <typename ValuesT = Aws::String>
86 m_valuesHasBeenSet = true;
87 m_values.emplace_back(std::forward<ValuesT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetDomainName() const { return m_domainName; }
97 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
98 template <typename DomainNameT = Aws::String>
99 void SetDomainName(DomainNameT&& value) {
100 m_domainNameHasBeenSet = true;
101 m_domainName = std::forward<DomainNameT>(value);
102 }
103 template <typename DomainNameT = Aws::String>
105 SetDomainName(std::forward<DomainNameT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_profileId;
111
112 Aws::String m_keyName;
113
115
116 Aws::String m_domainName;
117 bool m_profileIdHasBeenSet = false;
118 bool m_keyNameHasBeenSet = false;
119 bool m_valuesHasBeenSet = false;
120 bool m_domainNameHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace CustomerProfiles
125} // 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