AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetEnvironmentResult.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/datazone/model/DeploymentProperties.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/datazone/model/Deployment.h>
13#include <aws/datazone/model/ProvisioningProperties.h>
14#include <aws/datazone/model/EnvironmentStatus.h>
15#include <aws/datazone/model/ConfigurableEnvironmentAction.h>
16#include <aws/datazone/model/Resource.h>
17#include <aws/datazone/model/CustomParameter.h>
18#include <utility>
19
20namespace Aws
21{
22template<typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils
26{
27namespace Json
28{
29 class JsonValue;
30} // namespace Json
31} // namespace Utils
32namespace DataZone
33{
34namespace Model
35{
37 {
38 public:
39 AWS_DATAZONE_API GetEnvironmentResult() = default;
42
43
45
48 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
49 template<typename AwsAccountIdT = Aws::String>
50 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
51 template<typename AwsAccountIdT = Aws::String>
52 GetEnvironmentResult& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetAwsAccountRegion() const { return m_awsAccountRegion; }
60 template<typename AwsAccountRegionT = Aws::String>
61 void SetAwsAccountRegion(AwsAccountRegionT&& value) { m_awsAccountRegionHasBeenSet = true; m_awsAccountRegion = std::forward<AwsAccountRegionT>(value); }
62 template<typename AwsAccountRegionT = Aws::String>
63 GetEnvironmentResult& WithAwsAccountRegion(AwsAccountRegionT&& value) { SetAwsAccountRegion(std::forward<AwsAccountRegionT>(value)); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
71 template<typename CreatedAtT = Aws::Utils::DateTime>
72 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
73 template<typename CreatedAtT = Aws::Utils::DateTime>
74 GetEnvironmentResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
76
78
81 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
82 template<typename CreatedByT = Aws::String>
83 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
84 template<typename CreatedByT = Aws::String>
85 GetEnvironmentResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
87
89
92 inline const DeploymentProperties& GetDeploymentProperties() const { return m_deploymentProperties; }
93 template<typename DeploymentPropertiesT = DeploymentProperties>
94 void SetDeploymentProperties(DeploymentPropertiesT&& value) { m_deploymentPropertiesHasBeenSet = true; m_deploymentProperties = std::forward<DeploymentPropertiesT>(value); }
95 template<typename DeploymentPropertiesT = DeploymentProperties>
96 GetEnvironmentResult& WithDeploymentProperties(DeploymentPropertiesT&& value) { SetDeploymentProperties(std::forward<DeploymentPropertiesT>(value)); return *this;}
98
100
103 inline const Aws::String& GetDescription() const { return m_description; }
104 template<typename DescriptionT = Aws::String>
105 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
106 template<typename DescriptionT = Aws::String>
107 GetEnvironmentResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
109
111
114 inline const Aws::String& GetDomainId() const { return m_domainId; }
115 template<typename DomainIdT = Aws::String>
116 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
117 template<typename DomainIdT = Aws::String>
118 GetEnvironmentResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
120
122
125 inline const Aws::Vector<ConfigurableEnvironmentAction>& GetEnvironmentActions() const { return m_environmentActions; }
126 template<typename EnvironmentActionsT = Aws::Vector<ConfigurableEnvironmentAction>>
127 void SetEnvironmentActions(EnvironmentActionsT&& value) { m_environmentActionsHasBeenSet = true; m_environmentActions = std::forward<EnvironmentActionsT>(value); }
128 template<typename EnvironmentActionsT = Aws::Vector<ConfigurableEnvironmentAction>>
129 GetEnvironmentResult& WithEnvironmentActions(EnvironmentActionsT&& value) { SetEnvironmentActions(std::forward<EnvironmentActionsT>(value)); return *this;}
130 template<typename EnvironmentActionsT = ConfigurableEnvironmentAction>
131 GetEnvironmentResult& AddEnvironmentActions(EnvironmentActionsT&& value) { m_environmentActionsHasBeenSet = true; m_environmentActions.emplace_back(std::forward<EnvironmentActionsT>(value)); return *this; }
133
135
138 inline const Aws::String& GetEnvironmentBlueprintId() const { return m_environmentBlueprintId; }
139 template<typename EnvironmentBlueprintIdT = Aws::String>
140 void SetEnvironmentBlueprintId(EnvironmentBlueprintIdT&& value) { m_environmentBlueprintIdHasBeenSet = true; m_environmentBlueprintId = std::forward<EnvironmentBlueprintIdT>(value); }
141 template<typename EnvironmentBlueprintIdT = Aws::String>
142 GetEnvironmentResult& WithEnvironmentBlueprintId(EnvironmentBlueprintIdT&& value) { SetEnvironmentBlueprintId(std::forward<EnvironmentBlueprintIdT>(value)); return *this;}
144
146
149 inline const Aws::String& GetEnvironmentConfigurationId() const { return m_environmentConfigurationId; }
150 template<typename EnvironmentConfigurationIdT = Aws::String>
151 void SetEnvironmentConfigurationId(EnvironmentConfigurationIdT&& value) { m_environmentConfigurationIdHasBeenSet = true; m_environmentConfigurationId = std::forward<EnvironmentConfigurationIdT>(value); }
152 template<typename EnvironmentConfigurationIdT = Aws::String>
153 GetEnvironmentResult& WithEnvironmentConfigurationId(EnvironmentConfigurationIdT&& value) { SetEnvironmentConfigurationId(std::forward<EnvironmentConfigurationIdT>(value)); return *this;}
155
157
160 inline const Aws::String& GetEnvironmentProfileId() const { return m_environmentProfileId; }
161 template<typename EnvironmentProfileIdT = Aws::String>
162 void SetEnvironmentProfileId(EnvironmentProfileIdT&& value) { m_environmentProfileIdHasBeenSet = true; m_environmentProfileId = std::forward<EnvironmentProfileIdT>(value); }
163 template<typename EnvironmentProfileIdT = Aws::String>
164 GetEnvironmentResult& WithEnvironmentProfileId(EnvironmentProfileIdT&& value) { SetEnvironmentProfileId(std::forward<EnvironmentProfileIdT>(value)); return *this;}
166
168
171 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
172 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
173 void SetGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::forward<GlossaryTermsT>(value); }
174 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
175 GetEnvironmentResult& WithGlossaryTerms(GlossaryTermsT&& value) { SetGlossaryTerms(std::forward<GlossaryTermsT>(value)); return *this;}
176 template<typename GlossaryTermsT = Aws::String>
177 GetEnvironmentResult& AddGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value)); return *this; }
179
181
184 inline const Aws::String& GetId() const { return m_id; }
185 template<typename IdT = Aws::String>
186 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
187 template<typename IdT = Aws::String>
188 GetEnvironmentResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
190
192
195 inline const Deployment& GetLastDeployment() const { return m_lastDeployment; }
196 template<typename LastDeploymentT = Deployment>
197 void SetLastDeployment(LastDeploymentT&& value) { m_lastDeploymentHasBeenSet = true; m_lastDeployment = std::forward<LastDeploymentT>(value); }
198 template<typename LastDeploymentT = Deployment>
199 GetEnvironmentResult& WithLastDeployment(LastDeploymentT&& value) { SetLastDeployment(std::forward<LastDeploymentT>(value)); return *this;}
201
203
206 inline const Aws::String& GetName() const { return m_name; }
207 template<typename NameT = Aws::String>
208 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
209 template<typename NameT = Aws::String>
210 GetEnvironmentResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
212
214
218 inline const Aws::String& GetProjectId() const { return m_projectId; }
219 template<typename ProjectIdT = Aws::String>
220 void SetProjectId(ProjectIdT&& value) { m_projectIdHasBeenSet = true; m_projectId = std::forward<ProjectIdT>(value); }
221 template<typename ProjectIdT = Aws::String>
222 GetEnvironmentResult& WithProjectId(ProjectIdT&& value) { SetProjectId(std::forward<ProjectIdT>(value)); return *this;}
224
226
229 inline const Aws::String& GetProvider() const { return m_provider; }
230 template<typename ProviderT = Aws::String>
231 void SetProvider(ProviderT&& value) { m_providerHasBeenSet = true; m_provider = std::forward<ProviderT>(value); }
232 template<typename ProviderT = Aws::String>
233 GetEnvironmentResult& WithProvider(ProviderT&& value) { SetProvider(std::forward<ProviderT>(value)); return *this;}
235
237
240 inline const Aws::Vector<Resource>& GetProvisionedResources() const { return m_provisionedResources; }
241 template<typename ProvisionedResourcesT = Aws::Vector<Resource>>
242 void SetProvisionedResources(ProvisionedResourcesT&& value) { m_provisionedResourcesHasBeenSet = true; m_provisionedResources = std::forward<ProvisionedResourcesT>(value); }
243 template<typename ProvisionedResourcesT = Aws::Vector<Resource>>
244 GetEnvironmentResult& WithProvisionedResources(ProvisionedResourcesT&& value) { SetProvisionedResources(std::forward<ProvisionedResourcesT>(value)); return *this;}
245 template<typename ProvisionedResourcesT = Resource>
246 GetEnvironmentResult& AddProvisionedResources(ProvisionedResourcesT&& value) { m_provisionedResourcesHasBeenSet = true; m_provisionedResources.emplace_back(std::forward<ProvisionedResourcesT>(value)); return *this; }
248
250
253 inline const ProvisioningProperties& GetProvisioningProperties() const { return m_provisioningProperties; }
254 template<typename ProvisioningPropertiesT = ProvisioningProperties>
255 void SetProvisioningProperties(ProvisioningPropertiesT&& value) { m_provisioningPropertiesHasBeenSet = true; m_provisioningProperties = std::forward<ProvisioningPropertiesT>(value); }
256 template<typename ProvisioningPropertiesT = ProvisioningProperties>
257 GetEnvironmentResult& WithProvisioningProperties(ProvisioningPropertiesT&& value) { SetProvisioningProperties(std::forward<ProvisioningPropertiesT>(value)); return *this;}
259
261
264 inline EnvironmentStatus GetStatus() const { return m_status; }
265 inline void SetStatus(EnvironmentStatus value) { m_statusHasBeenSet = true; m_status = value; }
266 inline GetEnvironmentResult& WithStatus(EnvironmentStatus value) { SetStatus(value); return *this;}
268
270
273 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
274 template<typename UpdatedAtT = Aws::Utils::DateTime>
275 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
276 template<typename UpdatedAtT = Aws::Utils::DateTime>
277 GetEnvironmentResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
279
281
284 inline const Aws::Vector<CustomParameter>& GetUserParameters() const { return m_userParameters; }
285 template<typename UserParametersT = Aws::Vector<CustomParameter>>
286 void SetUserParameters(UserParametersT&& value) { m_userParametersHasBeenSet = true; m_userParameters = std::forward<UserParametersT>(value); }
287 template<typename UserParametersT = Aws::Vector<CustomParameter>>
288 GetEnvironmentResult& WithUserParameters(UserParametersT&& value) { SetUserParameters(std::forward<UserParametersT>(value)); return *this;}
289 template<typename UserParametersT = CustomParameter>
290 GetEnvironmentResult& AddUserParameters(UserParametersT&& value) { m_userParametersHasBeenSet = true; m_userParameters.emplace_back(std::forward<UserParametersT>(value)); return *this; }
292
294
295 inline const Aws::String& GetRequestId() const { return m_requestId; }
296 template<typename RequestIdT = Aws::String>
297 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
298 template<typename RequestIdT = Aws::String>
299 GetEnvironmentResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
301 private:
302
303 Aws::String m_awsAccountId;
304 bool m_awsAccountIdHasBeenSet = false;
305
306 Aws::String m_awsAccountRegion;
307 bool m_awsAccountRegionHasBeenSet = false;
308
309 Aws::Utils::DateTime m_createdAt{};
310 bool m_createdAtHasBeenSet = false;
311
312 Aws::String m_createdBy;
313 bool m_createdByHasBeenSet = false;
314
315 DeploymentProperties m_deploymentProperties;
316 bool m_deploymentPropertiesHasBeenSet = false;
317
318 Aws::String m_description;
319 bool m_descriptionHasBeenSet = false;
320
321 Aws::String m_domainId;
322 bool m_domainIdHasBeenSet = false;
323
325 bool m_environmentActionsHasBeenSet = false;
326
327 Aws::String m_environmentBlueprintId;
328 bool m_environmentBlueprintIdHasBeenSet = false;
329
330 Aws::String m_environmentConfigurationId;
331 bool m_environmentConfigurationIdHasBeenSet = false;
332
333 Aws::String m_environmentProfileId;
334 bool m_environmentProfileIdHasBeenSet = false;
335
336 Aws::Vector<Aws::String> m_glossaryTerms;
337 bool m_glossaryTermsHasBeenSet = false;
338
339 Aws::String m_id;
340 bool m_idHasBeenSet = false;
341
342 Deployment m_lastDeployment;
343 bool m_lastDeploymentHasBeenSet = false;
344
345 Aws::String m_name;
346 bool m_nameHasBeenSet = false;
347
348 Aws::String m_projectId;
349 bool m_projectIdHasBeenSet = false;
350
351 Aws::String m_provider;
352 bool m_providerHasBeenSet = false;
353
354 Aws::Vector<Resource> m_provisionedResources;
355 bool m_provisionedResourcesHasBeenSet = false;
356
357 ProvisioningProperties m_provisioningProperties;
358 bool m_provisioningPropertiesHasBeenSet = false;
359
361 bool m_statusHasBeenSet = false;
362
363 Aws::Utils::DateTime m_updatedAt{};
364 bool m_updatedAtHasBeenSet = false;
365
366 Aws::Vector<CustomParameter> m_userParameters;
367 bool m_userParametersHasBeenSet = false;
368
369 Aws::String m_requestId;
370 bool m_requestIdHasBeenSet = false;
371 };
372
373} // namespace Model
374} // namespace DataZone
375} // 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