AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
CreateEnvironmentResult.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 CreateEnvironmentResult() = default;
37
39
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
78 inline const Aws::String& GetDomainId() const { return m_domainId; }
79 template <typename DomainIdT = Aws::String>
80 void SetDomainId(DomainIdT&& value) {
81 m_domainIdHasBeenSet = true;
82 m_domainId = std::forward<DomainIdT>(value);
83 }
84 template <typename DomainIdT = Aws::String>
86 SetDomainId(std::forward<DomainIdT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
96 template <typename CreatedByT = Aws::String>
97 void SetCreatedBy(CreatedByT&& value) {
98 m_createdByHasBeenSet = true;
99 m_createdBy = std::forward<CreatedByT>(value);
100 }
101 template <typename CreatedByT = Aws::String>
103 SetCreatedBy(std::forward<CreatedByT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
113 template <typename CreatedAtT = Aws::Utils::DateTime>
114 void SetCreatedAt(CreatedAtT&& value) {
115 m_createdAtHasBeenSet = true;
116 m_createdAt = std::forward<CreatedAtT>(value);
117 }
118 template <typename CreatedAtT = Aws::Utils::DateTime>
120 SetCreatedAt(std::forward<CreatedAtT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
130 template <typename UpdatedAtT = Aws::Utils::DateTime>
131 void SetUpdatedAt(UpdatedAtT&& value) {
132 m_updatedAtHasBeenSet = true;
133 m_updatedAt = std::forward<UpdatedAtT>(value);
134 }
135 template <typename UpdatedAtT = Aws::Utils::DateTime>
137 SetUpdatedAt(std::forward<UpdatedAtT>(value));
138 return *this;
139 }
141
143
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
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
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 CreateEnvironmentResult& 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
217 inline const Aws::String& GetAwsAccountRegion() const { return m_awsAccountRegion; }
218 template <typename AwsAccountRegionT = Aws::String>
219 void SetAwsAccountRegion(AwsAccountRegionT&& value) {
220 m_awsAccountRegionHasBeenSet = true;
221 m_awsAccountRegion = std::forward<AwsAccountRegionT>(value);
222 }
223 template <typename AwsAccountRegionT = Aws::String>
224 CreateEnvironmentResult& WithAwsAccountRegion(AwsAccountRegionT&& value) {
225 SetAwsAccountRegion(std::forward<AwsAccountRegionT>(value));
226 return *this;
227 }
229
231
234 inline const Aws::String& GetProvider() const { return m_provider; }
235 template <typename ProviderT = Aws::String>
236 void SetProvider(ProviderT&& value) {
237 m_providerHasBeenSet = true;
238 m_provider = std::forward<ProviderT>(value);
239 }
240 template <typename ProviderT = Aws::String>
242 SetProvider(std::forward<ProviderT>(value));
243 return *this;
244 }
246
248
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 CreateEnvironmentResult& WithProvisionedResources(ProvisionedResourcesT&& value) {
259 SetProvisionedResources(std::forward<ProvisionedResourcesT>(value));
260 return *this;
261 }
262 template <typename ProvisionedResourcesT = Resource>
263 CreateEnvironmentResult& AddProvisionedResources(ProvisionedResourcesT&& value) {
264 m_provisionedResourcesHasBeenSet = true;
265 m_provisionedResources.emplace_back(std::forward<ProvisionedResourcesT>(value));
266 return *this;
267 }
269
271
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
289 inline const Aws::Vector<ConfigurableEnvironmentAction>& GetEnvironmentActions() const { return m_environmentActions; }
290 template <typename EnvironmentActionsT = Aws::Vector<ConfigurableEnvironmentAction>>
291 void SetEnvironmentActions(EnvironmentActionsT&& value) {
292 m_environmentActionsHasBeenSet = true;
293 m_environmentActions = std::forward<EnvironmentActionsT>(value);
294 }
295 template <typename EnvironmentActionsT = Aws::Vector<ConfigurableEnvironmentAction>>
296 CreateEnvironmentResult& WithEnvironmentActions(EnvironmentActionsT&& value) {
297 SetEnvironmentActions(std::forward<EnvironmentActionsT>(value));
298 return *this;
299 }
300 template <typename EnvironmentActionsT = ConfigurableEnvironmentAction>
301 CreateEnvironmentResult& AddEnvironmentActions(EnvironmentActionsT&& value) {
302 m_environmentActionsHasBeenSet = true;
303 m_environmentActions.emplace_back(std::forward<EnvironmentActionsT>(value));
304 return *this;
305 }
307
309
312 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
313 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
314 void SetGlossaryTerms(GlossaryTermsT&& value) {
315 m_glossaryTermsHasBeenSet = true;
316 m_glossaryTerms = std::forward<GlossaryTermsT>(value);
317 }
318 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
320 SetGlossaryTerms(std::forward<GlossaryTermsT>(value));
321 return *this;
322 }
323 template <typename GlossaryTermsT = Aws::String>
324 CreateEnvironmentResult& AddGlossaryTerms(GlossaryTermsT&& value) {
325 m_glossaryTermsHasBeenSet = true;
326 m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value));
327 return *this;
328 }
330
332
335 inline const Aws::Vector<CustomParameter>& GetUserParameters() const { return m_userParameters; }
336 template <typename UserParametersT = Aws::Vector<CustomParameter>>
337 void SetUserParameters(UserParametersT&& value) {
338 m_userParametersHasBeenSet = true;
339 m_userParameters = std::forward<UserParametersT>(value);
340 }
341 template <typename UserParametersT = Aws::Vector<CustomParameter>>
342 CreateEnvironmentResult& WithUserParameters(UserParametersT&& value) {
343 SetUserParameters(std::forward<UserParametersT>(value));
344 return *this;
345 }
346 template <typename UserParametersT = CustomParameter>
347 CreateEnvironmentResult& AddUserParameters(UserParametersT&& value) {
348 m_userParametersHasBeenSet = true;
349 m_userParameters.emplace_back(std::forward<UserParametersT>(value));
350 return *this;
351 }
353
355
358 inline const Deployment& GetLastDeployment() const { return m_lastDeployment; }
359 template <typename LastDeploymentT = Deployment>
360 void SetLastDeployment(LastDeploymentT&& value) {
361 m_lastDeploymentHasBeenSet = true;
362 m_lastDeployment = std::forward<LastDeploymentT>(value);
363 }
364 template <typename LastDeploymentT = Deployment>
365 CreateEnvironmentResult& WithLastDeployment(LastDeploymentT&& value) {
366 SetLastDeployment(std::forward<LastDeploymentT>(value));
367 return *this;
368 }
370
372
375 inline const ProvisioningProperties& GetProvisioningProperties() const { return m_provisioningProperties; }
376 template <typename ProvisioningPropertiesT = ProvisioningProperties>
377 void SetProvisioningProperties(ProvisioningPropertiesT&& value) {
378 m_provisioningPropertiesHasBeenSet = true;
379 m_provisioningProperties = std::forward<ProvisioningPropertiesT>(value);
380 }
381 template <typename ProvisioningPropertiesT = ProvisioningProperties>
382 CreateEnvironmentResult& WithProvisioningProperties(ProvisioningPropertiesT&& value) {
383 SetProvisioningProperties(std::forward<ProvisioningPropertiesT>(value));
384 return *this;
385 }
387
389
392 inline const DeploymentProperties& GetDeploymentProperties() const { return m_deploymentProperties; }
393 template <typename DeploymentPropertiesT = DeploymentProperties>
394 void SetDeploymentProperties(DeploymentPropertiesT&& value) {
395 m_deploymentPropertiesHasBeenSet = true;
396 m_deploymentProperties = std::forward<DeploymentPropertiesT>(value);
397 }
398 template <typename DeploymentPropertiesT = DeploymentProperties>
399 CreateEnvironmentResult& WithDeploymentProperties(DeploymentPropertiesT&& value) {
400 SetDeploymentProperties(std::forward<DeploymentPropertiesT>(value));
401 return *this;
402 }
404
406
410 inline const Aws::String& GetEnvironmentBlueprintId() const { return m_environmentBlueprintId; }
411 template <typename EnvironmentBlueprintIdT = Aws::String>
412 void SetEnvironmentBlueprintId(EnvironmentBlueprintIdT&& value) {
413 m_environmentBlueprintIdHasBeenSet = true;
414 m_environmentBlueprintId = std::forward<EnvironmentBlueprintIdT>(value);
415 }
416 template <typename EnvironmentBlueprintIdT = Aws::String>
417 CreateEnvironmentResult& WithEnvironmentBlueprintId(EnvironmentBlueprintIdT&& value) {
418 SetEnvironmentBlueprintId(std::forward<EnvironmentBlueprintIdT>(value));
419 return *this;
420 }
422
424
427 inline const Aws::String& GetEnvironmentConfigurationId() const { return m_environmentConfigurationId; }
428 template <typename EnvironmentConfigurationIdT = Aws::String>
429 void SetEnvironmentConfigurationId(EnvironmentConfigurationIdT&& value) {
430 m_environmentConfigurationIdHasBeenSet = true;
431 m_environmentConfigurationId = std::forward<EnvironmentConfigurationIdT>(value);
432 }
433 template <typename EnvironmentConfigurationIdT = Aws::String>
434 CreateEnvironmentResult& WithEnvironmentConfigurationId(EnvironmentConfigurationIdT&& value) {
435 SetEnvironmentConfigurationId(std::forward<EnvironmentConfigurationIdT>(value));
436 return *this;
437 }
439
441
442 inline const Aws::String& GetRequestId() const { return m_requestId; }
443 template <typename RequestIdT = Aws::String>
444 void SetRequestId(RequestIdT&& value) {
445 m_requestIdHasBeenSet = true;
446 m_requestId = std::forward<RequestIdT>(value);
447 }
448 template <typename RequestIdT = Aws::String>
450 SetRequestId(std::forward<RequestIdT>(value));
451 return *this;
452 }
454 private:
455 Aws::String m_projectId;
456
457 Aws::String m_id;
458
459 Aws::String m_domainId;
460
461 Aws::String m_createdBy;
462
463 Aws::Utils::DateTime m_createdAt{};
464
465 Aws::Utils::DateTime m_updatedAt{};
466
467 Aws::String m_name;
468
469 Aws::String m_description;
470
471 Aws::String m_environmentProfileId;
472
473 Aws::String m_awsAccountId;
474
475 Aws::String m_awsAccountRegion;
476
477 Aws::String m_provider;
478
479 Aws::Vector<Resource> m_provisionedResources;
480
482
484
485 Aws::Vector<Aws::String> m_glossaryTerms;
486
487 Aws::Vector<CustomParameter> m_userParameters;
488
489 Deployment m_lastDeployment;
490
491 ProvisioningProperties m_provisioningProperties;
492
493 DeploymentProperties m_deploymentProperties;
494
495 Aws::String m_environmentBlueprintId;
496
497 Aws::String m_environmentConfigurationId;
498
499 Aws::String m_requestId;
500 bool m_projectIdHasBeenSet = false;
501 bool m_idHasBeenSet = false;
502 bool m_domainIdHasBeenSet = false;
503 bool m_createdByHasBeenSet = false;
504 bool m_createdAtHasBeenSet = false;
505 bool m_updatedAtHasBeenSet = false;
506 bool m_nameHasBeenSet = false;
507 bool m_descriptionHasBeenSet = false;
508 bool m_environmentProfileIdHasBeenSet = false;
509 bool m_awsAccountIdHasBeenSet = false;
510 bool m_awsAccountRegionHasBeenSet = false;
511 bool m_providerHasBeenSet = false;
512 bool m_provisionedResourcesHasBeenSet = false;
513 bool m_statusHasBeenSet = false;
514 bool m_environmentActionsHasBeenSet = false;
515 bool m_glossaryTermsHasBeenSet = false;
516 bool m_userParametersHasBeenSet = false;
517 bool m_lastDeploymentHasBeenSet = false;
518 bool m_provisioningPropertiesHasBeenSet = false;
519 bool m_deploymentPropertiesHasBeenSet = false;
520 bool m_environmentBlueprintIdHasBeenSet = false;
521 bool m_environmentConfigurationIdHasBeenSet = false;
522 bool m_requestIdHasBeenSet = false;
523};
524
525} // namespace Model
526} // namespace DataZone
527} // 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)
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)
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