AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
CreateEnvironmentResult.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 CreateEnvironmentResult() = default;
38
40
44 inline const Aws::String& GetProjectId() const { return m_projectId; }
45 template <typename ProjectIdT = Aws::String>
46 void SetProjectId(ProjectIdT&& value) {
47 m_projectIdHasBeenSet = true;
48 m_projectId = std::forward<ProjectIdT>(value);
49 }
50 template <typename ProjectIdT = Aws::String>
52 SetProjectId(std::forward<ProjectIdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetId() const { return m_id; }
62 template <typename IdT = Aws::String>
63 void SetId(IdT&& value) {
64 m_idHasBeenSet = true;
65 m_id = std::forward<IdT>(value);
66 }
67 template <typename IdT = Aws::String>
69 SetId(std::forward<IdT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetDomainId() const { return m_domainId; }
80 template <typename DomainIdT = Aws::String>
81 void SetDomainId(DomainIdT&& value) {
82 m_domainIdHasBeenSet = true;
83 m_domainId = std::forward<DomainIdT>(value);
84 }
85 template <typename DomainIdT = Aws::String>
87 SetDomainId(std::forward<DomainIdT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
97 template <typename CreatedByT = Aws::String>
98 void SetCreatedBy(CreatedByT&& value) {
99 m_createdByHasBeenSet = true;
100 m_createdBy = std::forward<CreatedByT>(value);
101 }
102 template <typename CreatedByT = Aws::String>
104 SetCreatedBy(std::forward<CreatedByT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
114 template <typename CreatedAtT = Aws::Utils::DateTime>
115 void SetCreatedAt(CreatedAtT&& value) {
116 m_createdAtHasBeenSet = true;
117 m_createdAt = std::forward<CreatedAtT>(value);
118 }
119 template <typename CreatedAtT = Aws::Utils::DateTime>
121 SetCreatedAt(std::forward<CreatedAtT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
131 template <typename UpdatedAtT = Aws::Utils::DateTime>
132 void SetUpdatedAt(UpdatedAtT&& value) {
133 m_updatedAtHasBeenSet = true;
134 m_updatedAt = std::forward<UpdatedAtT>(value);
135 }
136 template <typename UpdatedAtT = Aws::Utils::DateTime>
138 SetUpdatedAt(std::forward<UpdatedAtT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::String& GetName() const { return m_name; }
148 template <typename NameT = Aws::String>
149 void SetName(NameT&& value) {
150 m_nameHasBeenSet = true;
151 m_name = std::forward<NameT>(value);
152 }
153 template <typename NameT = Aws::String>
155 SetName(std::forward<NameT>(value));
156 return *this;
157 }
159
161
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
182 inline const Aws::String& GetEnvironmentProfileId() const { return m_environmentProfileId; }
183 template <typename EnvironmentProfileIdT = Aws::String>
184 void SetEnvironmentProfileId(EnvironmentProfileIdT&& value) {
185 m_environmentProfileIdHasBeenSet = true;
186 m_environmentProfileId = std::forward<EnvironmentProfileIdT>(value);
187 }
188 template <typename EnvironmentProfileIdT = Aws::String>
189 CreateEnvironmentResult& WithEnvironmentProfileId(EnvironmentProfileIdT&& value) {
190 SetEnvironmentProfileId(std::forward<EnvironmentProfileIdT>(value));
191 return *this;
192 }
194
196
200 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
201 template <typename AwsAccountIdT = Aws::String>
202 void SetAwsAccountId(AwsAccountIdT&& value) {
203 m_awsAccountIdHasBeenSet = true;
204 m_awsAccountId = std::forward<AwsAccountIdT>(value);
205 }
206 template <typename AwsAccountIdT = Aws::String>
208 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
209 return *this;
210 }
212
214
218 inline const Aws::String& GetAwsAccountRegion() const { return m_awsAccountRegion; }
219 template <typename AwsAccountRegionT = Aws::String>
220 void SetAwsAccountRegion(AwsAccountRegionT&& value) {
221 m_awsAccountRegionHasBeenSet = true;
222 m_awsAccountRegion = std::forward<AwsAccountRegionT>(value);
223 }
224 template <typename AwsAccountRegionT = Aws::String>
225 CreateEnvironmentResult& WithAwsAccountRegion(AwsAccountRegionT&& value) {
226 SetAwsAccountRegion(std::forward<AwsAccountRegionT>(value));
227 return *this;
228 }
230
232
235 inline const Aws::String& GetProvider() const { return m_provider; }
236 template <typename ProviderT = Aws::String>
237 void SetProvider(ProviderT&& value) {
238 m_providerHasBeenSet = true;
239 m_provider = std::forward<ProviderT>(value);
240 }
241 template <typename ProviderT = Aws::String>
243 SetProvider(std::forward<ProviderT>(value));
244 return *this;
245 }
247
249
252 inline const Aws::Vector<Resource>& GetProvisionedResources() const { return m_provisionedResources; }
253 template <typename ProvisionedResourcesT = Aws::Vector<Resource>>
254 void SetProvisionedResources(ProvisionedResourcesT&& value) {
255 m_provisionedResourcesHasBeenSet = true;
256 m_provisionedResources = std::forward<ProvisionedResourcesT>(value);
257 }
258 template <typename ProvisionedResourcesT = Aws::Vector<Resource>>
259 CreateEnvironmentResult& WithProvisionedResources(ProvisionedResourcesT&& value) {
260 SetProvisionedResources(std::forward<ProvisionedResourcesT>(value));
261 return *this;
262 }
263 template <typename ProvisionedResourcesT = Resource>
264 CreateEnvironmentResult& AddProvisionedResources(ProvisionedResourcesT&& value) {
265 m_provisionedResourcesHasBeenSet = true;
266 m_provisionedResources.emplace_back(std::forward<ProvisionedResourcesT>(value));
267 return *this;
268 }
270
272
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
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 CreateEnvironmentResult& WithEnvironmentActions(EnvironmentActionsT&& value) {
298 SetEnvironmentActions(std::forward<EnvironmentActionsT>(value));
299 return *this;
300 }
301 template <typename EnvironmentActionsT = ConfigurableEnvironmentAction>
302 CreateEnvironmentResult& AddEnvironmentActions(EnvironmentActionsT&& value) {
303 m_environmentActionsHasBeenSet = true;
304 m_environmentActions.emplace_back(std::forward<EnvironmentActionsT>(value));
305 return *this;
306 }
308
310
313 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
314 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
315 void SetGlossaryTerms(GlossaryTermsT&& value) {
316 m_glossaryTermsHasBeenSet = true;
317 m_glossaryTerms = std::forward<GlossaryTermsT>(value);
318 }
319 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
321 SetGlossaryTerms(std::forward<GlossaryTermsT>(value));
322 return *this;
323 }
324 template <typename GlossaryTermsT = Aws::String>
325 CreateEnvironmentResult& AddGlossaryTerms(GlossaryTermsT&& value) {
326 m_glossaryTermsHasBeenSet = true;
327 m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value));
328 return *this;
329 }
331
333
336 inline const Aws::Vector<CustomParameter>& GetUserParameters() const { return m_userParameters; }
337 template <typename UserParametersT = Aws::Vector<CustomParameter>>
338 void SetUserParameters(UserParametersT&& value) {
339 m_userParametersHasBeenSet = true;
340 m_userParameters = std::forward<UserParametersT>(value);
341 }
342 template <typename UserParametersT = Aws::Vector<CustomParameter>>
343 CreateEnvironmentResult& WithUserParameters(UserParametersT&& value) {
344 SetUserParameters(std::forward<UserParametersT>(value));
345 return *this;
346 }
347 template <typename UserParametersT = CustomParameter>
348 CreateEnvironmentResult& AddUserParameters(UserParametersT&& value) {
349 m_userParametersHasBeenSet = true;
350 m_userParameters.emplace_back(std::forward<UserParametersT>(value));
351 return *this;
352 }
354
356
359 inline const Deployment& GetLastDeployment() const { return m_lastDeployment; }
360 template <typename LastDeploymentT = Deployment>
361 void SetLastDeployment(LastDeploymentT&& value) {
362 m_lastDeploymentHasBeenSet = true;
363 m_lastDeployment = std::forward<LastDeploymentT>(value);
364 }
365 template <typename LastDeploymentT = Deployment>
366 CreateEnvironmentResult& WithLastDeployment(LastDeploymentT&& value) {
367 SetLastDeployment(std::forward<LastDeploymentT>(value));
368 return *this;
369 }
371
373
376 inline const ProvisioningProperties& GetProvisioningProperties() const { return m_provisioningProperties; }
377 template <typename ProvisioningPropertiesT = ProvisioningProperties>
378 void SetProvisioningProperties(ProvisioningPropertiesT&& value) {
379 m_provisioningPropertiesHasBeenSet = true;
380 m_provisioningProperties = std::forward<ProvisioningPropertiesT>(value);
381 }
382 template <typename ProvisioningPropertiesT = ProvisioningProperties>
383 CreateEnvironmentResult& WithProvisioningProperties(ProvisioningPropertiesT&& value) {
384 SetProvisioningProperties(std::forward<ProvisioningPropertiesT>(value));
385 return *this;
386 }
388
390
393 inline const DeploymentProperties& GetDeploymentProperties() const { return m_deploymentProperties; }
394 template <typename DeploymentPropertiesT = DeploymentProperties>
395 void SetDeploymentProperties(DeploymentPropertiesT&& value) {
396 m_deploymentPropertiesHasBeenSet = true;
397 m_deploymentProperties = std::forward<DeploymentPropertiesT>(value);
398 }
399 template <typename DeploymentPropertiesT = DeploymentProperties>
400 CreateEnvironmentResult& WithDeploymentProperties(DeploymentPropertiesT&& value) {
401 SetDeploymentProperties(std::forward<DeploymentPropertiesT>(value));
402 return *this;
403 }
405
407
411 inline const Aws::String& GetEnvironmentBlueprintId() const { return m_environmentBlueprintId; }
412 template <typename EnvironmentBlueprintIdT = Aws::String>
413 void SetEnvironmentBlueprintId(EnvironmentBlueprintIdT&& value) {
414 m_environmentBlueprintIdHasBeenSet = true;
415 m_environmentBlueprintId = std::forward<EnvironmentBlueprintIdT>(value);
416 }
417 template <typename EnvironmentBlueprintIdT = Aws::String>
418 CreateEnvironmentResult& WithEnvironmentBlueprintId(EnvironmentBlueprintIdT&& value) {
419 SetEnvironmentBlueprintId(std::forward<EnvironmentBlueprintIdT>(value));
420 return *this;
421 }
423
425
428 inline const Aws::String& GetEnvironmentConfigurationId() const { return m_environmentConfigurationId; }
429 template <typename EnvironmentConfigurationIdT = Aws::String>
430 void SetEnvironmentConfigurationId(EnvironmentConfigurationIdT&& value) {
431 m_environmentConfigurationIdHasBeenSet = true;
432 m_environmentConfigurationId = std::forward<EnvironmentConfigurationIdT>(value);
433 }
434 template <typename EnvironmentConfigurationIdT = Aws::String>
435 CreateEnvironmentResult& WithEnvironmentConfigurationId(EnvironmentConfigurationIdT&& value) {
436 SetEnvironmentConfigurationId(std::forward<EnvironmentConfigurationIdT>(value));
437 return *this;
438 }
440
442
445 inline const Aws::String& GetEnvironmentConfigurationName() const { return m_environmentConfigurationName; }
446 template <typename EnvironmentConfigurationNameT = Aws::String>
447 void SetEnvironmentConfigurationName(EnvironmentConfigurationNameT&& value) {
448 m_environmentConfigurationNameHasBeenSet = true;
449 m_environmentConfigurationName = std::forward<EnvironmentConfigurationNameT>(value);
450 }
451 template <typename EnvironmentConfigurationNameT = Aws::String>
452 CreateEnvironmentResult& WithEnvironmentConfigurationName(EnvironmentConfigurationNameT&& value) {
453 SetEnvironmentConfigurationName(std::forward<EnvironmentConfigurationNameT>(value));
454 return *this;
455 }
457
459
460 inline const Aws::String& GetRequestId() const { return m_requestId; }
461 template <typename RequestIdT = Aws::String>
462 void SetRequestId(RequestIdT&& value) {
463 m_requestIdHasBeenSet = true;
464 m_requestId = std::forward<RequestIdT>(value);
465 }
466 template <typename RequestIdT = Aws::String>
468 SetRequestId(std::forward<RequestIdT>(value));
469 return *this;
470 }
472 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
473
474 private:
475 Aws::String m_projectId;
476
477 Aws::String m_id;
478
479 Aws::String m_domainId;
480
481 Aws::String m_createdBy;
482
483 Aws::Utils::DateTime m_createdAt{};
484
485 Aws::Utils::DateTime m_updatedAt{};
486
487 Aws::String m_name;
488
489 Aws::String m_description;
490
491 Aws::String m_environmentProfileId;
492
493 Aws::String m_awsAccountId;
494
495 Aws::String m_awsAccountRegion;
496
497 Aws::String m_provider;
498
499 Aws::Vector<Resource> m_provisionedResources;
500
502
504
505 Aws::Vector<Aws::String> m_glossaryTerms;
506
507 Aws::Vector<CustomParameter> m_userParameters;
508
509 Deployment m_lastDeployment;
510
511 ProvisioningProperties m_provisioningProperties;
512
513 DeploymentProperties m_deploymentProperties;
514
515 Aws::String m_environmentBlueprintId;
516
517 Aws::String m_environmentConfigurationId;
518
519 Aws::String m_environmentConfigurationName;
520
521 Aws::String m_requestId;
522 Aws::Http::HttpResponseCode m_HttpResponseCode;
523 bool m_projectIdHasBeenSet = false;
524 bool m_idHasBeenSet = false;
525 bool m_domainIdHasBeenSet = false;
526 bool m_createdByHasBeenSet = false;
527 bool m_createdAtHasBeenSet = false;
528 bool m_updatedAtHasBeenSet = false;
529 bool m_nameHasBeenSet = false;
530 bool m_descriptionHasBeenSet = false;
531 bool m_environmentProfileIdHasBeenSet = false;
532 bool m_awsAccountIdHasBeenSet = false;
533 bool m_awsAccountRegionHasBeenSet = false;
534 bool m_providerHasBeenSet = false;
535 bool m_provisionedResourcesHasBeenSet = false;
536 bool m_statusHasBeenSet = false;
537 bool m_environmentActionsHasBeenSet = false;
538 bool m_glossaryTermsHasBeenSet = false;
539 bool m_userParametersHasBeenSet = false;
540 bool m_lastDeploymentHasBeenSet = false;
541 bool m_provisioningPropertiesHasBeenSet = false;
542 bool m_deploymentPropertiesHasBeenSet = false;
543 bool m_environmentBlueprintIdHasBeenSet = false;
544 bool m_environmentConfigurationIdHasBeenSet = false;
545 bool m_environmentConfigurationNameHasBeenSet = false;
546 bool m_requestIdHasBeenSet = false;
547};
548
549} // namespace Model
550} // namespace DataZone
551} // namespace Aws
CreateEnvironmentResult & WithEnvironmentBlueprintId(EnvironmentBlueprintIdT &&value)
CreateEnvironmentResult & WithDescription(DescriptionT &&value)
CreateEnvironmentResult & WithEnvironmentConfigurationId(EnvironmentConfigurationIdT &&value)
CreateEnvironmentResult & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
CreateEnvironmentResult & WithEnvironmentActions(EnvironmentActionsT &&value)
CreateEnvironmentResult & WithEnvironmentProfileId(EnvironmentProfileIdT &&value)
CreateEnvironmentResult & AddGlossaryTerms(GlossaryTermsT &&value)
CreateEnvironmentResult & AddEnvironmentActions(EnvironmentActionsT &&value)
CreateEnvironmentResult & WithProvisioningProperties(ProvisioningPropertiesT &&value)
CreateEnvironmentResult & WithName(NameT &&value)
CreateEnvironmentResult & WithUserParameters(UserParametersT &&value)
void SetProvisioningProperties(ProvisioningPropertiesT &&value)
CreateEnvironmentResult & WithRequestId(RequestIdT &&value)
CreateEnvironmentResult & WithUpdatedAt(UpdatedAtT &&value)
AWS_DATAZONE_API CreateEnvironmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const ProvisioningProperties & GetProvisioningProperties() const
CreateEnvironmentResult & WithDomainId(DomainIdT &&value)
void SetEnvironmentBlueprintId(EnvironmentBlueprintIdT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
CreateEnvironmentResult & WithCreatedBy(CreatedByT &&value)
CreateEnvironmentResult & WithStatus(EnvironmentStatus value)
AWS_DATAZONE_API CreateEnvironmentResult()=default
void SetProvisionedResources(ProvisionedResourcesT &&value)
AWS_DATAZONE_API CreateEnvironmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateEnvironmentResult & WithGlossaryTerms(GlossaryTermsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateEnvironmentResult & AddProvisionedResources(ProvisionedResourcesT &&value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
CreateEnvironmentResult & WithProvider(ProviderT &&value)
const Aws::Vector< CustomParameter > & GetUserParameters() const
void SetEnvironmentConfigurationId(EnvironmentConfigurationIdT &&value)
CreateEnvironmentResult & WithId(IdT &&value)
const DeploymentProperties & GetDeploymentProperties() const
CreateEnvironmentResult & WithAwsAccountRegion(AwsAccountRegionT &&value)
CreateEnvironmentResult & WithDeploymentProperties(DeploymentPropertiesT &&value)
CreateEnvironmentResult & WithAwsAccountId(AwsAccountIdT &&value)
void SetEnvironmentActions(EnvironmentActionsT &&value)
const Aws::Vector< ConfigurableEnvironmentAction > & GetEnvironmentActions() const
CreateEnvironmentResult & WithProvisionedResources(ProvisionedResourcesT &&value)
void SetEnvironmentProfileId(EnvironmentProfileIdT &&value)
CreateEnvironmentResult & WithLastDeployment(LastDeploymentT &&value)
const Aws::Vector< Resource > & GetProvisionedResources() const
CreateEnvironmentResult & AddUserParameters(UserParametersT &&value)
void SetDeploymentProperties(DeploymentPropertiesT &&value)
void SetEnvironmentConfigurationName(EnvironmentConfigurationNameT &&value)
CreateEnvironmentResult & WithEnvironmentConfigurationName(EnvironmentConfigurationNameT &&value)
CreateEnvironmentResult & WithProjectId(ProjectIdT &&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