AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
CreateProfileEntryResult.h
1
6#pragma once
7#include <aws/cloudextensions/CloudExtensions_EXPORTS.h>
8#include <aws/cloudextensions/model/CapabilityDefinition.h>
9#include <aws/cloudextensions/model/ExtensionDefaults.h>
10#include <aws/cloudextensions/model/InterfaceOptions.h>
11#include <aws/cloudextensions/model/VersionPolicy.h>
12#include <aws/core/http/HttpResponse.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/Document.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace CloudExtensions {
30namespace Model {
39 public:
40 AWS_CLOUDEXTENSIONS_API CreateProfileEntryResult() = default;
43
45
48 inline const Aws::String& GetId() const { return m_id; }
49 template <typename IdT = Aws::String>
50 void SetId(IdT&& value) {
51 m_idHasBeenSet = true;
52 m_id = std::forward<IdT>(value);
53 }
54 template <typename IdT = Aws::String>
56 SetId(std::forward<IdT>(value));
57 return *this;
58 }
60
62
66 inline const Aws::String& GetName() const { return m_name; }
67 template <typename NameT = Aws::String>
68 void SetName(NameT&& value) {
69 m_nameHasBeenSet = true;
70 m_name = std::forward<NameT>(value);
71 }
72 template <typename NameT = Aws::String>
74 SetName(std::forward<NameT>(value));
75 return *this;
76 }
78
80
83 inline const Aws::String& GetArn() const { return m_arn; }
84 template <typename ArnT = Aws::String>
85 void SetArn(ArnT&& value) {
86 m_arnHasBeenSet = true;
87 m_arn = std::forward<ArnT>(value);
88 }
89 template <typename ArnT = Aws::String>
91 SetArn(std::forward<ArnT>(value));
92 return *this;
93 }
95
97
100 inline const Aws::String& GetProfileId() const { return m_profileId; }
101 template <typename ProfileIdT = Aws::String>
102 void SetProfileId(ProfileIdT&& value) {
103 m_profileIdHasBeenSet = true;
104 m_profileId = std::forward<ProfileIdT>(value);
105 }
106 template <typename ProfileIdT = Aws::String>
108 SetProfileId(std::forward<ProfileIdT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::String& GetProfileName() const { return m_profileName; }
118 template <typename ProfileNameT = Aws::String>
119 void SetProfileName(ProfileNameT&& value) {
120 m_profileNameHasBeenSet = true;
121 m_profileName = std::forward<ProfileNameT>(value);
122 }
123 template <typename ProfileNameT = Aws::String>
125 SetProfileName(std::forward<ProfileNameT>(value));
126 return *this;
127 }
129
131
135 inline const Aws::String& GetExtensionId() const { return m_extensionId; }
136 template <typename ExtensionIdT = Aws::String>
137 void SetExtensionId(ExtensionIdT&& value) {
138 m_extensionIdHasBeenSet = true;
139 m_extensionId = std::forward<ExtensionIdT>(value);
140 }
141 template <typename ExtensionIdT = Aws::String>
143 SetExtensionId(std::forward<ExtensionIdT>(value));
144 return *this;
145 }
147
149
152 inline const Aws::String& GetExtensionDisplayName() const { return m_extensionDisplayName; }
153 template <typename ExtensionDisplayNameT = Aws::String>
154 void SetExtensionDisplayName(ExtensionDisplayNameT&& value) {
155 m_extensionDisplayNameHasBeenSet = true;
156 m_extensionDisplayName = std::forward<ExtensionDisplayNameT>(value);
157 }
158 template <typename ExtensionDisplayNameT = Aws::String>
159 CreateProfileEntryResult& WithExtensionDisplayName(ExtensionDisplayNameT&& value) {
160 SetExtensionDisplayName(std::forward<ExtensionDisplayNameT>(value));
161 return *this;
162 }
164
166
170 inline const VersionPolicy& GetVersionPolicy() const { return m_versionPolicy; }
171 template <typename VersionPolicyT = VersionPolicy>
172 void SetVersionPolicy(VersionPolicyT&& value) {
173 m_versionPolicyHasBeenSet = true;
174 m_versionPolicy = std::forward<VersionPolicyT>(value);
175 }
176 template <typename VersionPolicyT = VersionPolicy>
178 SetVersionPolicy(std::forward<VersionPolicyT>(value));
179 return *this;
180 }
182
184
188 inline const Aws::String& GetResolvedVersion() const { return m_resolvedVersion; }
189 template <typename ResolvedVersionT = Aws::String>
190 void SetResolvedVersion(ResolvedVersionT&& value) {
191 m_resolvedVersionHasBeenSet = true;
192 m_resolvedVersion = std::forward<ResolvedVersionT>(value);
193 }
194 template <typename ResolvedVersionT = Aws::String>
196 SetResolvedVersion(std::forward<ResolvedVersionT>(value));
197 return *this;
198 }
200
202
206 inline const Aws::String& GetLatestVersion() const { return m_latestVersion; }
207 template <typename LatestVersionT = Aws::String>
208 void SetLatestVersion(LatestVersionT&& value) {
209 m_latestVersionHasBeenSet = true;
210 m_latestVersion = std::forward<LatestVersionT>(value);
211 }
212 template <typename LatestVersionT = Aws::String>
214 SetLatestVersion(std::forward<LatestVersionT>(value));
215 return *this;
216 }
218
220
223 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
224 template <typename CreatedAtT = Aws::Utils::DateTime>
225 void SetCreatedAt(CreatedAtT&& value) {
226 m_createdAtHasBeenSet = true;
227 m_createdAt = std::forward<CreatedAtT>(value);
228 }
229 template <typename CreatedAtT = Aws::Utils::DateTime>
231 SetCreatedAt(std::forward<CreatedAtT>(value));
232 return *this;
233 }
235
237
241 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
242 template <typename UpdatedAtT = Aws::Utils::DateTime>
243 void SetUpdatedAt(UpdatedAtT&& value) {
244 m_updatedAtHasBeenSet = true;
245 m_updatedAt = std::forward<UpdatedAtT>(value);
246 }
247 template <typename UpdatedAtT = Aws::Utils::DateTime>
249 SetUpdatedAt(std::forward<UpdatedAtT>(value));
250 return *this;
251 }
253
255
259 inline const Aws::String& GetExecutionRole() const { return m_executionRole; }
260 template <typename ExecutionRoleT = Aws::String>
261 void SetExecutionRole(ExecutionRoleT&& value) {
262 m_executionRoleHasBeenSet = true;
263 m_executionRole = std::forward<ExecutionRoleT>(value);
264 }
265 template <typename ExecutionRoleT = Aws::String>
267 SetExecutionRole(std::forward<ExecutionRoleT>(value));
268 return *this;
269 }
271
273
276 inline const Aws::String& GetDescription() const { return m_description; }
277 template <typename DescriptionT = Aws::String>
278 void SetDescription(DescriptionT&& value) {
279 m_descriptionHasBeenSet = true;
280 m_description = std::forward<DescriptionT>(value);
281 }
282 template <typename DescriptionT = Aws::String>
284 SetDescription(std::forward<DescriptionT>(value));
285 return *this;
286 }
288
290
295 inline Aws::Utils::DocumentView GetEffectiveSettings() const { return m_effectiveSettings; }
296 template <typename EffectiveSettingsT = Aws::Utils::Document>
297 void SetEffectiveSettings(EffectiveSettingsT&& value) {
298 m_effectiveSettingsHasBeenSet = true;
299 m_effectiveSettings = std::forward<EffectiveSettingsT>(value);
300 }
301 template <typename EffectiveSettingsT = Aws::Utils::Document>
302 CreateProfileEntryResult& WithEffectiveSettings(EffectiveSettingsT&& value) {
303 SetEffectiveSettings(std::forward<EffectiveSettingsT>(value));
304 return *this;
305 }
307
309
313 inline const Aws::Map<Aws::String, CapabilityDefinition>& GetApprovedCapabilities() const { return m_approvedCapabilities; }
314 template <typename ApprovedCapabilitiesT = Aws::Map<Aws::String, CapabilityDefinition>>
315 void SetApprovedCapabilities(ApprovedCapabilitiesT&& value) {
316 m_approvedCapabilitiesHasBeenSet = true;
317 m_approvedCapabilities = std::forward<ApprovedCapabilitiesT>(value);
318 }
319 template <typename ApprovedCapabilitiesT = Aws::Map<Aws::String, CapabilityDefinition>>
320 CreateProfileEntryResult& WithApprovedCapabilities(ApprovedCapabilitiesT&& value) {
321 SetApprovedCapabilities(std::forward<ApprovedCapabilitiesT>(value));
322 return *this;
323 }
324 template <typename ApprovedCapabilitiesKeyT = Aws::String, typename ApprovedCapabilitiesValueT = CapabilityDefinition>
325 CreateProfileEntryResult& AddApprovedCapabilities(ApprovedCapabilitiesKeyT&& key, ApprovedCapabilitiesValueT&& value) {
326 m_approvedCapabilitiesHasBeenSet = true;
327 m_approvedCapabilities.emplace(std::forward<ApprovedCapabilitiesKeyT>(key), std::forward<ApprovedCapabilitiesValueT>(value));
328 return *this;
329 }
331
333
337 inline const ExtensionDefaults& GetInherited() const { return m_inherited; }
338 template <typename InheritedT = ExtensionDefaults>
339 void SetInherited(InheritedT&& value) {
340 m_inheritedHasBeenSet = true;
341 m_inherited = std::forward<InheritedT>(value);
342 }
343 template <typename InheritedT = ExtensionDefaults>
345 SetInherited(std::forward<InheritedT>(value));
346 return *this;
347 }
349
351
355 inline const Aws::Map<Aws::String, InterfaceOptions>& GetInterfaces() const { return m_interfaces; }
356 template <typename InterfacesT = Aws::Map<Aws::String, InterfaceOptions>>
357 void SetInterfaces(InterfacesT&& value) {
358 m_interfacesHasBeenSet = true;
359 m_interfaces = std::forward<InterfacesT>(value);
360 }
361 template <typename InterfacesT = Aws::Map<Aws::String, InterfaceOptions>>
363 SetInterfaces(std::forward<InterfacesT>(value));
364 return *this;
365 }
366 template <typename InterfacesKeyT = Aws::String, typename InterfacesValueT = InterfaceOptions>
367 CreateProfileEntryResult& AddInterfaces(InterfacesKeyT&& key, InterfacesValueT&& value) {
368 m_interfacesHasBeenSet = true;
369 m_interfaces.emplace(std::forward<InterfacesKeyT>(key), std::forward<InterfacesValueT>(value));
370 return *this;
371 }
373
375
376 inline const Aws::String& GetRequestId() const { return m_requestId; }
377 template <typename RequestIdT = Aws::String>
378 void SetRequestId(RequestIdT&& value) {
379 m_requestIdHasBeenSet = true;
380 m_requestId = std::forward<RequestIdT>(value);
381 }
382 template <typename RequestIdT = Aws::String>
384 SetRequestId(std::forward<RequestIdT>(value));
385 return *this;
386 }
388 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
389
390 private:
391 Aws::String m_id;
392
393 Aws::String m_name;
394
395 Aws::String m_arn;
396
397 Aws::String m_profileId;
398
399 Aws::String m_profileName;
400
401 Aws::String m_extensionId;
402
403 Aws::String m_extensionDisplayName;
404
405 VersionPolicy m_versionPolicy;
406
407 Aws::String m_resolvedVersion;
408
409 Aws::String m_latestVersion;
410
411 Aws::Utils::DateTime m_createdAt{};
412
413 Aws::Utils::DateTime m_updatedAt{};
414
415 Aws::String m_executionRole;
416
417 Aws::String m_description;
418
419 Aws::Utils::Document m_effectiveSettings;
420
421 Aws::Map<Aws::String, CapabilityDefinition> m_approvedCapabilities;
422
423 ExtensionDefaults m_inherited;
424
426
427 Aws::String m_requestId;
428 Aws::Http::HttpResponseCode m_HttpResponseCode;
429 bool m_idHasBeenSet = false;
430 bool m_nameHasBeenSet = false;
431 bool m_arnHasBeenSet = false;
432 bool m_profileIdHasBeenSet = false;
433 bool m_profileNameHasBeenSet = false;
434 bool m_extensionIdHasBeenSet = false;
435 bool m_extensionDisplayNameHasBeenSet = false;
436 bool m_versionPolicyHasBeenSet = false;
437 bool m_resolvedVersionHasBeenSet = false;
438 bool m_latestVersionHasBeenSet = false;
439 bool m_createdAtHasBeenSet = false;
440 bool m_updatedAtHasBeenSet = false;
441 bool m_executionRoleHasBeenSet = false;
442 bool m_descriptionHasBeenSet = false;
443 bool m_effectiveSettingsHasBeenSet = false;
444 bool m_approvedCapabilitiesHasBeenSet = false;
445 bool m_inheritedHasBeenSet = false;
446 bool m_interfacesHasBeenSet = false;
447 bool m_requestIdHasBeenSet = false;
448};
449
450} // namespace Model
451} // namespace CloudExtensions
452} // namespace Aws
CreateProfileEntryResult & WithLatestVersion(LatestVersionT &&value)
const Aws::String & GetName() const
CreateProfileEntryResult & WithExtensionDisplayName(ExtensionDisplayNameT &&value)
CreateProfileEntryResult & WithEffectiveSettings(EffectiveSettingsT &&value)
CreateProfileEntryResult & WithVersionPolicy(VersionPolicyT &&value)
Aws::Utils::DocumentView GetEffectiveSettings() const
const Aws::Map< Aws::String, InterfaceOptions > & GetInterfaces() const
void SetApprovedCapabilities(ApprovedCapabilitiesT &&value)
void SetCreatedAt(CreatedAtT &&value)
CreateProfileEntryResult & WithUpdatedAt(UpdatedAtT &&value)
void SetInterfaces(InterfacesT &&value)
void SetLatestVersion(LatestVersionT &&value)
CreateProfileEntryResult & WithRequestId(RequestIdT &&value)
const VersionPolicy & GetVersionPolicy() const
const Aws::String & GetDescription() const
CreateProfileEntryResult & WithCreatedAt(CreatedAtT &&value)
void SetVersionPolicy(VersionPolicyT &&value)
AWS_CLOUDEXTENSIONS_API CreateProfileEntryResult()=default
void SetExtensionDisplayName(ExtensionDisplayNameT &&value)
void SetName(NameT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
CreateProfileEntryResult & WithId(IdT &&value)
const Aws::String & GetArn() const
const Aws::String & GetExtensionId() const
const Aws::String & GetProfileId() const
void SetProfileId(ProfileIdT &&value)
void SetExtensionId(ExtensionIdT &&value)
CreateProfileEntryResult & WithExtensionId(ExtensionIdT &&value)
AWS_CLOUDEXTENSIONS_API CreateProfileEntryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateProfileEntryResult & AddApprovedCapabilities(ApprovedCapabilitiesKeyT &&key, ApprovedCapabilitiesValueT &&value)
CreateProfileEntryResult & WithArn(ArnT &&value)
CreateProfileEntryResult & WithResolvedVersion(ResolvedVersionT &&value)
CreateProfileEntryResult & WithExecutionRole(ExecutionRoleT &&value)
const Aws::String & GetId() const
void SetRequestId(RequestIdT &&value)
void SetInherited(InheritedT &&value)
void SetResolvedVersion(ResolvedVersionT &&value)
CreateProfileEntryResult & WithInterfaces(InterfacesT &&value)
CreateProfileEntryResult & WithDescription(DescriptionT &&value)
const Aws::String & GetResolvedVersion() const
void SetEffectiveSettings(EffectiveSettingsT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetProfileName(ProfileNameT &&value)
const Aws::Map< Aws::String, CapabilityDefinition > & GetApprovedCapabilities() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetId(IdT &&value)
const Aws::String & GetExtensionDisplayName() const
CreateProfileEntryResult & AddInterfaces(InterfacesKeyT &&key, InterfacesValueT &&value)
const Aws::String & GetExecutionRole() const
void SetExecutionRole(ExecutionRoleT &&value)
CreateProfileEntryResult & WithInherited(InheritedT &&value)
const Aws::String & GetRequestId() const
CreateProfileEntryResult & WithApprovedCapabilities(ApprovedCapabilitiesT &&value)
CreateProfileEntryResult & WithProfileId(ProfileIdT &&value)
void SetArn(ArnT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
void SetDescription(DescriptionT &&value)
CreateProfileEntryResult & WithProfileName(ProfileNameT &&value)
const ExtensionDefaults & GetInherited() const
const Aws::String & GetLatestVersion() const
AWS_CLOUDEXTENSIONS_API CreateProfileEntryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetProfileName() const
CreateProfileEntryResult & WithName(NameT &&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
Aws::Utils::Json::JsonValue JsonValue