AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateEnvironmentResult.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 CreateEnvironmentResult() = default;
42
43
45
49 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
50 template<typename AwsAccountIdT = Aws::String>
51 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
52 template<typename AwsAccountIdT = Aws::String>
53 CreateEnvironmentResult& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
55
57
61 inline const Aws::String& GetAwsAccountRegion() const { return m_awsAccountRegion; }
62 template<typename AwsAccountRegionT = Aws::String>
63 void SetAwsAccountRegion(AwsAccountRegionT&& value) { m_awsAccountRegionHasBeenSet = true; m_awsAccountRegion = std::forward<AwsAccountRegionT>(value); }
64 template<typename AwsAccountRegionT = Aws::String>
65 CreateEnvironmentResult& WithAwsAccountRegion(AwsAccountRegionT&& value) { SetAwsAccountRegion(std::forward<AwsAccountRegionT>(value)); return *this;}
67
69
72 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
73 template<typename CreatedAtT = Aws::Utils::DateTime>
74 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
75 template<typename CreatedAtT = Aws::Utils::DateTime>
76 CreateEnvironmentResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
78
80
83 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
84 template<typename CreatedByT = Aws::String>
85 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
86 template<typename CreatedByT = Aws::String>
87 CreateEnvironmentResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
89
91
94 inline const DeploymentProperties& GetDeploymentProperties() const { return m_deploymentProperties; }
95 template<typename DeploymentPropertiesT = DeploymentProperties>
96 void SetDeploymentProperties(DeploymentPropertiesT&& value) { m_deploymentPropertiesHasBeenSet = true; m_deploymentProperties = std::forward<DeploymentPropertiesT>(value); }
97 template<typename DeploymentPropertiesT = DeploymentProperties>
98 CreateEnvironmentResult& WithDeploymentProperties(DeploymentPropertiesT&& value) { SetDeploymentProperties(std::forward<DeploymentPropertiesT>(value)); return *this;}
100
102
105 inline const Aws::String& GetDescription() const { return m_description; }
106 template<typename DescriptionT = Aws::String>
107 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
108 template<typename DescriptionT = Aws::String>
109 CreateEnvironmentResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
111
113
117 inline const Aws::String& GetDomainId() const { return m_domainId; }
118 template<typename DomainIdT = Aws::String>
119 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
120 template<typename DomainIdT = Aws::String>
121 CreateEnvironmentResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
123
125
128 inline const Aws::Vector<ConfigurableEnvironmentAction>& GetEnvironmentActions() const { return m_environmentActions; }
129 template<typename EnvironmentActionsT = Aws::Vector<ConfigurableEnvironmentAction>>
130 void SetEnvironmentActions(EnvironmentActionsT&& value) { m_environmentActionsHasBeenSet = true; m_environmentActions = std::forward<EnvironmentActionsT>(value); }
131 template<typename EnvironmentActionsT = Aws::Vector<ConfigurableEnvironmentAction>>
132 CreateEnvironmentResult& WithEnvironmentActions(EnvironmentActionsT&& value) { SetEnvironmentActions(std::forward<EnvironmentActionsT>(value)); return *this;}
133 template<typename EnvironmentActionsT = ConfigurableEnvironmentAction>
134 CreateEnvironmentResult& AddEnvironmentActions(EnvironmentActionsT&& value) { m_environmentActionsHasBeenSet = true; m_environmentActions.emplace_back(std::forward<EnvironmentActionsT>(value)); return *this; }
136
138
142 inline const Aws::String& GetEnvironmentBlueprintId() const { return m_environmentBlueprintId; }
143 template<typename EnvironmentBlueprintIdT = Aws::String>
144 void SetEnvironmentBlueprintId(EnvironmentBlueprintIdT&& value) { m_environmentBlueprintIdHasBeenSet = true; m_environmentBlueprintId = std::forward<EnvironmentBlueprintIdT>(value); }
145 template<typename EnvironmentBlueprintIdT = Aws::String>
146 CreateEnvironmentResult& WithEnvironmentBlueprintId(EnvironmentBlueprintIdT&& value) { SetEnvironmentBlueprintId(std::forward<EnvironmentBlueprintIdT>(value)); return *this;}
148
150
153 inline const Aws::String& GetEnvironmentConfigurationId() const { return m_environmentConfigurationId; }
154 template<typename EnvironmentConfigurationIdT = Aws::String>
155 void SetEnvironmentConfigurationId(EnvironmentConfigurationIdT&& value) { m_environmentConfigurationIdHasBeenSet = true; m_environmentConfigurationId = std::forward<EnvironmentConfigurationIdT>(value); }
156 template<typename EnvironmentConfigurationIdT = Aws::String>
157 CreateEnvironmentResult& WithEnvironmentConfigurationId(EnvironmentConfigurationIdT&& value) { SetEnvironmentConfigurationId(std::forward<EnvironmentConfigurationIdT>(value)); return *this;}
159
161
165 inline const Aws::String& GetEnvironmentProfileId() const { return m_environmentProfileId; }
166 template<typename EnvironmentProfileIdT = Aws::String>
167 void SetEnvironmentProfileId(EnvironmentProfileIdT&& value) { m_environmentProfileIdHasBeenSet = true; m_environmentProfileId = std::forward<EnvironmentProfileIdT>(value); }
168 template<typename EnvironmentProfileIdT = Aws::String>
169 CreateEnvironmentResult& WithEnvironmentProfileId(EnvironmentProfileIdT&& value) { SetEnvironmentProfileId(std::forward<EnvironmentProfileIdT>(value)); return *this;}
171
173
176 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
177 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
178 void SetGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::forward<GlossaryTermsT>(value); }
179 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
180 CreateEnvironmentResult& WithGlossaryTerms(GlossaryTermsT&& value) { SetGlossaryTerms(std::forward<GlossaryTermsT>(value)); return *this;}
181 template<typename GlossaryTermsT = Aws::String>
182 CreateEnvironmentResult& AddGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value)); return *this; }
184
186
189 inline const Aws::String& GetId() const { return m_id; }
190 template<typename IdT = Aws::String>
191 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
192 template<typename IdT = Aws::String>
193 CreateEnvironmentResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
195
197
200 inline const Deployment& GetLastDeployment() const { return m_lastDeployment; }
201 template<typename LastDeploymentT = Deployment>
202 void SetLastDeployment(LastDeploymentT&& value) { m_lastDeploymentHasBeenSet = true; m_lastDeployment = std::forward<LastDeploymentT>(value); }
203 template<typename LastDeploymentT = Deployment>
204 CreateEnvironmentResult& WithLastDeployment(LastDeploymentT&& value) { SetLastDeployment(std::forward<LastDeploymentT>(value)); return *this;}
206
208
211 inline const Aws::String& GetName() const { return m_name; }
212 template<typename NameT = Aws::String>
213 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
214 template<typename NameT = Aws::String>
215 CreateEnvironmentResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
217
219
223 inline const Aws::String& GetProjectId() const { return m_projectId; }
224 template<typename ProjectIdT = Aws::String>
225 void SetProjectId(ProjectIdT&& value) { m_projectIdHasBeenSet = true; m_projectId = std::forward<ProjectIdT>(value); }
226 template<typename ProjectIdT = Aws::String>
227 CreateEnvironmentResult& WithProjectId(ProjectIdT&& value) { SetProjectId(std::forward<ProjectIdT>(value)); return *this;}
229
231
234 inline const Aws::String& GetProvider() const { return m_provider; }
235 template<typename ProviderT = Aws::String>
236 void SetProvider(ProviderT&& value) { m_providerHasBeenSet = true; m_provider = std::forward<ProviderT>(value); }
237 template<typename ProviderT = Aws::String>
238 CreateEnvironmentResult& WithProvider(ProviderT&& value) { SetProvider(std::forward<ProviderT>(value)); return *this;}
240
242
245 inline const Aws::Vector<Resource>& GetProvisionedResources() const { return m_provisionedResources; }
246 template<typename ProvisionedResourcesT = Aws::Vector<Resource>>
247 void SetProvisionedResources(ProvisionedResourcesT&& value) { m_provisionedResourcesHasBeenSet = true; m_provisionedResources = std::forward<ProvisionedResourcesT>(value); }
248 template<typename ProvisionedResourcesT = Aws::Vector<Resource>>
249 CreateEnvironmentResult& WithProvisionedResources(ProvisionedResourcesT&& value) { SetProvisionedResources(std::forward<ProvisionedResourcesT>(value)); return *this;}
250 template<typename ProvisionedResourcesT = Resource>
251 CreateEnvironmentResult& AddProvisionedResources(ProvisionedResourcesT&& value) { m_provisionedResourcesHasBeenSet = true; m_provisionedResources.emplace_back(std::forward<ProvisionedResourcesT>(value)); return *this; }
253
255
258 inline const ProvisioningProperties& GetProvisioningProperties() const { return m_provisioningProperties; }
259 template<typename ProvisioningPropertiesT = ProvisioningProperties>
260 void SetProvisioningProperties(ProvisioningPropertiesT&& value) { m_provisioningPropertiesHasBeenSet = true; m_provisioningProperties = std::forward<ProvisioningPropertiesT>(value); }
261 template<typename ProvisioningPropertiesT = ProvisioningProperties>
262 CreateEnvironmentResult& WithProvisioningProperties(ProvisioningPropertiesT&& value) { SetProvisioningProperties(std::forward<ProvisioningPropertiesT>(value)); return *this;}
264
266
269 inline EnvironmentStatus GetStatus() const { return m_status; }
270 inline void SetStatus(EnvironmentStatus value) { m_statusHasBeenSet = true; m_status = value; }
271 inline CreateEnvironmentResult& WithStatus(EnvironmentStatus value) { SetStatus(value); return *this;}
273
275
278 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
279 template<typename UpdatedAtT = Aws::Utils::DateTime>
280 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
281 template<typename UpdatedAtT = Aws::Utils::DateTime>
282 CreateEnvironmentResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
284
286
289 inline const Aws::Vector<CustomParameter>& GetUserParameters() const { return m_userParameters; }
290 template<typename UserParametersT = Aws::Vector<CustomParameter>>
291 void SetUserParameters(UserParametersT&& value) { m_userParametersHasBeenSet = true; m_userParameters = std::forward<UserParametersT>(value); }
292 template<typename UserParametersT = Aws::Vector<CustomParameter>>
293 CreateEnvironmentResult& WithUserParameters(UserParametersT&& value) { SetUserParameters(std::forward<UserParametersT>(value)); return *this;}
294 template<typename UserParametersT = CustomParameter>
295 CreateEnvironmentResult& AddUserParameters(UserParametersT&& value) { m_userParametersHasBeenSet = true; m_userParameters.emplace_back(std::forward<UserParametersT>(value)); return *this; }
297
299
300 inline const Aws::String& GetRequestId() const { return m_requestId; }
301 template<typename RequestIdT = Aws::String>
302 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
303 template<typename RequestIdT = Aws::String>
304 CreateEnvironmentResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
306 private:
307
308 Aws::String m_awsAccountId;
309 bool m_awsAccountIdHasBeenSet = false;
310
311 Aws::String m_awsAccountRegion;
312 bool m_awsAccountRegionHasBeenSet = false;
313
314 Aws::Utils::DateTime m_createdAt{};
315 bool m_createdAtHasBeenSet = false;
316
317 Aws::String m_createdBy;
318 bool m_createdByHasBeenSet = false;
319
320 DeploymentProperties m_deploymentProperties;
321 bool m_deploymentPropertiesHasBeenSet = false;
322
323 Aws::String m_description;
324 bool m_descriptionHasBeenSet = false;
325
326 Aws::String m_domainId;
327 bool m_domainIdHasBeenSet = false;
328
330 bool m_environmentActionsHasBeenSet = false;
331
332 Aws::String m_environmentBlueprintId;
333 bool m_environmentBlueprintIdHasBeenSet = false;
334
335 Aws::String m_environmentConfigurationId;
336 bool m_environmentConfigurationIdHasBeenSet = false;
337
338 Aws::String m_environmentProfileId;
339 bool m_environmentProfileIdHasBeenSet = false;
340
341 Aws::Vector<Aws::String> m_glossaryTerms;
342 bool m_glossaryTermsHasBeenSet = false;
343
344 Aws::String m_id;
345 bool m_idHasBeenSet = false;
346
347 Deployment m_lastDeployment;
348 bool m_lastDeploymentHasBeenSet = false;
349
350 Aws::String m_name;
351 bool m_nameHasBeenSet = false;
352
353 Aws::String m_projectId;
354 bool m_projectIdHasBeenSet = false;
355
356 Aws::String m_provider;
357 bool m_providerHasBeenSet = false;
358
359 Aws::Vector<Resource> m_provisionedResources;
360 bool m_provisionedResourcesHasBeenSet = false;
361
362 ProvisioningProperties m_provisioningProperties;
363 bool m_provisioningPropertiesHasBeenSet = false;
364
366 bool m_statusHasBeenSet = false;
367
368 Aws::Utils::DateTime m_updatedAt{};
369 bool m_updatedAtHasBeenSet = false;
370
371 Aws::Vector<CustomParameter> m_userParameters;
372 bool m_userParametersHasBeenSet = false;
373
374 Aws::String m_requestId;
375 bool m_requestIdHasBeenSet = false;
376 };
377
378} // namespace Model
379} // namespace DataZone
380} // 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