AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
UpdateProfileEntryRequest.h
1
6#pragma once
7#include <aws/cloudextensions/CloudExtensionsRequest.h>
8#include <aws/cloudextensions/CloudExtensions_EXPORTS.h>
9#include <aws/cloudextensions/model/InterfaceOptions.h>
10#include <aws/cloudextensions/model/VersionPolicy.h>
11#include <aws/core/utils/Document.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15
16#include <utility>
17
18namespace Aws {
19namespace CloudExtensions {
20namespace Model {
21
29 public:
30 AWS_CLOUDEXTENSIONS_API UpdateProfileEntryRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateProfileEntry"; }
37
38 AWS_CLOUDEXTENSIONS_API Aws::String SerializePayload() const override;
39
41
44 inline const Aws::String& GetIdentifier() const { return m_identifier; }
45 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
46 template <typename IdentifierT = Aws::String>
47 void SetIdentifier(IdentifierT&& value) {
48 m_identifierHasBeenSet = true;
49 m_identifier = std::forward<IdentifierT>(value);
50 }
51 template <typename IdentifierT = Aws::String>
53 SetIdentifier(std::forward<IdentifierT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetProfileIdentifier() const { return m_profileIdentifier; }
63 inline bool ProfileIdentifierHasBeenSet() const { return m_profileIdentifierHasBeenSet; }
64 template <typename ProfileIdentifierT = Aws::String>
65 void SetProfileIdentifier(ProfileIdentifierT&& value) {
66 m_profileIdentifierHasBeenSet = true;
67 m_profileIdentifier = std::forward<ProfileIdentifierT>(value);
68 }
69 template <typename ProfileIdentifierT = Aws::String>
70 UpdateProfileEntryRequest& WithProfileIdentifier(ProfileIdentifierT&& value) {
71 SetProfileIdentifier(std::forward<ProfileIdentifierT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetName() const { return m_name; }
81 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
82 template <typename NameT = Aws::String>
83 void SetName(NameT&& value) {
84 m_nameHasBeenSet = true;
85 m_name = std::forward<NameT>(value);
86 }
87 template <typename NameT = Aws::String>
89 SetName(std::forward<NameT>(value));
90 return *this;
91 }
93
95
99 inline const Aws::String& GetDescription() const { return m_description; }
100 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
101 template <typename DescriptionT = Aws::String>
102 void SetDescription(DescriptionT&& value) {
103 m_descriptionHasBeenSet = true;
104 m_description = std::forward<DescriptionT>(value);
105 }
106 template <typename DescriptionT = Aws::String>
108 SetDescription(std::forward<DescriptionT>(value));
109 return *this;
110 }
112
114
118 inline const Aws::Map<Aws::String, InterfaceOptions>& GetInterfaces() const { return m_interfaces; }
119 inline bool InterfacesHasBeenSet() const { return m_interfacesHasBeenSet; }
120 template <typename InterfacesT = Aws::Map<Aws::String, InterfaceOptions>>
121 void SetInterfaces(InterfacesT&& value) {
122 m_interfacesHasBeenSet = true;
123 m_interfaces = std::forward<InterfacesT>(value);
124 }
125 template <typename InterfacesT = Aws::Map<Aws::String, InterfaceOptions>>
127 SetInterfaces(std::forward<InterfacesT>(value));
128 return *this;
129 }
130 template <typename InterfacesKeyT = Aws::String, typename InterfacesValueT = InterfaceOptions>
131 UpdateProfileEntryRequest& AddInterfaces(InterfacesKeyT&& key, InterfacesValueT&& value) {
132 m_interfacesHasBeenSet = true;
133 m_interfaces.emplace(std::forward<InterfacesKeyT>(key), std::forward<InterfacesValueT>(value));
134 return *this;
135 }
137
139
144 inline const Aws::String& GetExecutionRole() const { return m_executionRole; }
145 inline bool ExecutionRoleHasBeenSet() const { return m_executionRoleHasBeenSet; }
146 template <typename ExecutionRoleT = Aws::String>
147 void SetExecutionRole(ExecutionRoleT&& value) {
148 m_executionRoleHasBeenSet = true;
149 m_executionRole = std::forward<ExecutionRoleT>(value);
150 }
151 template <typename ExecutionRoleT = Aws::String>
153 SetExecutionRole(std::forward<ExecutionRoleT>(value));
154 return *this;
155 }
157
159
163 inline const VersionPolicy& GetVersionPolicy() const { return m_versionPolicy; }
164 inline bool VersionPolicyHasBeenSet() const { return m_versionPolicyHasBeenSet; }
165 template <typename VersionPolicyT = VersionPolicy>
166 void SetVersionPolicy(VersionPolicyT&& value) {
167 m_versionPolicyHasBeenSet = true;
168 m_versionPolicy = std::forward<VersionPolicyT>(value);
169 }
170 template <typename VersionPolicyT = VersionPolicy>
172 SetVersionPolicy(std::forward<VersionPolicyT>(value));
173 return *this;
174 }
176
178
187 inline Aws::Utils::DocumentView GetSettings() const { return m_settings; }
188 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
189 template <typename SettingsT = Aws::Utils::Document>
190 void SetSettings(SettingsT&& value) {
191 m_settingsHasBeenSet = true;
192 m_settings = std::forward<SettingsT>(value);
193 }
194 template <typename SettingsT = Aws::Utils::Document>
196 SetSettings(std::forward<SettingsT>(value));
197 return *this;
198 }
200
202
207 inline const Aws::Vector<Aws::String>& GetApprove() const { return m_approve; }
208 inline bool ApproveHasBeenSet() const { return m_approveHasBeenSet; }
209 template <typename ApproveT = Aws::Vector<Aws::String>>
210 void SetApprove(ApproveT&& value) {
211 m_approveHasBeenSet = true;
212 m_approve = std::forward<ApproveT>(value);
213 }
214 template <typename ApproveT = Aws::Vector<Aws::String>>
216 SetApprove(std::forward<ApproveT>(value));
217 return *this;
218 }
219 template <typename ApproveT = Aws::String>
221 m_approveHasBeenSet = true;
222 m_approve.emplace_back(std::forward<ApproveT>(value));
223 return *this;
224 }
226 private:
227 Aws::String m_identifier;
228
229 Aws::String m_profileIdentifier;
230
231 Aws::String m_name;
232
233 Aws::String m_description;
234
236
237 Aws::String m_executionRole;
238
239 VersionPolicy m_versionPolicy;
240
241 Aws::Utils::Document m_settings;
242
243 Aws::Vector<Aws::String> m_approve;
244 bool m_identifierHasBeenSet = false;
245 bool m_profileIdentifierHasBeenSet = false;
246 bool m_nameHasBeenSet = false;
247 bool m_descriptionHasBeenSet = false;
248 bool m_interfacesHasBeenSet = false;
249 bool m_executionRoleHasBeenSet = false;
250 bool m_versionPolicyHasBeenSet = false;
251 bool m_settingsHasBeenSet = false;
252 bool m_approveHasBeenSet = false;
253};
254
255} // namespace Model
256} // namespace CloudExtensions
257} // namespace Aws
bool SettingsHasBeenSet() const
Aws::Utils::DocumentView GetSettings() const
UpdateProfileEntryRequest & WithApprove(ApproveT &&value)
void SetVersionPolicy(VersionPolicyT &&value)
const Aws::String & GetName() const
const VersionPolicy & GetVersionPolicy() const
void SetIdentifier(IdentifierT &&value)
const Aws::String & GetProfileIdentifier() const
void SetInterfaces(InterfacesT &&value)
void SetExecutionRole(ExecutionRoleT &&value)
UpdateProfileEntryRequest & WithInterfaces(InterfacesT &&value)
void SetName(NameT &&value)
const Aws::Vector< Aws::String > & GetApprove() const
bool DescriptionHasBeenSet() const
AWS_CLOUDEXTENSIONS_API Aws::String SerializePayload() const override
UpdateProfileEntryRequest & WithProfileIdentifier(ProfileIdentifierT &&value)
UpdateProfileEntryRequest & WithName(NameT &&value)
bool VersionPolicyHasBeenSet() const
UpdateProfileEntryRequest & AddInterfaces(InterfacesKeyT &&key, InterfacesValueT &&value)
UpdateProfileEntryRequest & WithIdentifier(IdentifierT &&value)
void SetApprove(ApproveT &&value)
void SetSettings(SettingsT &&value)
const Aws::Map< Aws::String, InterfaceOptions > & GetInterfaces() const
bool ApproveHasBeenSet() const
UpdateProfileEntryRequest & WithExecutionRole(ExecutionRoleT &&value)
bool ProfileIdentifierHasBeenSet() const
UpdateProfileEntryRequest & WithVersionPolicy(VersionPolicyT &&value)
const Aws::String & GetDescription() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetIdentifier() const
UpdateProfileEntryRequest & WithSettings(SettingsT &&value)
bool ExecutionRoleHasBeenSet() const
const Aws::String & GetExecutionRole() const
bool InterfacesHasBeenSet() const
bool NameHasBeenSet() const
UpdateProfileEntryRequest & AddApprove(ApproveT &&value)
bool IdentifierHasBeenSet() const
void SetDescription(DescriptionT &&value)
AWS_CLOUDEXTENSIONS_API UpdateProfileEntryRequest()=default
void SetProfileIdentifier(ProfileIdentifierT &&value)
UpdateProfileEntryRequest & WithDescription(DescriptionT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector