AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
UpdateEnvironmentResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datazone/DataZone_EXPORTS.h>
12#include <aws/datazone/model/ConfigurableEnvironmentAction.h>
13#include <aws/datazone/model/CustomParameter.h>
14#include <aws/datazone/model/Deployment.h>
15#include <aws/datazone/model/DeploymentProperties.h>
16#include <aws/datazone/model/EnvironmentStatus.h>
17#include <aws/datazone/model/ProvisioningProperties.h>
18#include <aws/datazone/model/Resource.h>
19
20#include <utility>
21
22namespace Aws {
23template <typename RESULT_TYPE>
24class AmazonWebServiceResult;
25
26namespace Utils {
27namespace Json {
28class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace DataZone {
32namespace Model {
34 public:
35 AWS_DATAZONE_API UpdateEnvironmentResult() = default;
38
40
43 inline const Aws::String& GetProjectId() const { return m_projectId; }
44 template <typename ProjectIdT = Aws::String>
45 void SetProjectId(ProjectIdT&& value) {
46 m_projectIdHasBeenSet = true;
47 m_projectId = std::forward<ProjectIdT>(value);
48 }
49 template <typename ProjectIdT = Aws::String>
51 SetProjectId(std::forward<ProjectIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetId() const { return m_id; }
61 template <typename IdT = Aws::String>
62 void SetId(IdT&& value) {
63 m_idHasBeenSet = true;
64 m_id = std::forward<IdT>(value);
65 }
66 template <typename IdT = Aws::String>
68 SetId(std::forward<IdT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetDomainId() const { return m_domainId; }
78 template <typename DomainIdT = Aws::String>
79 void SetDomainId(DomainIdT&& value) {
80 m_domainIdHasBeenSet = true;
81 m_domainId = std::forward<DomainIdT>(value);
82 }
83 template <typename DomainIdT = Aws::String>
85 SetDomainId(std::forward<DomainIdT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
95 template <typename CreatedByT = Aws::String>
96 void SetCreatedBy(CreatedByT&& value) {
97 m_createdByHasBeenSet = true;
98 m_createdBy = std::forward<CreatedByT>(value);
99 }
100 template <typename CreatedByT = Aws::String>
102 SetCreatedBy(std::forward<CreatedByT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
112 template <typename CreatedAtT = Aws::Utils::DateTime>
113 void SetCreatedAt(CreatedAtT&& value) {
114 m_createdAtHasBeenSet = true;
115 m_createdAt = std::forward<CreatedAtT>(value);
116 }
117 template <typename CreatedAtT = Aws::Utils::DateTime>
119 SetCreatedAt(std::forward<CreatedAtT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
129 template <typename UpdatedAtT = Aws::Utils::DateTime>
130 void SetUpdatedAt(UpdatedAtT&& value) {
131 m_updatedAtHasBeenSet = true;
132 m_updatedAt = std::forward<UpdatedAtT>(value);
133 }
134 template <typename UpdatedAtT = Aws::Utils::DateTime>
136 SetUpdatedAt(std::forward<UpdatedAtT>(value));
137 return *this;
138 }
140
142
146 inline const Aws::String& GetName() const { return m_name; }
147 template <typename NameT = Aws::String>
148 void SetName(NameT&& value) {
149 m_nameHasBeenSet = true;
150 m_name = std::forward<NameT>(value);
151 }
152 template <typename NameT = Aws::String>
154 SetName(std::forward<NameT>(value));
155 return *this;
156 }
158
160
164 inline const Aws::String& GetDescription() const { return m_description; }
165 template <typename DescriptionT = Aws::String>
166 void SetDescription(DescriptionT&& value) {
167 m_descriptionHasBeenSet = true;
168 m_description = std::forward<DescriptionT>(value);
169 }
170 template <typename DescriptionT = Aws::String>
172 SetDescription(std::forward<DescriptionT>(value));
173 return *this;
174 }
176
178
181 inline const Aws::String& GetEnvironmentProfileId() const { return m_environmentProfileId; }
182 template <typename EnvironmentProfileIdT = Aws::String>
183 void SetEnvironmentProfileId(EnvironmentProfileIdT&& value) {
184 m_environmentProfileIdHasBeenSet = true;
185 m_environmentProfileId = std::forward<EnvironmentProfileIdT>(value);
186 }
187 template <typename EnvironmentProfileIdT = Aws::String>
188 UpdateEnvironmentResult& WithEnvironmentProfileId(EnvironmentProfileIdT&& value) {
189 SetEnvironmentProfileId(std::forward<EnvironmentProfileIdT>(value));
190 return *this;
191 }
193
195
199 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
200 template <typename AwsAccountIdT = Aws::String>
201 void SetAwsAccountId(AwsAccountIdT&& value) {
202 m_awsAccountIdHasBeenSet = true;
203 m_awsAccountId = std::forward<AwsAccountIdT>(value);
204 }
205 template <typename AwsAccountIdT = Aws::String>
207 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
208 return *this;
209 }
211
213
216 inline const Aws::String& GetAwsAccountRegion() const { return m_awsAccountRegion; }
217 template <typename AwsAccountRegionT = Aws::String>
218 void SetAwsAccountRegion(AwsAccountRegionT&& value) {
219 m_awsAccountRegionHasBeenSet = true;
220 m_awsAccountRegion = std::forward<AwsAccountRegionT>(value);
221 }
222 template <typename AwsAccountRegionT = Aws::String>
223 UpdateEnvironmentResult& WithAwsAccountRegion(AwsAccountRegionT&& value) {
224 SetAwsAccountRegion(std::forward<AwsAccountRegionT>(value));
225 return *this;
226 }
228
230
233 inline const Aws::String& GetProvider() const { return m_provider; }
234 template <typename ProviderT = Aws::String>
235 void SetProvider(ProviderT&& value) {
236 m_providerHasBeenSet = true;
237 m_provider = std::forward<ProviderT>(value);
238 }
239 template <typename ProviderT = Aws::String>
241 SetProvider(std::forward<ProviderT>(value));
242 return *this;
243 }
245
247
251 inline const Aws::Vector<Resource>& GetProvisionedResources() const { return m_provisionedResources; }
252 template <typename ProvisionedResourcesT = Aws::Vector<Resource>>
253 void SetProvisionedResources(ProvisionedResourcesT&& value) {
254 m_provisionedResourcesHasBeenSet = true;
255 m_provisionedResources = std::forward<ProvisionedResourcesT>(value);
256 }
257 template <typename ProvisionedResourcesT = Aws::Vector<Resource>>
258 UpdateEnvironmentResult& WithProvisionedResources(ProvisionedResourcesT&& value) {
259 SetProvisionedResources(std::forward<ProvisionedResourcesT>(value));
260 return *this;
261 }
262 template <typename ProvisionedResourcesT = Resource>
263 UpdateEnvironmentResult& AddProvisionedResources(ProvisionedResourcesT&& value) {
264 m_provisionedResourcesHasBeenSet = true;
265 m_provisionedResources.emplace_back(std::forward<ProvisionedResourcesT>(value));
266 return *this;
267 }
269
271
275 inline EnvironmentStatus GetStatus() const { return m_status; }
276 inline void SetStatus(EnvironmentStatus value) {
277 m_statusHasBeenSet = true;
278 m_status = value;
279 }
281 SetStatus(value);
282 return *this;
283 }
285
287
291 inline const Aws::Vector<ConfigurableEnvironmentAction>& GetEnvironmentActions() const { return m_environmentActions; }
292 template <typename EnvironmentActionsT = Aws::Vector<ConfigurableEnvironmentAction>>
293 void SetEnvironmentActions(EnvironmentActionsT&& value) {
294 m_environmentActionsHasBeenSet = true;
295 m_environmentActions = std::forward<EnvironmentActionsT>(value);
296 }
297 template <typename EnvironmentActionsT = Aws::Vector<ConfigurableEnvironmentAction>>
298 UpdateEnvironmentResult& WithEnvironmentActions(EnvironmentActionsT&& value) {
299 SetEnvironmentActions(std::forward<EnvironmentActionsT>(value));
300 return *this;
301 }
302 template <typename EnvironmentActionsT = ConfigurableEnvironmentAction>
303 UpdateEnvironmentResult& AddEnvironmentActions(EnvironmentActionsT&& value) {
304 m_environmentActionsHasBeenSet = true;
305 m_environmentActions.emplace_back(std::forward<EnvironmentActionsT>(value));
306 return *this;
307 }
309
311
315 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
316 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
317 void SetGlossaryTerms(GlossaryTermsT&& value) {
318 m_glossaryTermsHasBeenSet = true;
319 m_glossaryTerms = std::forward<GlossaryTermsT>(value);
320 }
321 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
323 SetGlossaryTerms(std::forward<GlossaryTermsT>(value));
324 return *this;
325 }
326 template <typename GlossaryTermsT = Aws::String>
327 UpdateEnvironmentResult& AddGlossaryTerms(GlossaryTermsT&& value) {
328 m_glossaryTermsHasBeenSet = true;
329 m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value));
330 return *this;
331 }
333
335
339 inline const Aws::Vector<CustomParameter>& GetUserParameters() const { return m_userParameters; }
340 template <typename UserParametersT = Aws::Vector<CustomParameter>>
341 void SetUserParameters(UserParametersT&& value) {
342 m_userParametersHasBeenSet = true;
343 m_userParameters = std::forward<UserParametersT>(value);
344 }
345 template <typename UserParametersT = Aws::Vector<CustomParameter>>
346 UpdateEnvironmentResult& WithUserParameters(UserParametersT&& value) {
347 SetUserParameters(std::forward<UserParametersT>(value));
348 return *this;
349 }
350 template <typename UserParametersT = CustomParameter>
351 UpdateEnvironmentResult& AddUserParameters(UserParametersT&& value) {
352 m_userParametersHasBeenSet = true;
353 m_userParameters.emplace_back(std::forward<UserParametersT>(value));
354 return *this;
355 }
357
359
362 inline const Deployment& GetLastDeployment() const { return m_lastDeployment; }
363 template <typename LastDeploymentT = Deployment>
364 void SetLastDeployment(LastDeploymentT&& value) {
365 m_lastDeploymentHasBeenSet = true;
366 m_lastDeployment = std::forward<LastDeploymentT>(value);
367 }
368 template <typename LastDeploymentT = Deployment>
369 UpdateEnvironmentResult& WithLastDeployment(LastDeploymentT&& value) {
370 SetLastDeployment(std::forward<LastDeploymentT>(value));
371 return *this;
372 }
374
376
380 inline const ProvisioningProperties& GetProvisioningProperties() const { return m_provisioningProperties; }
381 template <typename ProvisioningPropertiesT = ProvisioningProperties>
382 void SetProvisioningProperties(ProvisioningPropertiesT&& value) {
383 m_provisioningPropertiesHasBeenSet = true;
384 m_provisioningProperties = std::forward<ProvisioningPropertiesT>(value);
385 }
386 template <typename ProvisioningPropertiesT = ProvisioningProperties>
387 UpdateEnvironmentResult& WithProvisioningProperties(ProvisioningPropertiesT&& value) {
388 SetProvisioningProperties(std::forward<ProvisioningPropertiesT>(value));
389 return *this;
390 }
392
394
398 inline const DeploymentProperties& GetDeploymentProperties() const { return m_deploymentProperties; }
399 template <typename DeploymentPropertiesT = DeploymentProperties>
400 void SetDeploymentProperties(DeploymentPropertiesT&& value) {
401 m_deploymentPropertiesHasBeenSet = true;
402 m_deploymentProperties = std::forward<DeploymentPropertiesT>(value);
403 }
404 template <typename DeploymentPropertiesT = DeploymentProperties>
405 UpdateEnvironmentResult& WithDeploymentProperties(DeploymentPropertiesT&& value) {
406 SetDeploymentProperties(std::forward<DeploymentPropertiesT>(value));
407 return *this;
408 }
410
412
415 inline const Aws::String& GetEnvironmentBlueprintId() const { return m_environmentBlueprintId; }
416 template <typename EnvironmentBlueprintIdT = Aws::String>
417 void SetEnvironmentBlueprintId(EnvironmentBlueprintIdT&& value) {
418 m_environmentBlueprintIdHasBeenSet = true;
419 m_environmentBlueprintId = std::forward<EnvironmentBlueprintIdT>(value);
420 }
421 template <typename EnvironmentBlueprintIdT = Aws::String>
422 UpdateEnvironmentResult& WithEnvironmentBlueprintId(EnvironmentBlueprintIdT&& value) {
423 SetEnvironmentBlueprintId(std::forward<EnvironmentBlueprintIdT>(value));
424 return *this;
425 }
427
429
432 inline const Aws::String& GetEnvironmentConfigurationId() const { return m_environmentConfigurationId; }
433 template <typename EnvironmentConfigurationIdT = Aws::String>
434 void SetEnvironmentConfigurationId(EnvironmentConfigurationIdT&& value) {
435 m_environmentConfigurationIdHasBeenSet = true;
436 m_environmentConfigurationId = std::forward<EnvironmentConfigurationIdT>(value);
437 }
438 template <typename EnvironmentConfigurationIdT = Aws::String>
439 UpdateEnvironmentResult& WithEnvironmentConfigurationId(EnvironmentConfigurationIdT&& value) {
440 SetEnvironmentConfigurationId(std::forward<EnvironmentConfigurationIdT>(value));
441 return *this;
442 }
444
446
449 inline const Aws::String& GetEnvironmentConfigurationName() const { return m_environmentConfigurationName; }
450 template <typename EnvironmentConfigurationNameT = Aws::String>
451 void SetEnvironmentConfigurationName(EnvironmentConfigurationNameT&& value) {
452 m_environmentConfigurationNameHasBeenSet = true;
453 m_environmentConfigurationName = std::forward<EnvironmentConfigurationNameT>(value);
454 }
455 template <typename EnvironmentConfigurationNameT = Aws::String>
456 UpdateEnvironmentResult& WithEnvironmentConfigurationName(EnvironmentConfigurationNameT&& value) {
457 SetEnvironmentConfigurationName(std::forward<EnvironmentConfigurationNameT>(value));
458 return *this;
459 }
461
463
464 inline const Aws::String& GetRequestId() const { return m_requestId; }
465 template <typename RequestIdT = Aws::String>
466 void SetRequestId(RequestIdT&& value) {
467 m_requestIdHasBeenSet = true;
468 m_requestId = std::forward<RequestIdT>(value);
469 }
470 template <typename RequestIdT = Aws::String>
472 SetRequestId(std::forward<RequestIdT>(value));
473 return *this;
474 }
476 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
477
478 private:
479 Aws::String m_projectId;
480
481 Aws::String m_id;
482
483 Aws::String m_domainId;
484
485 Aws::String m_createdBy;
486
487 Aws::Utils::DateTime m_createdAt{};
488
489 Aws::Utils::DateTime m_updatedAt{};
490
491 Aws::String m_name;
492
493 Aws::String m_description;
494
495 Aws::String m_environmentProfileId;
496
497 Aws::String m_awsAccountId;
498
499 Aws::String m_awsAccountRegion;
500
501 Aws::String m_provider;
502
503 Aws::Vector<Resource> m_provisionedResources;
504
506
508
509 Aws::Vector<Aws::String> m_glossaryTerms;
510
511 Aws::Vector<CustomParameter> m_userParameters;
512
513 Deployment m_lastDeployment;
514
515 ProvisioningProperties m_provisioningProperties;
516
517 DeploymentProperties m_deploymentProperties;
518
519 Aws::String m_environmentBlueprintId;
520
521 Aws::String m_environmentConfigurationId;
522
523 Aws::String m_environmentConfigurationName;
524
525 Aws::String m_requestId;
526 Aws::Http::HttpResponseCode m_HttpResponseCode;
527 bool m_projectIdHasBeenSet = false;
528 bool m_idHasBeenSet = false;
529 bool m_domainIdHasBeenSet = false;
530 bool m_createdByHasBeenSet = false;
531 bool m_createdAtHasBeenSet = false;
532 bool m_updatedAtHasBeenSet = false;
533 bool m_nameHasBeenSet = false;
534 bool m_descriptionHasBeenSet = false;
535 bool m_environmentProfileIdHasBeenSet = false;
536 bool m_awsAccountIdHasBeenSet = false;
537 bool m_awsAccountRegionHasBeenSet = false;
538 bool m_providerHasBeenSet = false;
539 bool m_provisionedResourcesHasBeenSet = false;
540 bool m_statusHasBeenSet = false;
541 bool m_environmentActionsHasBeenSet = false;
542 bool m_glossaryTermsHasBeenSet = false;
543 bool m_userParametersHasBeenSet = false;
544 bool m_lastDeploymentHasBeenSet = false;
545 bool m_provisioningPropertiesHasBeenSet = false;
546 bool m_deploymentPropertiesHasBeenSet = false;
547 bool m_environmentBlueprintIdHasBeenSet = false;
548 bool m_environmentConfigurationIdHasBeenSet = false;
549 bool m_environmentConfigurationNameHasBeenSet = false;
550 bool m_requestIdHasBeenSet = false;
551};
552
553} // namespace Model
554} // namespace DataZone
555} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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
UpdateEnvironmentResult & WithEnvironmentConfigurationName(EnvironmentConfigurationNameT &&value)
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 SetEnvironmentConfigurationName(EnvironmentConfigurationNameT &&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