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/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/elasticbeanstalk/model/EnvironmentStatus.h>
11#include <aws/elasticbeanstalk/model/EnvironmentHealth.h>
12#include <aws/elasticbeanstalk/model/EnvironmentHealthStatus.h>
13#include <aws/elasticbeanstalk/model/EnvironmentResourcesDescription.h>
14#include <aws/elasticbeanstalk/model/EnvironmentTier.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/elasticbeanstalk/model/ResponseMetadata.h>
17#include <aws/elasticbeanstalk/model/EnvironmentLink.h>
18#include <utility>
19
20namespace Aws
21{
22template<typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils
26{
27namespace Xml
28{
29 class XmlDocument;
30} // namespace Xml
31} // namespace Utils
32namespace ElasticBeanstalk
33{
34namespace Model
35{
42 {
43 public:
44 AWS_ELASTICBEANSTALK_API CreateEnvironmentResult();
47
48
50
53 inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
54 inline void SetEnvironmentName(const Aws::String& value) { m_environmentName = value; }
55 inline void SetEnvironmentName(Aws::String&& value) { m_environmentName = std::move(value); }
56 inline void SetEnvironmentName(const char* value) { m_environmentName.assign(value); }
57 inline CreateEnvironmentResult& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
58 inline CreateEnvironmentResult& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
59 inline CreateEnvironmentResult& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
61
63
66 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
67 inline void SetEnvironmentId(const Aws::String& value) { m_environmentId = value; }
68 inline void SetEnvironmentId(Aws::String&& value) { m_environmentId = std::move(value); }
69 inline void SetEnvironmentId(const char* value) { m_environmentId.assign(value); }
70 inline CreateEnvironmentResult& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
71 inline CreateEnvironmentResult& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
72 inline CreateEnvironmentResult& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
74
76
79 inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
80 inline void SetApplicationName(const Aws::String& value) { m_applicationName = value; }
81 inline void SetApplicationName(Aws::String&& value) { m_applicationName = std::move(value); }
82 inline void SetApplicationName(const char* value) { m_applicationName.assign(value); }
83 inline CreateEnvironmentResult& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
84 inline CreateEnvironmentResult& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
85 inline CreateEnvironmentResult& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
87
89
92 inline const Aws::String& GetVersionLabel() const{ return m_versionLabel; }
93 inline void SetVersionLabel(const Aws::String& value) { m_versionLabel = value; }
94 inline void SetVersionLabel(Aws::String&& value) { m_versionLabel = std::move(value); }
95 inline void SetVersionLabel(const char* value) { m_versionLabel.assign(value); }
96 inline CreateEnvironmentResult& WithVersionLabel(const Aws::String& value) { SetVersionLabel(value); return *this;}
97 inline CreateEnvironmentResult& WithVersionLabel(Aws::String&& value) { SetVersionLabel(std::move(value)); return *this;}
98 inline CreateEnvironmentResult& WithVersionLabel(const char* value) { SetVersionLabel(value); return *this;}
100
102
106 inline const Aws::String& GetSolutionStackName() const{ return m_solutionStackName; }
107 inline void SetSolutionStackName(const Aws::String& value) { m_solutionStackName = value; }
108 inline void SetSolutionStackName(Aws::String&& value) { m_solutionStackName = std::move(value); }
109 inline void SetSolutionStackName(const char* value) { m_solutionStackName.assign(value); }
111 inline CreateEnvironmentResult& WithSolutionStackName(Aws::String&& value) { SetSolutionStackName(std::move(value)); return *this;}
112 inline CreateEnvironmentResult& WithSolutionStackName(const char* value) { SetSolutionStackName(value); return *this;}
114
116
119 inline const Aws::String& GetPlatformArn() const{ return m_platformArn; }
120 inline void SetPlatformArn(const Aws::String& value) { m_platformArn = value; }
121 inline void SetPlatformArn(Aws::String&& value) { m_platformArn = std::move(value); }
122 inline void SetPlatformArn(const char* value) { m_platformArn.assign(value); }
123 inline CreateEnvironmentResult& WithPlatformArn(const Aws::String& value) { SetPlatformArn(value); return *this;}
124 inline CreateEnvironmentResult& WithPlatformArn(Aws::String&& value) { SetPlatformArn(std::move(value)); return *this;}
125 inline CreateEnvironmentResult& WithPlatformArn(const char* value) { SetPlatformArn(value); return *this;}
127
129
133 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
134 inline void SetTemplateName(const Aws::String& value) { m_templateName = value; }
135 inline void SetTemplateName(Aws::String&& value) { m_templateName = std::move(value); }
136 inline void SetTemplateName(const char* value) { m_templateName.assign(value); }
137 inline CreateEnvironmentResult& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
138 inline CreateEnvironmentResult& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
139 inline CreateEnvironmentResult& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
141
143
146 inline const Aws::String& GetDescription() const{ return m_description; }
147 inline void SetDescription(const Aws::String& value) { m_description = value; }
148 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
149 inline void SetDescription(const char* value) { m_description.assign(value); }
150 inline CreateEnvironmentResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
151 inline CreateEnvironmentResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
152 inline CreateEnvironmentResult& WithDescription(const char* value) { SetDescription(value); return *this;}
154
156
160 inline const Aws::String& GetEndpointURL() const{ return m_endpointURL; }
161 inline void SetEndpointURL(const Aws::String& value) { m_endpointURL = value; }
162 inline void SetEndpointURL(Aws::String&& value) { m_endpointURL = std::move(value); }
163 inline void SetEndpointURL(const char* value) { m_endpointURL.assign(value); }
164 inline CreateEnvironmentResult& WithEndpointURL(const Aws::String& value) { SetEndpointURL(value); return *this;}
165 inline CreateEnvironmentResult& WithEndpointURL(Aws::String&& value) { SetEndpointURL(std::move(value)); return *this;}
166 inline CreateEnvironmentResult& WithEndpointURL(const char* value) { SetEndpointURL(value); return *this;}
168
170
173 inline const Aws::String& GetCNAME() const{ return m_cNAME; }
174 inline void SetCNAME(const Aws::String& value) { m_cNAME = value; }
175 inline void SetCNAME(Aws::String&& value) { m_cNAME = std::move(value); }
176 inline void SetCNAME(const char* value) { m_cNAME.assign(value); }
177 inline CreateEnvironmentResult& WithCNAME(const Aws::String& value) { SetCNAME(value); return *this;}
178 inline CreateEnvironmentResult& WithCNAME(Aws::String&& value) { SetCNAME(std::move(value)); return *this;}
179 inline CreateEnvironmentResult& WithCNAME(const char* value) { SetCNAME(value); return *this;}
181
183
186 inline const Aws::Utils::DateTime& GetDateCreated() const{ return m_dateCreated; }
187 inline void SetDateCreated(const Aws::Utils::DateTime& value) { m_dateCreated = value; }
188 inline void SetDateCreated(Aws::Utils::DateTime&& value) { m_dateCreated = std::move(value); }
189 inline CreateEnvironmentResult& WithDateCreated(const Aws::Utils::DateTime& value) { SetDateCreated(value); return *this;}
190 inline CreateEnvironmentResult& WithDateCreated(Aws::Utils::DateTime&& value) { SetDateCreated(std::move(value)); return *this;}
192
194
197 inline const Aws::Utils::DateTime& GetDateUpdated() const{ return m_dateUpdated; }
198 inline void SetDateUpdated(const Aws::Utils::DateTime& value) { m_dateUpdated = value; }
199 inline void SetDateUpdated(Aws::Utils::DateTime&& value) { m_dateUpdated = std::move(value); }
200 inline CreateEnvironmentResult& WithDateUpdated(const Aws::Utils::DateTime& value) { SetDateUpdated(value); return *this;}
201 inline CreateEnvironmentResult& WithDateUpdated(Aws::Utils::DateTime&& value) { SetDateUpdated(std::move(value)); return *this;}
203
205
215 inline const EnvironmentStatus& GetStatus() const{ return m_status; }
216 inline void SetStatus(const EnvironmentStatus& value) { m_status = value; }
217 inline void SetStatus(EnvironmentStatus&& value) { m_status = std::move(value); }
218 inline CreateEnvironmentResult& WithStatus(const EnvironmentStatus& value) { SetStatus(value); return *this;}
219 inline CreateEnvironmentResult& WithStatus(EnvironmentStatus&& value) { SetStatus(std::move(value)); return *this;}
221
223
229 inline bool GetAbortableOperationInProgress() const{ return m_abortableOperationInProgress; }
230 inline void SetAbortableOperationInProgress(bool value) { m_abortableOperationInProgress = value; }
233
235
249 inline const EnvironmentHealth& GetHealth() const{ return m_health; }
250 inline void SetHealth(const EnvironmentHealth& value) { m_health = value; }
251 inline void SetHealth(EnvironmentHealth&& value) { m_health = std::move(value); }
252 inline CreateEnvironmentResult& WithHealth(const EnvironmentHealth& value) { SetHealth(value); return *this;}
253 inline CreateEnvironmentResult& WithHealth(EnvironmentHealth&& value) { SetHealth(std::move(value)); return *this;}
255
257
263 inline const EnvironmentHealthStatus& GetHealthStatus() const{ return m_healthStatus; }
264 inline void SetHealthStatus(const EnvironmentHealthStatus& value) { m_healthStatus = value; }
265 inline void SetHealthStatus(EnvironmentHealthStatus&& value) { m_healthStatus = std::move(value); }
267 inline CreateEnvironmentResult& WithHealthStatus(EnvironmentHealthStatus&& value) { SetHealthStatus(std::move(value)); return *this;}
269
271
274 inline const EnvironmentResourcesDescription& GetResources() const{ return m_resources; }
275 inline void SetResources(const EnvironmentResourcesDescription& value) { m_resources = value; }
276 inline void SetResources(EnvironmentResourcesDescription&& value) { m_resources = std::move(value); }
278 inline CreateEnvironmentResult& WithResources(EnvironmentResourcesDescription&& value) { SetResources(std::move(value)); return *this;}
280
282
285 inline const EnvironmentTier& GetTier() const{ return m_tier; }
286 inline void SetTier(const EnvironmentTier& value) { m_tier = value; }
287 inline void SetTier(EnvironmentTier&& value) { m_tier = std::move(value); }
288 inline CreateEnvironmentResult& WithTier(const EnvironmentTier& value) { SetTier(value); return *this;}
289 inline CreateEnvironmentResult& WithTier(EnvironmentTier&& value) { SetTier(std::move(value)); return *this;}
291
293
296 inline const Aws::Vector<EnvironmentLink>& GetEnvironmentLinks() const{ return m_environmentLinks; }
297 inline void SetEnvironmentLinks(const Aws::Vector<EnvironmentLink>& value) { m_environmentLinks = value; }
298 inline void SetEnvironmentLinks(Aws::Vector<EnvironmentLink>&& value) { m_environmentLinks = std::move(value); }
301 inline CreateEnvironmentResult& AddEnvironmentLinks(const EnvironmentLink& value) { m_environmentLinks.push_back(value); return *this; }
302 inline CreateEnvironmentResult& AddEnvironmentLinks(EnvironmentLink&& value) { m_environmentLinks.push_back(std::move(value)); return *this; }
304
306
310 inline const Aws::String& GetEnvironmentArn() const{ return m_environmentArn; }
311 inline void SetEnvironmentArn(const Aws::String& value) { m_environmentArn = value; }
312 inline void SetEnvironmentArn(Aws::String&& value) { m_environmentArn = std::move(value); }
313 inline void SetEnvironmentArn(const char* value) { m_environmentArn.assign(value); }
314 inline CreateEnvironmentResult& WithEnvironmentArn(const Aws::String& value) { SetEnvironmentArn(value); return *this;}
315 inline CreateEnvironmentResult& WithEnvironmentArn(Aws::String&& value) { SetEnvironmentArn(std::move(value)); return *this;}
316 inline CreateEnvironmentResult& WithEnvironmentArn(const char* value) { SetEnvironmentArn(value); return *this;}
318
320
326 inline const Aws::String& GetOperationsRole() const{ return m_operationsRole; }
327 inline void SetOperationsRole(const Aws::String& value) { m_operationsRole = value; }
328 inline void SetOperationsRole(Aws::String&& value) { m_operationsRole = std::move(value); }
329 inline void SetOperationsRole(const char* value) { m_operationsRole.assign(value); }
330 inline CreateEnvironmentResult& WithOperationsRole(const Aws::String& value) { SetOperationsRole(value); return *this;}
331 inline CreateEnvironmentResult& WithOperationsRole(Aws::String&& value) { SetOperationsRole(std::move(value)); return *this;}
332 inline CreateEnvironmentResult& WithOperationsRole(const char* value) { SetOperationsRole(value); return *this;}
334
336
337 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
338 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
339 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
341 inline CreateEnvironmentResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
343 private:
344
345 Aws::String m_environmentName;
346
347 Aws::String m_environmentId;
348
349 Aws::String m_applicationName;
350
351 Aws::String m_versionLabel;
352
353 Aws::String m_solutionStackName;
354
355 Aws::String m_platformArn;
356
357 Aws::String m_templateName;
358
359 Aws::String m_description;
360
361 Aws::String m_endpointURL;
362
363 Aws::String m_cNAME;
364
365 Aws::Utils::DateTime m_dateCreated;
366
367 Aws::Utils::DateTime m_dateUpdated;
368
369 EnvironmentStatus m_status;
370
371 bool m_abortableOperationInProgress;
372
373 EnvironmentHealth m_health;
374
375 EnvironmentHealthStatus m_healthStatus;
376
378
379 EnvironmentTier m_tier;
380
381 Aws::Vector<EnvironmentLink> m_environmentLinks;
382
383 Aws::String m_environmentArn;
384
385 Aws::String m_operationsRole;
386
387 ResponseMetadata m_responseMetadata;
388 };
389
390} // namespace Model
391} // namespace ElasticBeanstalk
392} // namespace Aws
CreateEnvironmentResult & WithVersionLabel(Aws::String &&value)
CreateEnvironmentResult & WithResponseMetadata(ResponseMetadata &&value)
CreateEnvironmentResult & WithStatus(const EnvironmentStatus &value)
CreateEnvironmentResult & WithEnvironmentName(const Aws::String &value)
CreateEnvironmentResult & WithPlatformArn(const char *value)
CreateEnvironmentResult & AddEnvironmentLinks(EnvironmentLink &&value)
CreateEnvironmentResult & AddEnvironmentLinks(const EnvironmentLink &value)
CreateEnvironmentResult & WithEnvironmentId(Aws::String &&value)
CreateEnvironmentResult & WithAbortableOperationInProgress(bool value)
CreateEnvironmentResult & WithTemplateName(const Aws::String &value)
const Aws::Vector< EnvironmentLink > & GetEnvironmentLinks() const
void SetHealthStatus(const EnvironmentHealthStatus &value)
CreateEnvironmentResult & WithSolutionStackName(const Aws::String &value)
CreateEnvironmentResult & WithResources(const EnvironmentResourcesDescription &value)
CreateEnvironmentResult & WithCNAME(Aws::String &&value)
void SetResources(EnvironmentResourcesDescription &&value)
CreateEnvironmentResult & WithEnvironmentArn(const Aws::String &value)
CreateEnvironmentResult & WithDateUpdated(Aws::Utils::DateTime &&value)
CreateEnvironmentResult & WithEnvironmentId(const Aws::String &value)
CreateEnvironmentResult & WithOperationsRole(const Aws::String &value)
CreateEnvironmentResult & WithDateCreated(const Aws::Utils::DateTime &value)
CreateEnvironmentResult & WithEnvironmentArn(Aws::String &&value)
CreateEnvironmentResult & WithTemplateName(const char *value)
CreateEnvironmentResult & WithVersionLabel(const char *value)
CreateEnvironmentResult & WithPlatformArn(Aws::String &&value)
CreateEnvironmentResult & WithEndpointURL(const char *value)
CreateEnvironmentResult & WithTier(const EnvironmentTier &value)
CreateEnvironmentResult & WithEnvironmentId(const char *value)
CreateEnvironmentResult & WithEnvironmentArn(const char *value)
CreateEnvironmentResult & WithResources(EnvironmentResourcesDescription &&value)
CreateEnvironmentResult & WithHealthStatus(EnvironmentHealthStatus &&value)
CreateEnvironmentResult & WithHealth(EnvironmentHealth &&value)
CreateEnvironmentResult & WithApplicationName(const Aws::String &value)
void SetEnvironmentLinks(Aws::Vector< EnvironmentLink > &&value)
CreateEnvironmentResult & WithApplicationName(const char *value)
CreateEnvironmentResult & WithEnvironmentLinks(const Aws::Vector< EnvironmentLink > &value)
CreateEnvironmentResult & WithEnvironmentLinks(Aws::Vector< EnvironmentLink > &&value)
CreateEnvironmentResult & WithResponseMetadata(const ResponseMetadata &value)
CreateEnvironmentResult & WithOperationsRole(const char *value)
CreateEnvironmentResult & WithHealthStatus(const EnvironmentHealthStatus &value)
CreateEnvironmentResult & WithHealth(const EnvironmentHealth &value)
CreateEnvironmentResult & WithTier(EnvironmentTier &&value)
CreateEnvironmentResult & WithDescription(Aws::String &&value)
CreateEnvironmentResult & WithCNAME(const Aws::String &value)
CreateEnvironmentResult & WithTemplateName(Aws::String &&value)
CreateEnvironmentResult & WithEnvironmentName(Aws::String &&value)
CreateEnvironmentResult & WithEnvironmentName(const char *value)
CreateEnvironmentResult & WithDateUpdated(const Aws::Utils::DateTime &value)
CreateEnvironmentResult & WithOperationsRole(Aws::String &&value)
CreateEnvironmentResult & WithSolutionStackName(const char *value)
CreateEnvironmentResult & WithCNAME(const char *value)
AWS_ELASTICBEANSTALK_API CreateEnvironmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateEnvironmentResult & WithDescription(const Aws::String &value)
CreateEnvironmentResult & WithDescription(const char *value)
CreateEnvironmentResult & WithEndpointURL(const Aws::String &value)
CreateEnvironmentResult & WithStatus(EnvironmentStatus &&value)
void SetResources(const EnvironmentResourcesDescription &value)
CreateEnvironmentResult & WithSolutionStackName(Aws::String &&value)
const EnvironmentResourcesDescription & GetResources() const
CreateEnvironmentResult & WithVersionLabel(const Aws::String &value)
void SetEnvironmentLinks(const Aws::Vector< EnvironmentLink > &value)
AWS_ELASTICBEANSTALK_API CreateEnvironmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const EnvironmentHealthStatus & GetHealthStatus() const
CreateEnvironmentResult & WithEndpointURL(Aws::String &&value)
CreateEnvironmentResult & WithDateCreated(Aws::Utils::DateTime &&value)
CreateEnvironmentResult & WithApplicationName(Aws::String &&value)
CreateEnvironmentResult & WithPlatformArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument