AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
42
43
45
49 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
50 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountId = value; }
51 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountId = std::move(value); }
52 inline void SetAwsAccountId(const char* value) { m_awsAccountId.assign(value); }
53 inline UpdateEnvironmentResult& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
54 inline UpdateEnvironmentResult& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
55 inline UpdateEnvironmentResult& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
57
59
62 inline const Aws::String& GetAwsAccountRegion() const{ return m_awsAccountRegion; }
63 inline void SetAwsAccountRegion(const Aws::String& value) { m_awsAccountRegion = value; }
64 inline void SetAwsAccountRegion(Aws::String&& value) { m_awsAccountRegion = std::move(value); }
65 inline void SetAwsAccountRegion(const char* value) { m_awsAccountRegion.assign(value); }
66 inline UpdateEnvironmentResult& WithAwsAccountRegion(const Aws::String& value) { SetAwsAccountRegion(value); return *this;}
67 inline UpdateEnvironmentResult& WithAwsAccountRegion(Aws::String&& value) { SetAwsAccountRegion(std::move(value)); return *this;}
68 inline UpdateEnvironmentResult& WithAwsAccountRegion(const char* value) { SetAwsAccountRegion(value); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
76 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
77 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
78 inline UpdateEnvironmentResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
79 inline UpdateEnvironmentResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
81
83
86 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
87 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
88 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
89 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
90 inline UpdateEnvironmentResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
91 inline UpdateEnvironmentResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
92 inline UpdateEnvironmentResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
94
96
100 inline const DeploymentProperties& GetDeploymentProperties() const{ return m_deploymentProperties; }
101 inline void SetDeploymentProperties(const DeploymentProperties& value) { m_deploymentProperties = value; }
102 inline void SetDeploymentProperties(DeploymentProperties&& value) { m_deploymentProperties = std::move(value); }
106
108
112 inline const Aws::String& GetDescription() const{ return m_description; }
113 inline void SetDescription(const Aws::String& value) { m_description = value; }
114 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
115 inline void SetDescription(const char* value) { m_description.assign(value); }
116 inline UpdateEnvironmentResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
117 inline UpdateEnvironmentResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
118 inline UpdateEnvironmentResult& WithDescription(const char* value) { SetDescription(value); return *this;}
120
122
125 inline const Aws::String& GetDomainId() const{ return m_domainId; }
126 inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
127 inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
128 inline void SetDomainId(const char* value) { m_domainId.assign(value); }
129 inline UpdateEnvironmentResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
130 inline UpdateEnvironmentResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
131 inline UpdateEnvironmentResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
133
135
139 inline const Aws::Vector<ConfigurableEnvironmentAction>& GetEnvironmentActions() const{ return m_environmentActions; }
140 inline void SetEnvironmentActions(const Aws::Vector<ConfigurableEnvironmentAction>& value) { m_environmentActions = value; }
141 inline void SetEnvironmentActions(Aws::Vector<ConfigurableEnvironmentAction>&& value) { m_environmentActions = std::move(value); }
144 inline UpdateEnvironmentResult& AddEnvironmentActions(const ConfigurableEnvironmentAction& value) { m_environmentActions.push_back(value); return *this; }
145 inline UpdateEnvironmentResult& AddEnvironmentActions(ConfigurableEnvironmentAction&& value) { m_environmentActions.push_back(std::move(value)); return *this; }
147
149
152 inline const Aws::String& GetEnvironmentBlueprintId() const{ return m_environmentBlueprintId; }
153 inline void SetEnvironmentBlueprintId(const Aws::String& value) { m_environmentBlueprintId = value; }
154 inline void SetEnvironmentBlueprintId(Aws::String&& value) { m_environmentBlueprintId = std::move(value); }
155 inline void SetEnvironmentBlueprintId(const char* value) { m_environmentBlueprintId.assign(value); }
158 inline UpdateEnvironmentResult& WithEnvironmentBlueprintId(const char* value) { SetEnvironmentBlueprintId(value); return *this;}
160
162
165 inline const Aws::String& GetEnvironmentProfileId() const{ return m_environmentProfileId; }
166 inline void SetEnvironmentProfileId(const Aws::String& value) { m_environmentProfileId = value; }
167 inline void SetEnvironmentProfileId(Aws::String&& value) { m_environmentProfileId = std::move(value); }
168 inline void SetEnvironmentProfileId(const char* value) { m_environmentProfileId.assign(value); }
170 inline UpdateEnvironmentResult& WithEnvironmentProfileId(Aws::String&& value) { SetEnvironmentProfileId(std::move(value)); return *this;}
171 inline UpdateEnvironmentResult& WithEnvironmentProfileId(const char* value) { SetEnvironmentProfileId(value); return *this;}
173
175
179 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const{ return m_glossaryTerms; }
180 inline void SetGlossaryTerms(const Aws::Vector<Aws::String>& value) { m_glossaryTerms = value; }
181 inline void SetGlossaryTerms(Aws::Vector<Aws::String>&& value) { m_glossaryTerms = std::move(value); }
183 inline UpdateEnvironmentResult& WithGlossaryTerms(Aws::Vector<Aws::String>&& value) { SetGlossaryTerms(std::move(value)); return *this;}
184 inline UpdateEnvironmentResult& AddGlossaryTerms(const Aws::String& value) { m_glossaryTerms.push_back(value); return *this; }
185 inline UpdateEnvironmentResult& AddGlossaryTerms(Aws::String&& value) { m_glossaryTerms.push_back(std::move(value)); return *this; }
186 inline UpdateEnvironmentResult& AddGlossaryTerms(const char* value) { m_glossaryTerms.push_back(value); return *this; }
188
190
193 inline const Aws::String& GetId() const{ return m_id; }
194 inline void SetId(const Aws::String& value) { m_id = value; }
195 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
196 inline void SetId(const char* value) { m_id.assign(value); }
197 inline UpdateEnvironmentResult& WithId(const Aws::String& value) { SetId(value); return *this;}
198 inline UpdateEnvironmentResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
199 inline UpdateEnvironmentResult& WithId(const char* value) { SetId(value); return *this;}
201
203
206 inline const Deployment& GetLastDeployment() const{ return m_lastDeployment; }
207 inline void SetLastDeployment(const Deployment& value) { m_lastDeployment = value; }
208 inline void SetLastDeployment(Deployment&& value) { m_lastDeployment = std::move(value); }
209 inline UpdateEnvironmentResult& WithLastDeployment(const Deployment& value) { SetLastDeployment(value); return *this;}
210 inline UpdateEnvironmentResult& WithLastDeployment(Deployment&& value) { SetLastDeployment(std::move(value)); return *this;}
212
214
218 inline const Aws::String& GetName() const{ return m_name; }
219 inline void SetName(const Aws::String& value) { m_name = value; }
220 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
221 inline void SetName(const char* value) { m_name.assign(value); }
222 inline UpdateEnvironmentResult& WithName(const Aws::String& value) { SetName(value); return *this;}
223 inline UpdateEnvironmentResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
224 inline UpdateEnvironmentResult& WithName(const char* value) { SetName(value); return *this;}
226
228
231 inline const Aws::String& GetProjectId() const{ return m_projectId; }
232 inline void SetProjectId(const Aws::String& value) { m_projectId = value; }
233 inline void SetProjectId(Aws::String&& value) { m_projectId = std::move(value); }
234 inline void SetProjectId(const char* value) { m_projectId.assign(value); }
235 inline UpdateEnvironmentResult& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
236 inline UpdateEnvironmentResult& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
237 inline UpdateEnvironmentResult& WithProjectId(const char* value) { SetProjectId(value); return *this;}
239
241
244 inline const Aws::String& GetProvider() const{ return m_provider; }
245 inline void SetProvider(const Aws::String& value) { m_provider = value; }
246 inline void SetProvider(Aws::String&& value) { m_provider = std::move(value); }
247 inline void SetProvider(const char* value) { m_provider.assign(value); }
248 inline UpdateEnvironmentResult& WithProvider(const Aws::String& value) { SetProvider(value); return *this;}
249 inline UpdateEnvironmentResult& WithProvider(Aws::String&& value) { SetProvider(std::move(value)); return *this;}
250 inline UpdateEnvironmentResult& WithProvider(const char* value) { SetProvider(value); return *this;}
252
254
258 inline const Aws::Vector<Resource>& GetProvisionedResources() const{ return m_provisionedResources; }
259 inline void SetProvisionedResources(const Aws::Vector<Resource>& value) { m_provisionedResources = value; }
260 inline void SetProvisionedResources(Aws::Vector<Resource>&& value) { m_provisionedResources = std::move(value); }
263 inline UpdateEnvironmentResult& AddProvisionedResources(const Resource& value) { m_provisionedResources.push_back(value); return *this; }
264 inline UpdateEnvironmentResult& AddProvisionedResources(Resource&& value) { m_provisionedResources.push_back(std::move(value)); return *this; }
266
268
272 inline const ProvisioningProperties& GetProvisioningProperties() const{ return m_provisioningProperties; }
273 inline void SetProvisioningProperties(const ProvisioningProperties& value) { m_provisioningProperties = value; }
274 inline void SetProvisioningProperties(ProvisioningProperties&& value) { m_provisioningProperties = std::move(value); }
278
280
284 inline const EnvironmentStatus& GetStatus() const{ return m_status; }
285 inline void SetStatus(const EnvironmentStatus& value) { m_status = value; }
286 inline void SetStatus(EnvironmentStatus&& value) { m_status = std::move(value); }
287 inline UpdateEnvironmentResult& WithStatus(const EnvironmentStatus& value) { SetStatus(value); return *this;}
288 inline UpdateEnvironmentResult& WithStatus(EnvironmentStatus&& value) { SetStatus(std::move(value)); return *this;}
290
292
295 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
296 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
297 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
298 inline UpdateEnvironmentResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
299 inline UpdateEnvironmentResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
301
303
307 inline const Aws::Vector<CustomParameter>& GetUserParameters() const{ return m_userParameters; }
308 inline void SetUserParameters(const Aws::Vector<CustomParameter>& value) { m_userParameters = value; }
309 inline void SetUserParameters(Aws::Vector<CustomParameter>&& value) { m_userParameters = std::move(value); }
312 inline UpdateEnvironmentResult& AddUserParameters(const CustomParameter& value) { m_userParameters.push_back(value); return *this; }
313 inline UpdateEnvironmentResult& AddUserParameters(CustomParameter&& value) { m_userParameters.push_back(std::move(value)); return *this; }
315
317
318 inline const Aws::String& GetRequestId() const{ return m_requestId; }
319 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
320 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
321 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
322 inline UpdateEnvironmentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
323 inline UpdateEnvironmentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
324 inline UpdateEnvironmentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
326 private:
327
328 Aws::String m_awsAccountId;
329
330 Aws::String m_awsAccountRegion;
331
332 Aws::Utils::DateTime m_createdAt;
333
334 Aws::String m_createdBy;
335
336 DeploymentProperties m_deploymentProperties;
337
338 Aws::String m_description;
339
340 Aws::String m_domainId;
341
343
344 Aws::String m_environmentBlueprintId;
345
346 Aws::String m_environmentProfileId;
347
348 Aws::Vector<Aws::String> m_glossaryTerms;
349
350 Aws::String m_id;
351
352 Deployment m_lastDeployment;
353
354 Aws::String m_name;
355
356 Aws::String m_projectId;
357
358 Aws::String m_provider;
359
360 Aws::Vector<Resource> m_provisionedResources;
361
362 ProvisioningProperties m_provisioningProperties;
363
364 EnvironmentStatus m_status;
365
366 Aws::Utils::DateTime m_updatedAt;
367
368 Aws::Vector<CustomParameter> m_userParameters;
369
370 Aws::String m_requestId;
371 };
372
373} // namespace Model
374} // namespace DataZone
375} // namespace Aws
UpdateEnvironmentResult & AddEnvironmentActions(const ConfigurableEnvironmentAction &value)
UpdateEnvironmentResult & WithEnvironmentProfileId(const Aws::String &value)
UpdateEnvironmentResult & WithDomainId(const char *value)
UpdateEnvironmentResult & WithUserParameters(const Aws::Vector< CustomParameter > &value)
UpdateEnvironmentResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
UpdateEnvironmentResult & AddProvisionedResources(Resource &&value)
UpdateEnvironmentResult & WithDescription(const char *value)
UpdateEnvironmentResult & WithName(const char *value)
UpdateEnvironmentResult & WithEnvironmentProfileId(const char *value)
UpdateEnvironmentResult & AddGlossaryTerms(Aws::String &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
UpdateEnvironmentResult & WithLastDeployment(Deployment &&value)
void SetStatus(const EnvironmentStatus &value)
UpdateEnvironmentResult & WithLastDeployment(const Deployment &value)
UpdateEnvironmentResult & WithEnvironmentBlueprintId(const char *value)
UpdateEnvironmentResult & WithEnvironmentProfileId(Aws::String &&value)
AWS_DATAZONE_API UpdateEnvironmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateEnvironmentResult & WithEnvironmentActions(Aws::Vector< ConfigurableEnvironmentAction > &&value)
UpdateEnvironmentResult & WithDescription(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetGlossaryTerms(Aws::Vector< Aws::String > &&value)
UpdateEnvironmentResult & WithProvisionedResources(Aws::Vector< Resource > &&value)
UpdateEnvironmentResult & AddEnvironmentActions(ConfigurableEnvironmentAction &&value)
void SetUserParameters(Aws::Vector< CustomParameter > &&value)
UpdateEnvironmentResult & WithProvisioningProperties(const ProvisioningProperties &value)
UpdateEnvironmentResult & WithEnvironmentBlueprintId(Aws::String &&value)
UpdateEnvironmentResult & WithProvisionedResources(const Aws::Vector< Resource > &value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
UpdateEnvironmentResult & WithDomainId(Aws::String &&value)
void SetEnvironmentActions(const Aws::Vector< ConfigurableEnvironmentAction > &value)
const ProvisioningProperties & GetProvisioningProperties() const
UpdateEnvironmentResult & WithId(const char *value)
UpdateEnvironmentResult & WithAwsAccountRegion(Aws::String &&value)
UpdateEnvironmentResult & WithDomainId(const Aws::String &value)
const Aws::Vector< CustomParameter > & GetUserParameters() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetProvisionedResources(Aws::Vector< Resource > &&value)
UpdateEnvironmentResult & AddGlossaryTerms(const Aws::String &value)
const DeploymentProperties & GetDeploymentProperties() const
UpdateEnvironmentResult & WithDeploymentProperties(const DeploymentProperties &value)
UpdateEnvironmentResult & WithProvider(const Aws::String &value)
UpdateEnvironmentResult & WithGlossaryTerms(Aws::Vector< Aws::String > &&value)
UpdateEnvironmentResult & WithId(Aws::String &&value)
UpdateEnvironmentResult & AddProvisionedResources(const Resource &value)
UpdateEnvironmentResult & WithGlossaryTerms(const Aws::Vector< Aws::String > &value)
UpdateEnvironmentResult & WithRequestId(const Aws::String &value)
const Aws::Vector< ConfigurableEnvironmentAction > & GetEnvironmentActions() const
UpdateEnvironmentResult & WithDescription(const Aws::String &value)
UpdateEnvironmentResult & WithCreatedBy(Aws::String &&value)
UpdateEnvironmentResult & WithRequestId(Aws::String &&value)
UpdateEnvironmentResult & WithAwsAccountId(Aws::String &&value)
UpdateEnvironmentResult & WithRequestId(const char *value)
UpdateEnvironmentResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
UpdateEnvironmentResult & WithProjectId(const Aws::String &value)
void SetProvisionedResources(const Aws::Vector< Resource > &value)
void SetEnvironmentActions(Aws::Vector< ConfigurableEnvironmentAction > &&value)
void SetProvisioningProperties(ProvisioningProperties &&value)
UpdateEnvironmentResult & WithProjectId(Aws::String &&value)
UpdateEnvironmentResult & AddGlossaryTerms(const char *value)
const Aws::Utils::DateTime & GetCreatedAt() const
UpdateEnvironmentResult & WithCreatedBy(const Aws::String &value)
UpdateEnvironmentResult & WithName(Aws::String &&value)
UpdateEnvironmentResult & WithEnvironmentBlueprintId(const Aws::String &value)
void SetDeploymentProperties(DeploymentProperties &&value)
UpdateEnvironmentResult & WithDeploymentProperties(DeploymentProperties &&value)
UpdateEnvironmentResult & WithProvider(Aws::String &&value)
UpdateEnvironmentResult & AddUserParameters(CustomParameter &&value)
const Aws::Vector< Resource > & GetProvisionedResources() const
UpdateEnvironmentResult & WithEnvironmentActions(const Aws::Vector< ConfigurableEnvironmentAction > &value)
UpdateEnvironmentResult & WithId(const Aws::String &value)
UpdateEnvironmentResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
UpdateEnvironmentResult & WithProjectId(const char *value)
UpdateEnvironmentResult & WithProvisioningProperties(ProvisioningProperties &&value)
UpdateEnvironmentResult & WithName(const Aws::String &value)
void SetProvisioningProperties(const ProvisioningProperties &value)
void SetUserParameters(const Aws::Vector< CustomParameter > &value)
void SetDeploymentProperties(const DeploymentProperties &value)
UpdateEnvironmentResult & WithAwsAccountRegion(const char *value)
void SetGlossaryTerms(const Aws::Vector< Aws::String > &value)
UpdateEnvironmentResult & WithAwsAccountRegion(const Aws::String &value)
UpdateEnvironmentResult & AddUserParameters(const CustomParameter &value)
UpdateEnvironmentResult & WithStatus(EnvironmentStatus &&value)
UpdateEnvironmentResult & WithAwsAccountId(const char *value)
UpdateEnvironmentResult & WithCreatedAt(Aws::Utils::DateTime &&value)
UpdateEnvironmentResult & WithProvider(const char *value)
AWS_DATAZONE_API UpdateEnvironmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateEnvironmentResult & WithUserParameters(Aws::Vector< CustomParameter > &&value)
UpdateEnvironmentResult & WithCreatedBy(const char *value)
UpdateEnvironmentResult & WithAwsAccountId(const Aws::String &value)
UpdateEnvironmentResult & WithStatus(const EnvironmentStatus &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