AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateEnvironmentResult.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 UpdateEnvironmentResult() = 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 UpdateEnvironmentResult& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetAwsAccountRegion() const { return m_awsAccountRegion; }
61 template<typename AwsAccountRegionT = Aws::String>
62 void SetAwsAccountRegion(AwsAccountRegionT&& value) { m_awsAccountRegionHasBeenSet = true; m_awsAccountRegion = std::forward<AwsAccountRegionT>(value); }
63 template<typename AwsAccountRegionT = Aws::String>
64 UpdateEnvironmentResult& WithAwsAccountRegion(AwsAccountRegionT&& value) { SetAwsAccountRegion(std::forward<AwsAccountRegionT>(value)); return *this;}
66
68
71 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
72 template<typename CreatedAtT = Aws::Utils::DateTime>
73 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
74 template<typename CreatedAtT = Aws::Utils::DateTime>
75 UpdateEnvironmentResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
77
79
82 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
83 template<typename CreatedByT = Aws::String>
84 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
85 template<typename CreatedByT = Aws::String>
86 UpdateEnvironmentResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
88
90
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 UpdateEnvironmentResult& WithDeploymentProperties(DeploymentPropertiesT&& value) { SetDeploymentProperties(std::forward<DeploymentPropertiesT>(value)); return *this;}
100
102
106 inline const Aws::String& GetDescription() const { return m_description; }
107 template<typename DescriptionT = Aws::String>
108 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
109 template<typename DescriptionT = Aws::String>
110 UpdateEnvironmentResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
112
114
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 UpdateEnvironmentResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
123
125
129 inline const Aws::Vector<ConfigurableEnvironmentAction>& GetEnvironmentActions() const { return m_environmentActions; }
130 template<typename EnvironmentActionsT = Aws::Vector<ConfigurableEnvironmentAction>>
131 void SetEnvironmentActions(EnvironmentActionsT&& value) { m_environmentActionsHasBeenSet = true; m_environmentActions = std::forward<EnvironmentActionsT>(value); }
132 template<typename EnvironmentActionsT = Aws::Vector<ConfigurableEnvironmentAction>>
133 UpdateEnvironmentResult& WithEnvironmentActions(EnvironmentActionsT&& value) { SetEnvironmentActions(std::forward<EnvironmentActionsT>(value)); return *this;}
134 template<typename EnvironmentActionsT = ConfigurableEnvironmentAction>
135 UpdateEnvironmentResult& AddEnvironmentActions(EnvironmentActionsT&& value) { m_environmentActionsHasBeenSet = true; m_environmentActions.emplace_back(std::forward<EnvironmentActionsT>(value)); return *this; }
137
139
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 UpdateEnvironmentResult& 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 UpdateEnvironmentResult& WithEnvironmentConfigurationId(EnvironmentConfigurationIdT&& value) { SetEnvironmentConfigurationId(std::forward<EnvironmentConfigurationIdT>(value)); return *this;}
159
161
164 inline const Aws::String& GetEnvironmentProfileId() const { return m_environmentProfileId; }
165 template<typename EnvironmentProfileIdT = Aws::String>
166 void SetEnvironmentProfileId(EnvironmentProfileIdT&& value) { m_environmentProfileIdHasBeenSet = true; m_environmentProfileId = std::forward<EnvironmentProfileIdT>(value); }
167 template<typename EnvironmentProfileIdT = Aws::String>
168 UpdateEnvironmentResult& WithEnvironmentProfileId(EnvironmentProfileIdT&& value) { SetEnvironmentProfileId(std::forward<EnvironmentProfileIdT>(value)); return *this;}
170
172
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 UpdateEnvironmentResult& WithGlossaryTerms(GlossaryTermsT&& value) { SetGlossaryTerms(std::forward<GlossaryTermsT>(value)); return *this;}
181 template<typename GlossaryTermsT = Aws::String>
182 UpdateEnvironmentResult& 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 UpdateEnvironmentResult& 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 UpdateEnvironmentResult& WithLastDeployment(LastDeploymentT&& value) { SetLastDeployment(std::forward<LastDeploymentT>(value)); return *this;}
206
208
212 inline const Aws::String& GetName() const { return m_name; }
213 template<typename NameT = Aws::String>
214 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
215 template<typename NameT = Aws::String>
216 UpdateEnvironmentResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
218
220
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 UpdateEnvironmentResult& 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 UpdateEnvironmentResult& WithProvider(ProviderT&& value) { SetProvider(std::forward<ProviderT>(value)); return *this;}
240
242
246 inline const Aws::Vector<Resource>& GetProvisionedResources() const { return m_provisionedResources; }
247 template<typename ProvisionedResourcesT = Aws::Vector<Resource>>
248 void SetProvisionedResources(ProvisionedResourcesT&& value) { m_provisionedResourcesHasBeenSet = true; m_provisionedResources = std::forward<ProvisionedResourcesT>(value); }
249 template<typename ProvisionedResourcesT = Aws::Vector<Resource>>
250 UpdateEnvironmentResult& WithProvisionedResources(ProvisionedResourcesT&& value) { SetProvisionedResources(std::forward<ProvisionedResourcesT>(value)); return *this;}
251 template<typename ProvisionedResourcesT = Resource>
252 UpdateEnvironmentResult& AddProvisionedResources(ProvisionedResourcesT&& value) { m_provisionedResourcesHasBeenSet = true; m_provisionedResources.emplace_back(std::forward<ProvisionedResourcesT>(value)); return *this; }
254
256
260 inline const ProvisioningProperties& GetProvisioningProperties() const { return m_provisioningProperties; }
261 template<typename ProvisioningPropertiesT = ProvisioningProperties>
262 void SetProvisioningProperties(ProvisioningPropertiesT&& value) { m_provisioningPropertiesHasBeenSet = true; m_provisioningProperties = std::forward<ProvisioningPropertiesT>(value); }
263 template<typename ProvisioningPropertiesT = ProvisioningProperties>
264 UpdateEnvironmentResult& WithProvisioningProperties(ProvisioningPropertiesT&& value) { SetProvisioningProperties(std::forward<ProvisioningPropertiesT>(value)); return *this;}
266
268
272 inline EnvironmentStatus GetStatus() const { return m_status; }
273 inline void SetStatus(EnvironmentStatus value) { m_statusHasBeenSet = true; m_status = value; }
274 inline UpdateEnvironmentResult& WithStatus(EnvironmentStatus value) { SetStatus(value); return *this;}
276
278
281 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
282 template<typename UpdatedAtT = Aws::Utils::DateTime>
283 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
284 template<typename UpdatedAtT = Aws::Utils::DateTime>
285 UpdateEnvironmentResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
287
289
293 inline const Aws::Vector<CustomParameter>& GetUserParameters() const { return m_userParameters; }
294 template<typename UserParametersT = Aws::Vector<CustomParameter>>
295 void SetUserParameters(UserParametersT&& value) { m_userParametersHasBeenSet = true; m_userParameters = std::forward<UserParametersT>(value); }
296 template<typename UserParametersT = Aws::Vector<CustomParameter>>
297 UpdateEnvironmentResult& WithUserParameters(UserParametersT&& value) { SetUserParameters(std::forward<UserParametersT>(value)); return *this;}
298 template<typename UserParametersT = CustomParameter>
299 UpdateEnvironmentResult& AddUserParameters(UserParametersT&& value) { m_userParametersHasBeenSet = true; m_userParameters.emplace_back(std::forward<UserParametersT>(value)); return *this; }
301
303
304 inline const Aws::String& GetRequestId() const { return m_requestId; }
305 template<typename RequestIdT = Aws::String>
306 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
307 template<typename RequestIdT = Aws::String>
308 UpdateEnvironmentResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
310 private:
311
312 Aws::String m_awsAccountId;
313 bool m_awsAccountIdHasBeenSet = false;
314
315 Aws::String m_awsAccountRegion;
316 bool m_awsAccountRegionHasBeenSet = false;
317
318 Aws::Utils::DateTime m_createdAt{};
319 bool m_createdAtHasBeenSet = false;
320
321 Aws::String m_createdBy;
322 bool m_createdByHasBeenSet = false;
323
324 DeploymentProperties m_deploymentProperties;
325 bool m_deploymentPropertiesHasBeenSet = false;
326
327 Aws::String m_description;
328 bool m_descriptionHasBeenSet = false;
329
330 Aws::String m_domainId;
331 bool m_domainIdHasBeenSet = false;
332
334 bool m_environmentActionsHasBeenSet = false;
335
336 Aws::String m_environmentBlueprintId;
337 bool m_environmentBlueprintIdHasBeenSet = false;
338
339 Aws::String m_environmentConfigurationId;
340 bool m_environmentConfigurationIdHasBeenSet = false;
341
342 Aws::String m_environmentProfileId;
343 bool m_environmentProfileIdHasBeenSet = false;
344
345 Aws::Vector<Aws::String> m_glossaryTerms;
346 bool m_glossaryTermsHasBeenSet = false;
347
348 Aws::String m_id;
349 bool m_idHasBeenSet = false;
350
351 Deployment m_lastDeployment;
352 bool m_lastDeploymentHasBeenSet = false;
353
354 Aws::String m_name;
355 bool m_nameHasBeenSet = false;
356
357 Aws::String m_projectId;
358 bool m_projectIdHasBeenSet = false;
359
360 Aws::String m_provider;
361 bool m_providerHasBeenSet = false;
362
363 Aws::Vector<Resource> m_provisionedResources;
364 bool m_provisionedResourcesHasBeenSet = false;
365
366 ProvisioningProperties m_provisioningProperties;
367 bool m_provisioningPropertiesHasBeenSet = false;
368
370 bool m_statusHasBeenSet = false;
371
372 Aws::Utils::DateTime m_updatedAt{};
373 bool m_updatedAtHasBeenSet = false;
374
375 Aws::Vector<CustomParameter> m_userParameters;
376 bool m_userParametersHasBeenSet = false;
377
378 Aws::String m_requestId;
379 bool m_requestIdHasBeenSet = false;
380 };
381
382} // namespace Model
383} // namespace DataZone
384} // namespace Aws
UpdateEnvironmentResult & WithProjectId(ProjectIdT &&value)
void SetEnvironmentProfileId(EnvironmentProfileIdT &&value)
UpdateEnvironmentResult & WithAwsAccountRegion(AwsAccountRegionT &&value)
UpdateEnvironmentResult & WithUserParameters(UserParametersT &&value)
UpdateEnvironmentResult & WithLastDeployment(LastDeploymentT &&value)
UpdateEnvironmentResult & WithId(IdT &&value)
AWS_DATAZONE_API UpdateEnvironmentResult()=default
AWS_DATAZONE_API UpdateEnvironmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateEnvironmentResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
UpdateEnvironmentResult & WithProvider(ProviderT &&value)
const ProvisioningProperties & GetProvisioningProperties() const
UpdateEnvironmentResult & WithName(NameT &&value)
void SetEnvironmentConfigurationId(EnvironmentConfigurationIdT &&value)
const Aws::Vector< CustomParameter > & GetUserParameters() const
const Aws::Utils::DateTime & GetUpdatedAt() const
UpdateEnvironmentResult & WithEnvironmentActions(EnvironmentActionsT &&value)
const DeploymentProperties & GetDeploymentProperties() const
UpdateEnvironmentResult & WithCreatedBy(CreatedByT &&value)
const Aws::Vector< ConfigurableEnvironmentAction > & GetEnvironmentActions() const
void SetDeploymentProperties(DeploymentPropertiesT &&value)
UpdateEnvironmentResult & WithEnvironmentBlueprintId(EnvironmentBlueprintIdT &&value)
void SetProvisioningProperties(ProvisioningPropertiesT &&value)
UpdateEnvironmentResult & WithDomainId(DomainIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Vector< Resource > & GetProvisionedResources() const
UpdateEnvironmentResult & AddGlossaryTerms(GlossaryTermsT &&value)
UpdateEnvironmentResult & WithDeploymentProperties(DeploymentPropertiesT &&value)
void SetProvisionedResources(ProvisionedResourcesT &&value)
UpdateEnvironmentResult & AddUserParameters(UserParametersT &&value)
UpdateEnvironmentResult & WithCreatedAt(CreatedAtT &&value)
UpdateEnvironmentResult & WithProvisioningProperties(ProvisioningPropertiesT &&value)
UpdateEnvironmentResult & AddProvisionedResources(ProvisionedResourcesT &&value)
void SetEnvironmentActions(EnvironmentActionsT &&value)
void SetEnvironmentBlueprintId(EnvironmentBlueprintIdT &&value)
UpdateEnvironmentResult & AddEnvironmentActions(EnvironmentActionsT &&value)
UpdateEnvironmentResult & WithEnvironmentProfileId(EnvironmentProfileIdT &&value)
UpdateEnvironmentResult & WithAwsAccountId(AwsAccountIdT &&value)
UpdateEnvironmentResult & WithEnvironmentConfigurationId(EnvironmentConfigurationIdT &&value)
UpdateEnvironmentResult & WithGlossaryTerms(GlossaryTermsT &&value)
UpdateEnvironmentResult & WithUpdatedAt(UpdatedAtT &&value)
UpdateEnvironmentResult & WithStatus(EnvironmentStatus value)
AWS_DATAZONE_API UpdateEnvironmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateEnvironmentResult & WithProvisionedResources(ProvisionedResourcesT &&value)
UpdateEnvironmentResult & WithDescription(DescriptionT &&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