AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
42
43
45
48 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
49 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountId = value; }
50 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountId = std::move(value); }
51 inline void SetAwsAccountId(const char* value) { m_awsAccountId.assign(value); }
52 inline GetEnvironmentResult& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
53 inline GetEnvironmentResult& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
54 inline GetEnvironmentResult& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
56
58
61 inline const Aws::String& GetAwsAccountRegion() const{ return m_awsAccountRegion; }
62 inline void SetAwsAccountRegion(const Aws::String& value) { m_awsAccountRegion = value; }
63 inline void SetAwsAccountRegion(Aws::String&& value) { m_awsAccountRegion = std::move(value); }
64 inline void SetAwsAccountRegion(const char* value) { m_awsAccountRegion.assign(value); }
65 inline GetEnvironmentResult& WithAwsAccountRegion(const Aws::String& value) { SetAwsAccountRegion(value); return *this;}
66 inline GetEnvironmentResult& WithAwsAccountRegion(Aws::String&& value) { SetAwsAccountRegion(std::move(value)); return *this;}
67 inline GetEnvironmentResult& WithAwsAccountRegion(const char* value) { SetAwsAccountRegion(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
75 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
76 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
77 inline GetEnvironmentResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
78 inline GetEnvironmentResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
80
82
85 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
86 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
87 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
88 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
89 inline GetEnvironmentResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
90 inline GetEnvironmentResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
91 inline GetEnvironmentResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
93
95
98 inline const DeploymentProperties& GetDeploymentProperties() const{ return m_deploymentProperties; }
99 inline void SetDeploymentProperties(const DeploymentProperties& value) { m_deploymentProperties = value; }
100 inline void SetDeploymentProperties(DeploymentProperties&& value) { m_deploymentProperties = std::move(value); }
104
106
109 inline const Aws::String& GetDescription() const{ return m_description; }
110 inline void SetDescription(const Aws::String& value) { m_description = value; }
111 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
112 inline void SetDescription(const char* value) { m_description.assign(value); }
113 inline GetEnvironmentResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
114 inline GetEnvironmentResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
115 inline GetEnvironmentResult& WithDescription(const char* value) { SetDescription(value); return *this;}
117
119
122 inline const Aws::String& GetDomainId() const{ return m_domainId; }
123 inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
124 inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
125 inline void SetDomainId(const char* value) { m_domainId.assign(value); }
126 inline GetEnvironmentResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
127 inline GetEnvironmentResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
128 inline GetEnvironmentResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
130
132
135 inline const Aws::Vector<ConfigurableEnvironmentAction>& GetEnvironmentActions() const{ return m_environmentActions; }
136 inline void SetEnvironmentActions(const Aws::Vector<ConfigurableEnvironmentAction>& value) { m_environmentActions = value; }
137 inline void SetEnvironmentActions(Aws::Vector<ConfigurableEnvironmentAction>&& value) { m_environmentActions = std::move(value); }
140 inline GetEnvironmentResult& AddEnvironmentActions(const ConfigurableEnvironmentAction& value) { m_environmentActions.push_back(value); return *this; }
141 inline GetEnvironmentResult& AddEnvironmentActions(ConfigurableEnvironmentAction&& value) { m_environmentActions.push_back(std::move(value)); return *this; }
143
145
148 inline const Aws::String& GetEnvironmentBlueprintId() const{ return m_environmentBlueprintId; }
149 inline void SetEnvironmentBlueprintId(const Aws::String& value) { m_environmentBlueprintId = value; }
150 inline void SetEnvironmentBlueprintId(Aws::String&& value) { m_environmentBlueprintId = std::move(value); }
151 inline void SetEnvironmentBlueprintId(const char* value) { m_environmentBlueprintId.assign(value); }
154 inline GetEnvironmentResult& WithEnvironmentBlueprintId(const char* value) { SetEnvironmentBlueprintId(value); return *this;}
156
158
161 inline const Aws::String& GetEnvironmentProfileId() const{ return m_environmentProfileId; }
162 inline void SetEnvironmentProfileId(const Aws::String& value) { m_environmentProfileId = value; }
163 inline void SetEnvironmentProfileId(Aws::String&& value) { m_environmentProfileId = std::move(value); }
164 inline void SetEnvironmentProfileId(const char* value) { m_environmentProfileId.assign(value); }
166 inline GetEnvironmentResult& WithEnvironmentProfileId(Aws::String&& value) { SetEnvironmentProfileId(std::move(value)); return *this;}
167 inline GetEnvironmentResult& WithEnvironmentProfileId(const char* value) { SetEnvironmentProfileId(value); return *this;}
169
171
174 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const{ return m_glossaryTerms; }
175 inline void SetGlossaryTerms(const Aws::Vector<Aws::String>& value) { m_glossaryTerms = value; }
176 inline void SetGlossaryTerms(Aws::Vector<Aws::String>&& value) { m_glossaryTerms = std::move(value); }
178 inline GetEnvironmentResult& WithGlossaryTerms(Aws::Vector<Aws::String>&& value) { SetGlossaryTerms(std::move(value)); return *this;}
179 inline GetEnvironmentResult& AddGlossaryTerms(const Aws::String& value) { m_glossaryTerms.push_back(value); return *this; }
180 inline GetEnvironmentResult& AddGlossaryTerms(Aws::String&& value) { m_glossaryTerms.push_back(std::move(value)); return *this; }
181 inline GetEnvironmentResult& AddGlossaryTerms(const char* value) { m_glossaryTerms.push_back(value); return *this; }
183
185
188 inline const Aws::String& GetId() const{ return m_id; }
189 inline void SetId(const Aws::String& value) { m_id = value; }
190 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
191 inline void SetId(const char* value) { m_id.assign(value); }
192 inline GetEnvironmentResult& WithId(const Aws::String& value) { SetId(value); return *this;}
193 inline GetEnvironmentResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
194 inline GetEnvironmentResult& WithId(const char* value) { SetId(value); return *this;}
196
198
201 inline const Deployment& GetLastDeployment() const{ return m_lastDeployment; }
202 inline void SetLastDeployment(const Deployment& value) { m_lastDeployment = value; }
203 inline void SetLastDeployment(Deployment&& value) { m_lastDeployment = std::move(value); }
204 inline GetEnvironmentResult& WithLastDeployment(const Deployment& value) { SetLastDeployment(value); return *this;}
205 inline GetEnvironmentResult& WithLastDeployment(Deployment&& value) { SetLastDeployment(std::move(value)); return *this;}
207
209
212 inline const Aws::String& GetName() const{ return m_name; }
213 inline void SetName(const Aws::String& value) { m_name = value; }
214 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
215 inline void SetName(const char* value) { m_name.assign(value); }
216 inline GetEnvironmentResult& WithName(const Aws::String& value) { SetName(value); return *this;}
217 inline GetEnvironmentResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
218 inline GetEnvironmentResult& WithName(const char* value) { SetName(value); return *this;}
220
222
226 inline const Aws::String& GetProjectId() const{ return m_projectId; }
227 inline void SetProjectId(const Aws::String& value) { m_projectId = value; }
228 inline void SetProjectId(Aws::String&& value) { m_projectId = std::move(value); }
229 inline void SetProjectId(const char* value) { m_projectId.assign(value); }
230 inline GetEnvironmentResult& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
231 inline GetEnvironmentResult& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
232 inline GetEnvironmentResult& WithProjectId(const char* value) { SetProjectId(value); return *this;}
234
236
239 inline const Aws::String& GetProvider() const{ return m_provider; }
240 inline void SetProvider(const Aws::String& value) { m_provider = value; }
241 inline void SetProvider(Aws::String&& value) { m_provider = std::move(value); }
242 inline void SetProvider(const char* value) { m_provider.assign(value); }
243 inline GetEnvironmentResult& WithProvider(const Aws::String& value) { SetProvider(value); return *this;}
244 inline GetEnvironmentResult& WithProvider(Aws::String&& value) { SetProvider(std::move(value)); return *this;}
245 inline GetEnvironmentResult& WithProvider(const char* value) { SetProvider(value); return *this;}
247
249
252 inline const Aws::Vector<Resource>& GetProvisionedResources() const{ return m_provisionedResources; }
253 inline void SetProvisionedResources(const Aws::Vector<Resource>& value) { m_provisionedResources = value; }
254 inline void SetProvisionedResources(Aws::Vector<Resource>&& value) { m_provisionedResources = std::move(value); }
257 inline GetEnvironmentResult& AddProvisionedResources(const Resource& value) { m_provisionedResources.push_back(value); return *this; }
258 inline GetEnvironmentResult& AddProvisionedResources(Resource&& value) { m_provisionedResources.push_back(std::move(value)); return *this; }
260
262
265 inline const ProvisioningProperties& GetProvisioningProperties() const{ return m_provisioningProperties; }
266 inline void SetProvisioningProperties(const ProvisioningProperties& value) { m_provisioningProperties = value; }
267 inline void SetProvisioningProperties(ProvisioningProperties&& value) { m_provisioningProperties = std::move(value); }
271
273
276 inline const EnvironmentStatus& GetStatus() const{ return m_status; }
277 inline void SetStatus(const EnvironmentStatus& value) { m_status = value; }
278 inline void SetStatus(EnvironmentStatus&& value) { m_status = std::move(value); }
279 inline GetEnvironmentResult& WithStatus(const EnvironmentStatus& value) { SetStatus(value); return *this;}
280 inline GetEnvironmentResult& WithStatus(EnvironmentStatus&& value) { SetStatus(std::move(value)); return *this;}
282
284
287 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
288 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
289 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
290 inline GetEnvironmentResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
291 inline GetEnvironmentResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
293
295
298 inline const Aws::Vector<CustomParameter>& GetUserParameters() const{ return m_userParameters; }
299 inline void SetUserParameters(const Aws::Vector<CustomParameter>& value) { m_userParameters = value; }
300 inline void SetUserParameters(Aws::Vector<CustomParameter>&& value) { m_userParameters = std::move(value); }
303 inline GetEnvironmentResult& AddUserParameters(const CustomParameter& value) { m_userParameters.push_back(value); return *this; }
304 inline GetEnvironmentResult& AddUserParameters(CustomParameter&& value) { m_userParameters.push_back(std::move(value)); return *this; }
306
308
309 inline const Aws::String& GetRequestId() const{ return m_requestId; }
310 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
311 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
312 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
313 inline GetEnvironmentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
314 inline GetEnvironmentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
315 inline GetEnvironmentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
317 private:
318
319 Aws::String m_awsAccountId;
320
321 Aws::String m_awsAccountRegion;
322
323 Aws::Utils::DateTime m_createdAt;
324
325 Aws::String m_createdBy;
326
327 DeploymentProperties m_deploymentProperties;
328
329 Aws::String m_description;
330
331 Aws::String m_domainId;
332
334
335 Aws::String m_environmentBlueprintId;
336
337 Aws::String m_environmentProfileId;
338
339 Aws::Vector<Aws::String> m_glossaryTerms;
340
341 Aws::String m_id;
342
343 Deployment m_lastDeployment;
344
345 Aws::String m_name;
346
347 Aws::String m_projectId;
348
349 Aws::String m_provider;
350
351 Aws::Vector<Resource> m_provisionedResources;
352
353 ProvisioningProperties m_provisioningProperties;
354
355 EnvironmentStatus m_status;
356
357 Aws::Utils::DateTime m_updatedAt;
358
359 Aws::Vector<CustomParameter> m_userParameters;
360
361 Aws::String m_requestId;
362 };
363
364} // namespace Model
365} // namespace DataZone
366} // namespace Aws
GetEnvironmentResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
GetEnvironmentResult & AddEnvironmentActions(const ConfigurableEnvironmentAction &value)
void SetAwsAccountRegion(const Aws::String &value)
void SetUserParameters(const Aws::Vector< CustomParameter > &value)
GetEnvironmentResult & WithCreatedBy(const char *value)
void SetEnvironmentActions(Aws::Vector< ConfigurableEnvironmentAction > &&value)
void SetDeploymentProperties(const DeploymentProperties &value)
GetEnvironmentResult & WithRequestId(Aws::String &&value)
GetEnvironmentResult & WithAwsAccountId(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetEnvironmentResult & WithAwsAccountRegion(const Aws::String &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
GetEnvironmentResult & WithGlossaryTerms(const Aws::Vector< Aws::String > &value)
GetEnvironmentResult & WithProvider(const char *value)
const Aws::String & GetEnvironmentBlueprintId() const
const EnvironmentStatus & GetStatus() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetEnvironmentResult & WithRequestId(const char *value)
GetEnvironmentResult & WithProjectId(Aws::String &&value)
GetEnvironmentResult & AddUserParameters(const CustomParameter &value)
GetEnvironmentResult & WithProvider(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetEnvironmentResult & AddGlossaryTerms(Aws::String &&value)
GetEnvironmentResult & WithId(const char *value)
GetEnvironmentResult & WithProvisioningProperties(ProvisioningProperties &&value)
GetEnvironmentResult & WithId(const Aws::String &value)
void SetGlossaryTerms(Aws::Vector< Aws::String > &&value)
void SetAwsAccountId(const Aws::String &value)
GetEnvironmentResult & AddUserParameters(CustomParameter &&value)
GetEnvironmentResult & WithLastDeployment(const Deployment &value)
void SetProvisionedResources(const Aws::Vector< Resource > &value)
GetEnvironmentResult & WithCreatedBy(const Aws::String &value)
GetEnvironmentResult & WithUserParameters(const Aws::Vector< CustomParameter > &value)
GetEnvironmentResult & WithProvider(const Aws::String &value)
GetEnvironmentResult & WithDomainId(const Aws::String &value)
GetEnvironmentResult & WithEnvironmentBlueprintId(Aws::String &&value)
const Aws::String & GetEnvironmentProfileId() const
GetEnvironmentResult & WithRequestId(const Aws::String &value)
void SetDeploymentProperties(DeploymentProperties &&value)
GetEnvironmentResult & WithEnvironmentProfileId(const Aws::String &value)
GetEnvironmentResult & AddProvisionedResources(Resource &&value)
GetEnvironmentResult & WithStatus(const EnvironmentStatus &value)
GetEnvironmentResult & AddGlossaryTerms(const char *value)
GetEnvironmentResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetDescription(const Aws::String &value)
void SetGlossaryTerms(const Aws::Vector< Aws::String > &value)
const ProvisioningProperties & GetProvisioningProperties() const
GetEnvironmentResult & WithUserParameters(Aws::Vector< CustomParameter > &&value)
const Aws::Vector< ConfigurableEnvironmentAction > & GetEnvironmentActions() const
GetEnvironmentResult & WithDescription(Aws::String &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
GetEnvironmentResult & WithProvisionedResources(Aws::Vector< Resource > &&value)
GetEnvironmentResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetEnvironmentResult & WithDeploymentProperties(DeploymentProperties &&value)
const Aws::Vector< CustomParameter > & GetUserParameters() const
GetEnvironmentResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetLastDeployment(const Deployment &value)
GetEnvironmentResult & AddEnvironmentActions(ConfigurableEnvironmentAction &&value)
void SetStatus(const EnvironmentStatus &value)
GetEnvironmentResult & WithAwsAccountRegion(Aws::String &&value)
GetEnvironmentResult & WithAwsAccountId(const char *value)
GetEnvironmentResult & WithEnvironmentBlueprintId(const char *value)
GetEnvironmentResult & WithEnvironmentProfileId(const char *value)
GetEnvironmentResult & WithProvisionedResources(const Aws::Vector< Resource > &value)
GetEnvironmentResult & AddGlossaryTerms(const Aws::String &value)
const Aws::Vector< Resource > & GetProvisionedResources() const
GetEnvironmentResult & WithCreatedBy(Aws::String &&value)
GetEnvironmentResult & WithProjectId(const char *value)
const DeploymentProperties & GetDeploymentProperties() const
GetEnvironmentResult & WithProjectId(const Aws::String &value)
void SetCreatedBy(const Aws::String &value)
GetEnvironmentResult & WithLastDeployment(Deployment &&value)
GetEnvironmentResult & WithName(const char *value)
GetEnvironmentResult & WithEnvironmentActions(const Aws::Vector< ConfigurableEnvironmentAction > &value)
GetEnvironmentResult & WithDomainId(const char *value)
GetEnvironmentResult & WithEnvironmentProfileId(Aws::String &&value)
void SetEnvironmentBlueprintId(const Aws::String &value)
GetEnvironmentResult & WithName(const Aws::String &value)
GetEnvironmentResult & WithAwsAccountRegion(const char *value)
GetEnvironmentResult & WithGlossaryTerms(Aws::Vector< Aws::String > &&value)
GetEnvironmentResult & WithId(Aws::String &&value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
GetEnvironmentResult & WithStatus(EnvironmentStatus &&value)
GetEnvironmentResult & WithDescription(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetEnvironmentProfileId(const Aws::String &value)
GetEnvironmentResult & WithDomainId(Aws::String &&value)
GetEnvironmentResult & AddProvisionedResources(const Resource &value)
AWS_DATAZONE_API GetEnvironmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetProvisioningProperties(const ProvisioningProperties &value)
GetEnvironmentResult & WithAwsAccountId(const Aws::String &value)
void SetProvisioningProperties(ProvisioningProperties &&value)
GetEnvironmentResult & WithProvisioningProperties(const ProvisioningProperties &value)
void SetUserParameters(Aws::Vector< CustomParameter > &&value)
GetEnvironmentResult & WithDeploymentProperties(const DeploymentProperties &value)
void SetEnvironmentActions(const Aws::Vector< ConfigurableEnvironmentAction > &value)
GetEnvironmentResult & WithName(Aws::String &&value)
GetEnvironmentResult & WithEnvironmentBlueprintId(const Aws::String &value)
void SetProvisionedResources(Aws::Vector< Resource > &&value)
AWS_DATAZONE_API GetEnvironmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEnvironmentResult & WithDescription(const char *value)
GetEnvironmentResult & WithEnvironmentActions(Aws::Vector< ConfigurableEnvironmentAction > &&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