AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GetEnvironmentResult.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 GetEnvironmentResult() = 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>
50 GetEnvironmentResult& WithProjectId(ProjectIdT&& value) {
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>
84 GetEnvironmentResult& WithDomainId(DomainIdT&& value) {
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>
101 GetEnvironmentResult& WithCreatedBy(CreatedByT&& value) {
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>
118 GetEnvironmentResult& WithCreatedAt(CreatedAtT&& value) {
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>
135 GetEnvironmentResult& WithUpdatedAt(UpdatedAtT&& value) {
136 SetUpdatedAt(std::forward<UpdatedAtT>(value));
137 return *this;
138 }
140
142
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
162 inline const Aws::String& GetDescription() const { return m_description; }
163 template <typename DescriptionT = Aws::String>
164 void SetDescription(DescriptionT&& value) {
165 m_descriptionHasBeenSet = true;
166 m_description = std::forward<DescriptionT>(value);
167 }
168 template <typename DescriptionT = Aws::String>
169 GetEnvironmentResult& WithDescription(DescriptionT&& value) {
170 SetDescription(std::forward<DescriptionT>(value));
171 return *this;
172 }
174
176
179 inline const Aws::String& GetEnvironmentProfileId() const { return m_environmentProfileId; }
180 template <typename EnvironmentProfileIdT = Aws::String>
181 void SetEnvironmentProfileId(EnvironmentProfileIdT&& value) {
182 m_environmentProfileIdHasBeenSet = true;
183 m_environmentProfileId = std::forward<EnvironmentProfileIdT>(value);
184 }
185 template <typename EnvironmentProfileIdT = Aws::String>
186 GetEnvironmentResult& WithEnvironmentProfileId(EnvironmentProfileIdT&& value) {
187 SetEnvironmentProfileId(std::forward<EnvironmentProfileIdT>(value));
188 return *this;
189 }
191
193
196 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
197 template <typename AwsAccountIdT = Aws::String>
198 void SetAwsAccountId(AwsAccountIdT&& value) {
199 m_awsAccountIdHasBeenSet = true;
200 m_awsAccountId = std::forward<AwsAccountIdT>(value);
201 }
202 template <typename AwsAccountIdT = Aws::String>
203 GetEnvironmentResult& WithAwsAccountId(AwsAccountIdT&& value) {
204 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
205 return *this;
206 }
208
210
213 inline const Aws::String& GetAwsAccountRegion() const { return m_awsAccountRegion; }
214 template <typename AwsAccountRegionT = Aws::String>
215 void SetAwsAccountRegion(AwsAccountRegionT&& value) {
216 m_awsAccountRegionHasBeenSet = true;
217 m_awsAccountRegion = std::forward<AwsAccountRegionT>(value);
218 }
219 template <typename AwsAccountRegionT = Aws::String>
220 GetEnvironmentResult& WithAwsAccountRegion(AwsAccountRegionT&& value) {
221 SetAwsAccountRegion(std::forward<AwsAccountRegionT>(value));
222 return *this;
223 }
225
227
230 inline const Aws::String& GetProvider() const { return m_provider; }
231 template <typename ProviderT = Aws::String>
232 void SetProvider(ProviderT&& value) {
233 m_providerHasBeenSet = true;
234 m_provider = std::forward<ProviderT>(value);
235 }
236 template <typename ProviderT = Aws::String>
237 GetEnvironmentResult& WithProvider(ProviderT&& value) {
238 SetProvider(std::forward<ProviderT>(value));
239 return *this;
240 }
242
244
247 inline const Aws::Vector<Resource>& GetProvisionedResources() const { return m_provisionedResources; }
248 template <typename ProvisionedResourcesT = Aws::Vector<Resource>>
249 void SetProvisionedResources(ProvisionedResourcesT&& value) {
250 m_provisionedResourcesHasBeenSet = true;
251 m_provisionedResources = std::forward<ProvisionedResourcesT>(value);
252 }
253 template <typename ProvisionedResourcesT = Aws::Vector<Resource>>
254 GetEnvironmentResult& WithProvisionedResources(ProvisionedResourcesT&& value) {
255 SetProvisionedResources(std::forward<ProvisionedResourcesT>(value));
256 return *this;
257 }
258 template <typename ProvisionedResourcesT = Resource>
259 GetEnvironmentResult& AddProvisionedResources(ProvisionedResourcesT&& value) {
260 m_provisionedResourcesHasBeenSet = true;
261 m_provisionedResources.emplace_back(std::forward<ProvisionedResourcesT>(value));
262 return *this;
263 }
265
267
270 inline EnvironmentStatus GetStatus() const { return m_status; }
271 inline void SetStatus(EnvironmentStatus value) {
272 m_statusHasBeenSet = true;
273 m_status = value;
274 }
276 SetStatus(value);
277 return *this;
278 }
280
282
285 inline const Aws::Vector<ConfigurableEnvironmentAction>& GetEnvironmentActions() const { return m_environmentActions; }
286 template <typename EnvironmentActionsT = Aws::Vector<ConfigurableEnvironmentAction>>
287 void SetEnvironmentActions(EnvironmentActionsT&& value) {
288 m_environmentActionsHasBeenSet = true;
289 m_environmentActions = std::forward<EnvironmentActionsT>(value);
290 }
291 template <typename EnvironmentActionsT = Aws::Vector<ConfigurableEnvironmentAction>>
292 GetEnvironmentResult& WithEnvironmentActions(EnvironmentActionsT&& value) {
293 SetEnvironmentActions(std::forward<EnvironmentActionsT>(value));
294 return *this;
295 }
296 template <typename EnvironmentActionsT = ConfigurableEnvironmentAction>
297 GetEnvironmentResult& AddEnvironmentActions(EnvironmentActionsT&& value) {
298 m_environmentActionsHasBeenSet = true;
299 m_environmentActions.emplace_back(std::forward<EnvironmentActionsT>(value));
300 return *this;
301 }
303
305
308 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
309 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
310 void SetGlossaryTerms(GlossaryTermsT&& value) {
311 m_glossaryTermsHasBeenSet = true;
312 m_glossaryTerms = std::forward<GlossaryTermsT>(value);
313 }
314 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
315 GetEnvironmentResult& WithGlossaryTerms(GlossaryTermsT&& value) {
316 SetGlossaryTerms(std::forward<GlossaryTermsT>(value));
317 return *this;
318 }
319 template <typename GlossaryTermsT = Aws::String>
320 GetEnvironmentResult& AddGlossaryTerms(GlossaryTermsT&& value) {
321 m_glossaryTermsHasBeenSet = true;
322 m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value));
323 return *this;
324 }
326
328
331 inline const Aws::Vector<CustomParameter>& GetUserParameters() const { return m_userParameters; }
332 template <typename UserParametersT = Aws::Vector<CustomParameter>>
333 void SetUserParameters(UserParametersT&& value) {
334 m_userParametersHasBeenSet = true;
335 m_userParameters = std::forward<UserParametersT>(value);
336 }
337 template <typename UserParametersT = Aws::Vector<CustomParameter>>
338 GetEnvironmentResult& WithUserParameters(UserParametersT&& value) {
339 SetUserParameters(std::forward<UserParametersT>(value));
340 return *this;
341 }
342 template <typename UserParametersT = CustomParameter>
343 GetEnvironmentResult& AddUserParameters(UserParametersT&& value) {
344 m_userParametersHasBeenSet = true;
345 m_userParameters.emplace_back(std::forward<UserParametersT>(value));
346 return *this;
347 }
349
351
354 inline const Deployment& GetLastDeployment() const { return m_lastDeployment; }
355 template <typename LastDeploymentT = Deployment>
356 void SetLastDeployment(LastDeploymentT&& value) {
357 m_lastDeploymentHasBeenSet = true;
358 m_lastDeployment = std::forward<LastDeploymentT>(value);
359 }
360 template <typename LastDeploymentT = Deployment>
361 GetEnvironmentResult& WithLastDeployment(LastDeploymentT&& value) {
362 SetLastDeployment(std::forward<LastDeploymentT>(value));
363 return *this;
364 }
366
368
371 inline const ProvisioningProperties& GetProvisioningProperties() const { return m_provisioningProperties; }
372 template <typename ProvisioningPropertiesT = ProvisioningProperties>
373 void SetProvisioningProperties(ProvisioningPropertiesT&& value) {
374 m_provisioningPropertiesHasBeenSet = true;
375 m_provisioningProperties = std::forward<ProvisioningPropertiesT>(value);
376 }
377 template <typename ProvisioningPropertiesT = ProvisioningProperties>
378 GetEnvironmentResult& WithProvisioningProperties(ProvisioningPropertiesT&& value) {
379 SetProvisioningProperties(std::forward<ProvisioningPropertiesT>(value));
380 return *this;
381 }
383
385
388 inline const DeploymentProperties& GetDeploymentProperties() const { return m_deploymentProperties; }
389 template <typename DeploymentPropertiesT = DeploymentProperties>
390 void SetDeploymentProperties(DeploymentPropertiesT&& value) {
391 m_deploymentPropertiesHasBeenSet = true;
392 m_deploymentProperties = std::forward<DeploymentPropertiesT>(value);
393 }
394 template <typename DeploymentPropertiesT = DeploymentProperties>
395 GetEnvironmentResult& WithDeploymentProperties(DeploymentPropertiesT&& value) {
396 SetDeploymentProperties(std::forward<DeploymentPropertiesT>(value));
397 return *this;
398 }
400
402
405 inline const Aws::String& GetEnvironmentBlueprintId() const { return m_environmentBlueprintId; }
406 template <typename EnvironmentBlueprintIdT = Aws::String>
407 void SetEnvironmentBlueprintId(EnvironmentBlueprintIdT&& value) {
408 m_environmentBlueprintIdHasBeenSet = true;
409 m_environmentBlueprintId = std::forward<EnvironmentBlueprintIdT>(value);
410 }
411 template <typename EnvironmentBlueprintIdT = Aws::String>
412 GetEnvironmentResult& WithEnvironmentBlueprintId(EnvironmentBlueprintIdT&& value) {
413 SetEnvironmentBlueprintId(std::forward<EnvironmentBlueprintIdT>(value));
414 return *this;
415 }
417
419
422 inline const Aws::String& GetEnvironmentConfigurationId() const { return m_environmentConfigurationId; }
423 template <typename EnvironmentConfigurationIdT = Aws::String>
424 void SetEnvironmentConfigurationId(EnvironmentConfigurationIdT&& value) {
425 m_environmentConfigurationIdHasBeenSet = true;
426 m_environmentConfigurationId = std::forward<EnvironmentConfigurationIdT>(value);
427 }
428 template <typename EnvironmentConfigurationIdT = Aws::String>
429 GetEnvironmentResult& WithEnvironmentConfigurationId(EnvironmentConfigurationIdT&& value) {
430 SetEnvironmentConfigurationId(std::forward<EnvironmentConfigurationIdT>(value));
431 return *this;
432 }
434
436
437 inline const Aws::String& GetRequestId() const { return m_requestId; }
438 template <typename RequestIdT = Aws::String>
439 void SetRequestId(RequestIdT&& value) {
440 m_requestIdHasBeenSet = true;
441 m_requestId = std::forward<RequestIdT>(value);
442 }
443 template <typename RequestIdT = Aws::String>
444 GetEnvironmentResult& WithRequestId(RequestIdT&& value) {
445 SetRequestId(std::forward<RequestIdT>(value));
446 return *this;
447 }
449 private:
450 Aws::String m_projectId;
451
452 Aws::String m_id;
453
454 Aws::String m_domainId;
455
456 Aws::String m_createdBy;
457
458 Aws::Utils::DateTime m_createdAt{};
459
460 Aws::Utils::DateTime m_updatedAt{};
461
462 Aws::String m_name;
463
464 Aws::String m_description;
465
466 Aws::String m_environmentProfileId;
467
468 Aws::String m_awsAccountId;
469
470 Aws::String m_awsAccountRegion;
471
472 Aws::String m_provider;
473
474 Aws::Vector<Resource> m_provisionedResources;
475
477
479
480 Aws::Vector<Aws::String> m_glossaryTerms;
481
482 Aws::Vector<CustomParameter> m_userParameters;
483
484 Deployment m_lastDeployment;
485
486 ProvisioningProperties m_provisioningProperties;
487
488 DeploymentProperties m_deploymentProperties;
489
490 Aws::String m_environmentBlueprintId;
491
492 Aws::String m_environmentConfigurationId;
493
494 Aws::String m_requestId;
495 bool m_projectIdHasBeenSet = false;
496 bool m_idHasBeenSet = false;
497 bool m_domainIdHasBeenSet = false;
498 bool m_createdByHasBeenSet = false;
499 bool m_createdAtHasBeenSet = false;
500 bool m_updatedAtHasBeenSet = false;
501 bool m_nameHasBeenSet = false;
502 bool m_descriptionHasBeenSet = false;
503 bool m_environmentProfileIdHasBeenSet = false;
504 bool m_awsAccountIdHasBeenSet = false;
505 bool m_awsAccountRegionHasBeenSet = false;
506 bool m_providerHasBeenSet = false;
507 bool m_provisionedResourcesHasBeenSet = false;
508 bool m_statusHasBeenSet = false;
509 bool m_environmentActionsHasBeenSet = false;
510 bool m_glossaryTermsHasBeenSet = false;
511 bool m_userParametersHasBeenSet = false;
512 bool m_lastDeploymentHasBeenSet = false;
513 bool m_provisioningPropertiesHasBeenSet = false;
514 bool m_deploymentPropertiesHasBeenSet = false;
515 bool m_environmentBlueprintIdHasBeenSet = false;
516 bool m_environmentConfigurationIdHasBeenSet = false;
517 bool m_requestIdHasBeenSet = false;
518};
519
520} // namespace Model
521} // namespace DataZone
522} // namespace Aws
GetEnvironmentResult & AddGlossaryTerms(GlossaryTermsT &&value)
void SetEnvironmentProfileId(EnvironmentProfileIdT &&value)
GetEnvironmentResult & WithCreatedBy(CreatedByT &&value)
GetEnvironmentResult & WithAwsAccountId(AwsAccountIdT &&value)
GetEnvironmentResult & AddUserParameters(UserParametersT &&value)
GetEnvironmentResult & WithEnvironmentBlueprintId(EnvironmentBlueprintIdT &&value)
const Aws::String & GetEnvironmentBlueprintId() const
GetEnvironmentResult & WithProvisioningProperties(ProvisioningPropertiesT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetEnvironmentResult & WithDomainId(DomainIdT &&value)
GetEnvironmentResult & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetEnvironmentConfigurationId() const
GetEnvironmentResult & WithAwsAccountRegion(AwsAccountRegionT &&value)
void SetEnvironmentBlueprintId(EnvironmentBlueprintIdT &&value)
const Aws::String & GetEnvironmentProfileId() const
GetEnvironmentResult & WithId(IdT &&value)
GetEnvironmentResult & WithProvisionedResources(ProvisionedResourcesT &&value)
GetEnvironmentResult & AddEnvironmentActions(EnvironmentActionsT &&value)
const ProvisioningProperties & GetProvisioningProperties() const
GetEnvironmentResult & WithEnvironmentConfigurationId(EnvironmentConfigurationIdT &&value)
GetEnvironmentResult & WithUserParameters(UserParametersT &&value)
const Aws::Vector< ConfigurableEnvironmentAction > & GetEnvironmentActions() const
void SetDeploymentProperties(DeploymentPropertiesT &&value)
GetEnvironmentResult & AddProvisionedResources(ProvisionedResourcesT &&value)
const Aws::Vector< CustomParameter > & GetUserParameters() const
void SetEnvironmentActions(EnvironmentActionsT &&value)
GetEnvironmentResult & WithCreatedAt(CreatedAtT &&value)
GetEnvironmentResult & WithDescription(DescriptionT &&value)
void SetEnvironmentConfigurationId(EnvironmentConfigurationIdT &&value)
const Aws::Vector< Resource > & GetProvisionedResources() const
const DeploymentProperties & GetDeploymentProperties() const
void SetLastDeployment(LastDeploymentT &&value)
GetEnvironmentResult & WithProjectId(ProjectIdT &&value)
GetEnvironmentResult & WithGlossaryTerms(GlossaryTermsT &&value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetAwsAccountRegion(AwsAccountRegionT &&value)
GetEnvironmentResult & WithRequestId(RequestIdT &&value)
AWS_DATAZONE_API GetEnvironmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetProvisioningProperties(ProvisioningPropertiesT &&value)
GetEnvironmentResult & WithLastDeployment(LastDeploymentT &&value)
GetEnvironmentResult & WithStatus(EnvironmentStatus value)
void SetUserParameters(UserParametersT &&value)
GetEnvironmentResult & WithProvider(ProviderT &&value)
GetEnvironmentResult & WithEnvironmentProfileId(EnvironmentProfileIdT &&value)
AWS_DATAZONE_API GetEnvironmentResult()=default
GetEnvironmentResult & WithDeploymentProperties(DeploymentPropertiesT &&value)
GetEnvironmentResult & WithName(NameT &&value)
GetEnvironmentResult & WithEnvironmentActions(EnvironmentActionsT &&value)
AWS_DATAZONE_API GetEnvironmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetProvisionedResources(ProvisionedResourcesT &&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