AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
UpdateEnvironmentResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/ConfigurableEnvironmentAction.h>
12#include <aws/datazone/model/CustomParameter.h>
13#include <aws/datazone/model/Deployment.h>
14#include <aws/datazone/model/DeploymentProperties.h>
15#include <aws/datazone/model/EnvironmentStatus.h>
16#include <aws/datazone/model/ProvisioningProperties.h>
17#include <aws/datazone/model/Resource.h>
18
19#include <utility>
20
21namespace Aws {
22template <typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils {
26namespace Json {
27class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace DataZone {
31namespace Model {
33 public:
34 AWS_DATAZONE_API UpdateEnvironmentResult() = default;
37
39
42 inline const Aws::String& GetProjectId() const { return m_projectId; }
43 template <typename ProjectIdT = Aws::String>
44 void SetProjectId(ProjectIdT&& value) {
45 m_projectIdHasBeenSet = true;
46 m_projectId = std::forward<ProjectIdT>(value);
47 }
48 template <typename ProjectIdT = Aws::String>
50 SetProjectId(std::forward<ProjectIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetId() const { return m_id; }
60 template <typename IdT = Aws::String>
61 void SetId(IdT&& value) {
62 m_idHasBeenSet = true;
63 m_id = std::forward<IdT>(value);
64 }
65 template <typename IdT = Aws::String>
67 SetId(std::forward<IdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDomainId() const { return m_domainId; }
77 template <typename DomainIdT = Aws::String>
78 void SetDomainId(DomainIdT&& value) {
79 m_domainIdHasBeenSet = true;
80 m_domainId = std::forward<DomainIdT>(value);
81 }
82 template <typename DomainIdT = Aws::String>
84 SetDomainId(std::forward<DomainIdT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
94 template <typename CreatedByT = Aws::String>
95 void SetCreatedBy(CreatedByT&& value) {
96 m_createdByHasBeenSet = true;
97 m_createdBy = std::forward<CreatedByT>(value);
98 }
99 template <typename CreatedByT = Aws::String>
101 SetCreatedBy(std::forward<CreatedByT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
111 template <typename CreatedAtT = Aws::Utils::DateTime>
112 void SetCreatedAt(CreatedAtT&& value) {
113 m_createdAtHasBeenSet = true;
114 m_createdAt = std::forward<CreatedAtT>(value);
115 }
116 template <typename CreatedAtT = Aws::Utils::DateTime>
118 SetCreatedAt(std::forward<CreatedAtT>(value));
119 return *this;
120 }
122
124
127 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
128 template <typename UpdatedAtT = Aws::Utils::DateTime>
129 void SetUpdatedAt(UpdatedAtT&& value) {
130 m_updatedAtHasBeenSet = true;
131 m_updatedAt = std::forward<UpdatedAtT>(value);
132 }
133 template <typename UpdatedAtT = Aws::Utils::DateTime>
135 SetUpdatedAt(std::forward<UpdatedAtT>(value));
136 return *this;
137 }
139
141
145 inline const Aws::String& GetName() const { return m_name; }
146 template <typename NameT = Aws::String>
147 void SetName(NameT&& value) {
148 m_nameHasBeenSet = true;
149 m_name = std::forward<NameT>(value);
150 }
151 template <typename NameT = Aws::String>
153 SetName(std::forward<NameT>(value));
154 return *this;
155 }
157
159
163 inline const Aws::String& GetDescription() const { return m_description; }
164 template <typename DescriptionT = Aws::String>
165 void SetDescription(DescriptionT&& value) {
166 m_descriptionHasBeenSet = true;
167 m_description = std::forward<DescriptionT>(value);
168 }
169 template <typename DescriptionT = Aws::String>
171 SetDescription(std::forward<DescriptionT>(value));
172 return *this;
173 }
175
177
180 inline const Aws::String& GetEnvironmentProfileId() const { return m_environmentProfileId; }
181 template <typename EnvironmentProfileIdT = Aws::String>
182 void SetEnvironmentProfileId(EnvironmentProfileIdT&& value) {
183 m_environmentProfileIdHasBeenSet = true;
184 m_environmentProfileId = std::forward<EnvironmentProfileIdT>(value);
185 }
186 template <typename EnvironmentProfileIdT = Aws::String>
187 UpdateEnvironmentResult& WithEnvironmentProfileId(EnvironmentProfileIdT&& value) {
188 SetEnvironmentProfileId(std::forward<EnvironmentProfileIdT>(value));
189 return *this;
190 }
192
194
198 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
199 template <typename AwsAccountIdT = Aws::String>
200 void SetAwsAccountId(AwsAccountIdT&& value) {
201 m_awsAccountIdHasBeenSet = true;
202 m_awsAccountId = std::forward<AwsAccountIdT>(value);
203 }
204 template <typename AwsAccountIdT = Aws::String>
206 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
207 return *this;
208 }
210
212
215 inline const Aws::String& GetAwsAccountRegion() const { return m_awsAccountRegion; }
216 template <typename AwsAccountRegionT = Aws::String>
217 void SetAwsAccountRegion(AwsAccountRegionT&& value) {
218 m_awsAccountRegionHasBeenSet = true;
219 m_awsAccountRegion = std::forward<AwsAccountRegionT>(value);
220 }
221 template <typename AwsAccountRegionT = Aws::String>
222 UpdateEnvironmentResult& WithAwsAccountRegion(AwsAccountRegionT&& value) {
223 SetAwsAccountRegion(std::forward<AwsAccountRegionT>(value));
224 return *this;
225 }
227
229
232 inline const Aws::String& GetProvider() const { return m_provider; }
233 template <typename ProviderT = Aws::String>
234 void SetProvider(ProviderT&& value) {
235 m_providerHasBeenSet = true;
236 m_provider = std::forward<ProviderT>(value);
237 }
238 template <typename ProviderT = Aws::String>
240 SetProvider(std::forward<ProviderT>(value));
241 return *this;
242 }
244
246
250 inline const Aws::Vector<Resource>& GetProvisionedResources() const { return m_provisionedResources; }
251 template <typename ProvisionedResourcesT = Aws::Vector<Resource>>
252 void SetProvisionedResources(ProvisionedResourcesT&& value) {
253 m_provisionedResourcesHasBeenSet = true;
254 m_provisionedResources = std::forward<ProvisionedResourcesT>(value);
255 }
256 template <typename ProvisionedResourcesT = Aws::Vector<Resource>>
257 UpdateEnvironmentResult& WithProvisionedResources(ProvisionedResourcesT&& value) {
258 SetProvisionedResources(std::forward<ProvisionedResourcesT>(value));
259 return *this;
260 }
261 template <typename ProvisionedResourcesT = Resource>
262 UpdateEnvironmentResult& AddProvisionedResources(ProvisionedResourcesT&& value) {
263 m_provisionedResourcesHasBeenSet = true;
264 m_provisionedResources.emplace_back(std::forward<ProvisionedResourcesT>(value));
265 return *this;
266 }
268
270
274 inline EnvironmentStatus GetStatus() const { return m_status; }
275 inline void SetStatus(EnvironmentStatus value) {
276 m_statusHasBeenSet = true;
277 m_status = value;
278 }
280 SetStatus(value);
281 return *this;
282 }
284
286
290 inline const Aws::Vector<ConfigurableEnvironmentAction>& GetEnvironmentActions() const { return m_environmentActions; }
291 template <typename EnvironmentActionsT = Aws::Vector<ConfigurableEnvironmentAction>>
292 void SetEnvironmentActions(EnvironmentActionsT&& value) {
293 m_environmentActionsHasBeenSet = true;
294 m_environmentActions = std::forward<EnvironmentActionsT>(value);
295 }
296 template <typename EnvironmentActionsT = Aws::Vector<ConfigurableEnvironmentAction>>
297 UpdateEnvironmentResult& WithEnvironmentActions(EnvironmentActionsT&& value) {
298 SetEnvironmentActions(std::forward<EnvironmentActionsT>(value));
299 return *this;
300 }
301 template <typename EnvironmentActionsT = ConfigurableEnvironmentAction>
302 UpdateEnvironmentResult& AddEnvironmentActions(EnvironmentActionsT&& value) {
303 m_environmentActionsHasBeenSet = true;
304 m_environmentActions.emplace_back(std::forward<EnvironmentActionsT>(value));
305 return *this;
306 }
308
310
314 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
315 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
316 void SetGlossaryTerms(GlossaryTermsT&& value) {
317 m_glossaryTermsHasBeenSet = true;
318 m_glossaryTerms = std::forward<GlossaryTermsT>(value);
319 }
320 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
322 SetGlossaryTerms(std::forward<GlossaryTermsT>(value));
323 return *this;
324 }
325 template <typename GlossaryTermsT = Aws::String>
326 UpdateEnvironmentResult& AddGlossaryTerms(GlossaryTermsT&& value) {
327 m_glossaryTermsHasBeenSet = true;
328 m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value));
329 return *this;
330 }
332
334
338 inline const Aws::Vector<CustomParameter>& GetUserParameters() const { return m_userParameters; }
339 template <typename UserParametersT = Aws::Vector<CustomParameter>>
340 void SetUserParameters(UserParametersT&& value) {
341 m_userParametersHasBeenSet = true;
342 m_userParameters = std::forward<UserParametersT>(value);
343 }
344 template <typename UserParametersT = Aws::Vector<CustomParameter>>
345 UpdateEnvironmentResult& WithUserParameters(UserParametersT&& value) {
346 SetUserParameters(std::forward<UserParametersT>(value));
347 return *this;
348 }
349 template <typename UserParametersT = CustomParameter>
350 UpdateEnvironmentResult& AddUserParameters(UserParametersT&& value) {
351 m_userParametersHasBeenSet = true;
352 m_userParameters.emplace_back(std::forward<UserParametersT>(value));
353 return *this;
354 }
356
358
361 inline const Deployment& GetLastDeployment() const { return m_lastDeployment; }
362 template <typename LastDeploymentT = Deployment>
363 void SetLastDeployment(LastDeploymentT&& value) {
364 m_lastDeploymentHasBeenSet = true;
365 m_lastDeployment = std::forward<LastDeploymentT>(value);
366 }
367 template <typename LastDeploymentT = Deployment>
368 UpdateEnvironmentResult& WithLastDeployment(LastDeploymentT&& value) {
369 SetLastDeployment(std::forward<LastDeploymentT>(value));
370 return *this;
371 }
373
375
379 inline const ProvisioningProperties& GetProvisioningProperties() const { return m_provisioningProperties; }
380 template <typename ProvisioningPropertiesT = ProvisioningProperties>
381 void SetProvisioningProperties(ProvisioningPropertiesT&& value) {
382 m_provisioningPropertiesHasBeenSet = true;
383 m_provisioningProperties = std::forward<ProvisioningPropertiesT>(value);
384 }
385 template <typename ProvisioningPropertiesT = ProvisioningProperties>
386 UpdateEnvironmentResult& WithProvisioningProperties(ProvisioningPropertiesT&& value) {
387 SetProvisioningProperties(std::forward<ProvisioningPropertiesT>(value));
388 return *this;
389 }
391
393
397 inline const DeploymentProperties& GetDeploymentProperties() const { return m_deploymentProperties; }
398 template <typename DeploymentPropertiesT = DeploymentProperties>
399 void SetDeploymentProperties(DeploymentPropertiesT&& value) {
400 m_deploymentPropertiesHasBeenSet = true;
401 m_deploymentProperties = std::forward<DeploymentPropertiesT>(value);
402 }
403 template <typename DeploymentPropertiesT = DeploymentProperties>
404 UpdateEnvironmentResult& WithDeploymentProperties(DeploymentPropertiesT&& value) {
405 SetDeploymentProperties(std::forward<DeploymentPropertiesT>(value));
406 return *this;
407 }
409
411
414 inline const Aws::String& GetEnvironmentBlueprintId() const { return m_environmentBlueprintId; }
415 template <typename EnvironmentBlueprintIdT = Aws::String>
416 void SetEnvironmentBlueprintId(EnvironmentBlueprintIdT&& value) {
417 m_environmentBlueprintIdHasBeenSet = true;
418 m_environmentBlueprintId = std::forward<EnvironmentBlueprintIdT>(value);
419 }
420 template <typename EnvironmentBlueprintIdT = Aws::String>
421 UpdateEnvironmentResult& WithEnvironmentBlueprintId(EnvironmentBlueprintIdT&& value) {
422 SetEnvironmentBlueprintId(std::forward<EnvironmentBlueprintIdT>(value));
423 return *this;
424 }
426
428
431 inline const Aws::String& GetEnvironmentConfigurationId() const { return m_environmentConfigurationId; }
432 template <typename EnvironmentConfigurationIdT = Aws::String>
433 void SetEnvironmentConfigurationId(EnvironmentConfigurationIdT&& value) {
434 m_environmentConfigurationIdHasBeenSet = true;
435 m_environmentConfigurationId = std::forward<EnvironmentConfigurationIdT>(value);
436 }
437 template <typename EnvironmentConfigurationIdT = Aws::String>
438 UpdateEnvironmentResult& WithEnvironmentConfigurationId(EnvironmentConfigurationIdT&& value) {
439 SetEnvironmentConfigurationId(std::forward<EnvironmentConfigurationIdT>(value));
440 return *this;
441 }
443
445
446 inline const Aws::String& GetRequestId() const { return m_requestId; }
447 template <typename RequestIdT = Aws::String>
448 void SetRequestId(RequestIdT&& value) {
449 m_requestIdHasBeenSet = true;
450 m_requestId = std::forward<RequestIdT>(value);
451 }
452 template <typename RequestIdT = Aws::String>
454 SetRequestId(std::forward<RequestIdT>(value));
455 return *this;
456 }
458 private:
459 Aws::String m_projectId;
460
461 Aws::String m_id;
462
463 Aws::String m_domainId;
464
465 Aws::String m_createdBy;
466
467 Aws::Utils::DateTime m_createdAt{};
468
469 Aws::Utils::DateTime m_updatedAt{};
470
471 Aws::String m_name;
472
473 Aws::String m_description;
474
475 Aws::String m_environmentProfileId;
476
477 Aws::String m_awsAccountId;
478
479 Aws::String m_awsAccountRegion;
480
481 Aws::String m_provider;
482
483 Aws::Vector<Resource> m_provisionedResources;
484
486
488
489 Aws::Vector<Aws::String> m_glossaryTerms;
490
491 Aws::Vector<CustomParameter> m_userParameters;
492
493 Deployment m_lastDeployment;
494
495 ProvisioningProperties m_provisioningProperties;
496
497 DeploymentProperties m_deploymentProperties;
498
499 Aws::String m_environmentBlueprintId;
500
501 Aws::String m_environmentConfigurationId;
502
503 Aws::String m_requestId;
504 bool m_projectIdHasBeenSet = false;
505 bool m_idHasBeenSet = false;
506 bool m_domainIdHasBeenSet = false;
507 bool m_createdByHasBeenSet = false;
508 bool m_createdAtHasBeenSet = false;
509 bool m_updatedAtHasBeenSet = false;
510 bool m_nameHasBeenSet = false;
511 bool m_descriptionHasBeenSet = false;
512 bool m_environmentProfileIdHasBeenSet = false;
513 bool m_awsAccountIdHasBeenSet = false;
514 bool m_awsAccountRegionHasBeenSet = false;
515 bool m_providerHasBeenSet = false;
516 bool m_provisionedResourcesHasBeenSet = false;
517 bool m_statusHasBeenSet = false;
518 bool m_environmentActionsHasBeenSet = false;
519 bool m_glossaryTermsHasBeenSet = false;
520 bool m_userParametersHasBeenSet = false;
521 bool m_lastDeploymentHasBeenSet = false;
522 bool m_provisioningPropertiesHasBeenSet = false;
523 bool m_deploymentPropertiesHasBeenSet = false;
524 bool m_environmentBlueprintIdHasBeenSet = false;
525 bool m_environmentConfigurationIdHasBeenSet = false;
526 bool m_requestIdHasBeenSet = false;
527};
528
529} // namespace Model
530} // namespace DataZone
531} // namespace Aws
UpdateEnvironmentResult & WithProjectId(ProjectIdT &&value)
void SetEnvironmentProfileId(EnvironmentProfileIdT &&value)
UpdateEnvironmentResult & WithAwsAccountRegion(AwsAccountRegionT &&value)
UpdateEnvironmentResult & WithUserParameters(UserParametersT &&value)
UpdateEnvironmentResult & WithLastDeployment(LastDeploymentT &&value)
UpdateEnvironmentResult & WithId(IdT &&value)
AWS_DATAZONE_API UpdateEnvironmentResult()=default
AWS_DATAZONE_API UpdateEnvironmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateEnvironmentResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
UpdateEnvironmentResult & WithProvider(ProviderT &&value)
const ProvisioningProperties & GetProvisioningProperties() const
UpdateEnvironmentResult & WithName(NameT &&value)
void SetEnvironmentConfigurationId(EnvironmentConfigurationIdT &&value)
const Aws::Vector< CustomParameter > & GetUserParameters() const
const Aws::Utils::DateTime & GetUpdatedAt() const
UpdateEnvironmentResult & WithEnvironmentActions(EnvironmentActionsT &&value)
const DeploymentProperties & GetDeploymentProperties() const
UpdateEnvironmentResult & WithCreatedBy(CreatedByT &&value)
const Aws::Vector< ConfigurableEnvironmentAction > & GetEnvironmentActions() const
void SetDeploymentProperties(DeploymentPropertiesT &&value)
UpdateEnvironmentResult & WithEnvironmentBlueprintId(EnvironmentBlueprintIdT &&value)
void SetProvisioningProperties(ProvisioningPropertiesT &&value)
UpdateEnvironmentResult & WithDomainId(DomainIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Vector< Resource > & GetProvisionedResources() const
UpdateEnvironmentResult & AddGlossaryTerms(GlossaryTermsT &&value)
UpdateEnvironmentResult & WithDeploymentProperties(DeploymentPropertiesT &&value)
void SetProvisionedResources(ProvisionedResourcesT &&value)
UpdateEnvironmentResult & AddUserParameters(UserParametersT &&value)
UpdateEnvironmentResult & WithCreatedAt(CreatedAtT &&value)
UpdateEnvironmentResult & WithProvisioningProperties(ProvisioningPropertiesT &&value)
UpdateEnvironmentResult & AddProvisionedResources(ProvisionedResourcesT &&value)
void SetEnvironmentActions(EnvironmentActionsT &&value)
void SetEnvironmentBlueprintId(EnvironmentBlueprintIdT &&value)
UpdateEnvironmentResult & AddEnvironmentActions(EnvironmentActionsT &&value)
UpdateEnvironmentResult & WithEnvironmentProfileId(EnvironmentProfileIdT &&value)
UpdateEnvironmentResult & WithAwsAccountId(AwsAccountIdT &&value)
UpdateEnvironmentResult & WithEnvironmentConfigurationId(EnvironmentConfigurationIdT &&value)
UpdateEnvironmentResult & WithGlossaryTerms(GlossaryTermsT &&value)
UpdateEnvironmentResult & WithUpdatedAt(UpdatedAtT &&value)
UpdateEnvironmentResult & WithStatus(EnvironmentStatus value)
AWS_DATAZONE_API UpdateEnvironmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateEnvironmentResult & WithProvisionedResources(ProvisionedResourcesT &&value)
UpdateEnvironmentResult & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue