AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 CreateEnvironmentResult& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
54 inline CreateEnvironmentResult& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
55 inline CreateEnvironmentResult& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
57
59
63 inline const Aws::String& GetAwsAccountRegion() const{ return m_awsAccountRegion; }
64 inline void SetAwsAccountRegion(const Aws::String& value) { m_awsAccountRegion = value; }
65 inline void SetAwsAccountRegion(Aws::String&& value) { m_awsAccountRegion = std::move(value); }
66 inline void SetAwsAccountRegion(const char* value) { m_awsAccountRegion.assign(value); }
67 inline CreateEnvironmentResult& WithAwsAccountRegion(const Aws::String& value) { SetAwsAccountRegion(value); return *this;}
68 inline CreateEnvironmentResult& WithAwsAccountRegion(Aws::String&& value) { SetAwsAccountRegion(std::move(value)); return *this;}
69 inline CreateEnvironmentResult& WithAwsAccountRegion(const char* value) { SetAwsAccountRegion(value); return *this;}
71
73
76 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
77 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
78 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
79 inline CreateEnvironmentResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
80 inline CreateEnvironmentResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
88 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
89 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
90 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
91 inline CreateEnvironmentResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
92 inline CreateEnvironmentResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
93 inline CreateEnvironmentResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
95
97
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
111 inline const Aws::String& GetDescription() const{ return m_description; }
112 inline void SetDescription(const Aws::String& value) { m_description = value; }
113 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
114 inline void SetDescription(const char* value) { m_description.assign(value); }
115 inline CreateEnvironmentResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
116 inline CreateEnvironmentResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
117 inline CreateEnvironmentResult& WithDescription(const char* value) { SetDescription(value); return *this;}
119
121
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 CreateEnvironmentResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
130 inline CreateEnvironmentResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
131 inline CreateEnvironmentResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
133
135
138 inline const Aws::Vector<ConfigurableEnvironmentAction>& GetEnvironmentActions() const{ return m_environmentActions; }
139 inline void SetEnvironmentActions(const Aws::Vector<ConfigurableEnvironmentAction>& value) { m_environmentActions = value; }
140 inline void SetEnvironmentActions(Aws::Vector<ConfigurableEnvironmentAction>&& value) { m_environmentActions = std::move(value); }
143 inline CreateEnvironmentResult& AddEnvironmentActions(const ConfigurableEnvironmentAction& value) { m_environmentActions.push_back(value); return *this; }
144 inline CreateEnvironmentResult& AddEnvironmentActions(ConfigurableEnvironmentAction&& value) { m_environmentActions.push_back(std::move(value)); return *this; }
146
148
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 CreateEnvironmentResult& WithEnvironmentBlueprintId(const char* value) { SetEnvironmentBlueprintId(value); return *this;}
160
162
166 inline const Aws::String& GetEnvironmentProfileId() const{ return m_environmentProfileId; }
167 inline void SetEnvironmentProfileId(const Aws::String& value) { m_environmentProfileId = value; }
168 inline void SetEnvironmentProfileId(Aws::String&& value) { m_environmentProfileId = std::move(value); }
169 inline void SetEnvironmentProfileId(const char* value) { m_environmentProfileId.assign(value); }
171 inline CreateEnvironmentResult& WithEnvironmentProfileId(Aws::String&& value) { SetEnvironmentProfileId(std::move(value)); return *this;}
172 inline CreateEnvironmentResult& WithEnvironmentProfileId(const char* value) { SetEnvironmentProfileId(value); return *this;}
174
176
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 CreateEnvironmentResult& WithGlossaryTerms(Aws::Vector<Aws::String>&& value) { SetGlossaryTerms(std::move(value)); return *this;}
184 inline CreateEnvironmentResult& AddGlossaryTerms(const Aws::String& value) { m_glossaryTerms.push_back(value); return *this; }
185 inline CreateEnvironmentResult& AddGlossaryTerms(Aws::String&& value) { m_glossaryTerms.push_back(std::move(value)); return *this; }
186 inline CreateEnvironmentResult& 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 CreateEnvironmentResult& WithId(const Aws::String& value) { SetId(value); return *this;}
198 inline CreateEnvironmentResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
199 inline CreateEnvironmentResult& 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 CreateEnvironmentResult& WithLastDeployment(const Deployment& value) { SetLastDeployment(value); return *this;}
210 inline CreateEnvironmentResult& WithLastDeployment(Deployment&& value) { SetLastDeployment(std::move(value)); return *this;}
212
214
217 inline const Aws::String& GetName() const{ return m_name; }
218 inline void SetName(const Aws::String& value) { m_name = value; }
219 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
220 inline void SetName(const char* value) { m_name.assign(value); }
221 inline CreateEnvironmentResult& WithName(const Aws::String& value) { SetName(value); return *this;}
222 inline CreateEnvironmentResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
223 inline CreateEnvironmentResult& WithName(const char* value) { SetName(value); return *this;}
225
227
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 CreateEnvironmentResult& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
236 inline CreateEnvironmentResult& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
237 inline CreateEnvironmentResult& 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 CreateEnvironmentResult& WithProvider(const Aws::String& value) { SetProvider(value); return *this;}
249 inline CreateEnvironmentResult& WithProvider(Aws::String&& value) { SetProvider(std::move(value)); return *this;}
250 inline CreateEnvironmentResult& WithProvider(const char* value) { SetProvider(value); return *this;}
252
254
257 inline const Aws::Vector<Resource>& GetProvisionedResources() const{ return m_provisionedResources; }
258 inline void SetProvisionedResources(const Aws::Vector<Resource>& value) { m_provisionedResources = value; }
259 inline void SetProvisionedResources(Aws::Vector<Resource>&& value) { m_provisionedResources = std::move(value); }
262 inline CreateEnvironmentResult& AddProvisionedResources(const Resource& value) { m_provisionedResources.push_back(value); return *this; }
263 inline CreateEnvironmentResult& AddProvisionedResources(Resource&& value) { m_provisionedResources.push_back(std::move(value)); return *this; }
265
267
270 inline const ProvisioningProperties& GetProvisioningProperties() const{ return m_provisioningProperties; }
271 inline void SetProvisioningProperties(const ProvisioningProperties& value) { m_provisioningProperties = value; }
272 inline void SetProvisioningProperties(ProvisioningProperties&& value) { m_provisioningProperties = std::move(value); }
276
278
281 inline const EnvironmentStatus& GetStatus() const{ return m_status; }
282 inline void SetStatus(const EnvironmentStatus& value) { m_status = value; }
283 inline void SetStatus(EnvironmentStatus&& value) { m_status = std::move(value); }
284 inline CreateEnvironmentResult& WithStatus(const EnvironmentStatus& value) { SetStatus(value); return *this;}
285 inline CreateEnvironmentResult& WithStatus(EnvironmentStatus&& value) { SetStatus(std::move(value)); return *this;}
287
289
292 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
293 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
294 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
295 inline CreateEnvironmentResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
296 inline CreateEnvironmentResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
298
300
303 inline const Aws::Vector<CustomParameter>& GetUserParameters() const{ return m_userParameters; }
304 inline void SetUserParameters(const Aws::Vector<CustomParameter>& value) { m_userParameters = value; }
305 inline void SetUserParameters(Aws::Vector<CustomParameter>&& value) { m_userParameters = std::move(value); }
308 inline CreateEnvironmentResult& AddUserParameters(const CustomParameter& value) { m_userParameters.push_back(value); return *this; }
309 inline CreateEnvironmentResult& AddUserParameters(CustomParameter&& value) { m_userParameters.push_back(std::move(value)); return *this; }
311
313
314 inline const Aws::String& GetRequestId() const{ return m_requestId; }
315 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
316 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
317 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
318 inline CreateEnvironmentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
319 inline CreateEnvironmentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
320 inline CreateEnvironmentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
322 private:
323
324 Aws::String m_awsAccountId;
325
326 Aws::String m_awsAccountRegion;
327
328 Aws::Utils::DateTime m_createdAt;
329
330 Aws::String m_createdBy;
331
332 DeploymentProperties m_deploymentProperties;
333
334 Aws::String m_description;
335
336 Aws::String m_domainId;
337
339
340 Aws::String m_environmentBlueprintId;
341
342 Aws::String m_environmentProfileId;
343
344 Aws::Vector<Aws::String> m_glossaryTerms;
345
346 Aws::String m_id;
347
348 Deployment m_lastDeployment;
349
350 Aws::String m_name;
351
352 Aws::String m_projectId;
353
354 Aws::String m_provider;
355
356 Aws::Vector<Resource> m_provisionedResources;
357
358 ProvisioningProperties m_provisioningProperties;
359
360 EnvironmentStatus m_status;
361
362 Aws::Utils::DateTime m_updatedAt;
363
364 Aws::Vector<CustomParameter> m_userParameters;
365
366 Aws::String m_requestId;
367 };
368
369} // namespace Model
370} // namespace DataZone
371} // namespace Aws
void SetProvisioningProperties(ProvisioningProperties &&value)
CreateEnvironmentResult & WithGlossaryTerms(Aws::Vector< Aws::String > &&value)
CreateEnvironmentResult & WithProvisionedResources(Aws::Vector< Resource > &&value)
CreateEnvironmentResult & AddGlossaryTerms(const char *value)
CreateEnvironmentResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
CreateEnvironmentResult & WithDescription(Aws::String &&value)
CreateEnvironmentResult & WithUserParameters(const Aws::Vector< CustomParameter > &value)
const Aws::Utils::DateTime & GetCreatedAt() const
CreateEnvironmentResult & WithLastDeployment(const Deployment &value)
CreateEnvironmentResult & WithDeploymentProperties(DeploymentProperties &&value)
void SetUserParameters(const Aws::Vector< CustomParameter > &value)
CreateEnvironmentResult & WithDomainId(const Aws::String &value)
CreateEnvironmentResult & WithRequestId(Aws::String &&value)
CreateEnvironmentResult & WithStatus(EnvironmentStatus &&value)
CreateEnvironmentResult & AddEnvironmentActions(ConfigurableEnvironmentAction &&value)
CreateEnvironmentResult & WithStatus(const EnvironmentStatus &value)
void SetDeploymentProperties(const DeploymentProperties &value)
CreateEnvironmentResult & WithCreatedAt(const Aws::Utils::DateTime &value)
CreateEnvironmentResult & WithProvider(const Aws::String &value)
CreateEnvironmentResult & WithEnvironmentActions(const Aws::Vector< ConfigurableEnvironmentAction > &value)
AWS_DATAZONE_API CreateEnvironmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetEnvironmentActions(const Aws::Vector< ConfigurableEnvironmentAction > &value)
const ProvisioningProperties & GetProvisioningProperties() const
CreateEnvironmentResult & WithCreatedBy(Aws::String &&value)
void SetEnvironmentActions(Aws::Vector< ConfigurableEnvironmentAction > &&value)
CreateEnvironmentResult & AddUserParameters(const CustomParameter &value)
CreateEnvironmentResult & WithCreatedBy(const Aws::String &value)
CreateEnvironmentResult & WithId(const Aws::String &value)
CreateEnvironmentResult & WithEnvironmentBlueprintId(const Aws::String &value)
void SetProvisionedResources(const Aws::Vector< Resource > &value)
CreateEnvironmentResult & WithGlossaryTerms(const Aws::Vector< Aws::String > &value)
CreateEnvironmentResult & WithRequestId(const Aws::String &value)
CreateEnvironmentResult & AddGlossaryTerms(Aws::String &&value)
CreateEnvironmentResult & WithDescription(const char *value)
const Aws::Utils::DateTime & GetUpdatedAt() const
CreateEnvironmentResult & WithId(Aws::String &&value)
void SetGlossaryTerms(const Aws::Vector< Aws::String > &value)
CreateEnvironmentResult & WithEnvironmentActions(Aws::Vector< ConfigurableEnvironmentAction > &&value)
CreateEnvironmentResult & WithDescription(const Aws::String &value)
CreateEnvironmentResult & AddEnvironmentActions(const ConfigurableEnvironmentAction &value)
CreateEnvironmentResult & WithEnvironmentProfileId(const char *value)
CreateEnvironmentResult & WithName(Aws::String &&value)
CreateEnvironmentResult & WithProjectId(const Aws::String &value)
CreateEnvironmentResult & WithAwsAccountRegion(const char *value)
CreateEnvironmentResult & WithProvider(Aws::String &&value)
AWS_DATAZONE_API CreateEnvironmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateEnvironmentResult & WithProvider(const char *value)
void SetStatus(const EnvironmentStatus &value)
CreateEnvironmentResult & AddProvisionedResources(const Resource &value)
CreateEnvironmentResult & WithLastDeployment(Deployment &&value)
void SetProvisioningProperties(const ProvisioningProperties &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
CreateEnvironmentResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
CreateEnvironmentResult & WithProjectId(Aws::String &&value)
CreateEnvironmentResult & WithDomainId(const char *value)
void SetGlossaryTerms(Aws::Vector< Aws::String > &&value)
CreateEnvironmentResult & WithName(const Aws::String &value)
CreateEnvironmentResult & WithProvisionedResources(const Aws::Vector< Resource > &value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
CreateEnvironmentResult & AddUserParameters(CustomParameter &&value)
CreateEnvironmentResult & WithEnvironmentProfileId(const Aws::String &value)
const Aws::Vector< CustomParameter > & GetUserParameters() const
CreateEnvironmentResult & WithName(const char *value)
CreateEnvironmentResult & WithProvisioningProperties(ProvisioningProperties &&value)
void SetProvisionedResources(Aws::Vector< Resource > &&value)
CreateEnvironmentResult & WithAwsAccountId(Aws::String &&value)
CreateEnvironmentResult & WithCreatedBy(const char *value)
void SetDeploymentProperties(DeploymentProperties &&value)
const DeploymentProperties & GetDeploymentProperties() const
CreateEnvironmentResult & WithUserParameters(Aws::Vector< CustomParameter > &&value)
CreateEnvironmentResult & WithCreatedAt(Aws::Utils::DateTime &&value)
CreateEnvironmentResult & WithAwsAccountRegion(const Aws::String &value)
CreateEnvironmentResult & WithDeploymentProperties(const DeploymentProperties &value)
const Aws::Vector< ConfigurableEnvironmentAction > & GetEnvironmentActions() const
CreateEnvironmentResult & AddProvisionedResources(Resource &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
CreateEnvironmentResult & WithAwsAccountId(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
CreateEnvironmentResult & WithDomainId(Aws::String &&value)
CreateEnvironmentResult & WithRequestId(const char *value)
CreateEnvironmentResult & WithProjectId(const char *value)
CreateEnvironmentResult & WithAwsAccountId(const Aws::String &value)
const Aws::Vector< Resource > & GetProvisionedResources() const
CreateEnvironmentResult & AddGlossaryTerms(const Aws::String &value)
CreateEnvironmentResult & WithEnvironmentBlueprintId(Aws::String &&value)
void SetUserParameters(Aws::Vector< CustomParameter > &&value)
CreateEnvironmentResult & WithEnvironmentProfileId(Aws::String &&value)
CreateEnvironmentResult & WithEnvironmentBlueprintId(const char *value)
CreateEnvironmentResult & WithProvisioningProperties(const ProvisioningProperties &value)
CreateEnvironmentResult & WithId(const char *value)
CreateEnvironmentResult & WithAwsAccountRegion(Aws::String &&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