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/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 UpdateEnvironmentResult();
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 UpdateEnvironmentResult& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
58 inline UpdateEnvironmentResult& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
59 inline UpdateEnvironmentResult& 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 UpdateEnvironmentResult& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
71 inline UpdateEnvironmentResult& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
72 inline UpdateEnvironmentResult& 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 UpdateEnvironmentResult& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
84 inline UpdateEnvironmentResult& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
85 inline UpdateEnvironmentResult& 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 UpdateEnvironmentResult& WithVersionLabel(const Aws::String& value) { SetVersionLabel(value); return *this;}
97 inline UpdateEnvironmentResult& WithVersionLabel(Aws::String&& value) { SetVersionLabel(std::move(value)); return *this;}
98 inline UpdateEnvironmentResult& 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 UpdateEnvironmentResult& WithSolutionStackName(Aws::String&& value) { SetSolutionStackName(std::move(value)); return *this;}
112 inline UpdateEnvironmentResult& 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 UpdateEnvironmentResult& WithPlatformArn(const Aws::String& value) { SetPlatformArn(value); return *this;}
124 inline UpdateEnvironmentResult& WithPlatformArn(Aws::String&& value) { SetPlatformArn(std::move(value)); return *this;}
125 inline UpdateEnvironmentResult& 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 UpdateEnvironmentResult& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
138 inline UpdateEnvironmentResult& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
139 inline UpdateEnvironmentResult& 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 UpdateEnvironmentResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
151 inline UpdateEnvironmentResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
152 inline UpdateEnvironmentResult& 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 UpdateEnvironmentResult& WithEndpointURL(const Aws::String& value) { SetEndpointURL(value); return *this;}
165 inline UpdateEnvironmentResult& WithEndpointURL(Aws::String&& value) { SetEndpointURL(std::move(value)); return *this;}
166 inline UpdateEnvironmentResult& 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 UpdateEnvironmentResult& WithCNAME(const Aws::String& value) { SetCNAME(value); return *this;}
178 inline UpdateEnvironmentResult& WithCNAME(Aws::String&& value) { SetCNAME(std::move(value)); return *this;}
179 inline UpdateEnvironmentResult& 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 UpdateEnvironmentResult& WithDateCreated(const Aws::Utils::DateTime& value) { SetDateCreated(value); return *this;}
190 inline UpdateEnvironmentResult& 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 UpdateEnvironmentResult& WithDateUpdated(const Aws::Utils::DateTime& value) { SetDateUpdated(value); return *this;}
201 inline UpdateEnvironmentResult& 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 UpdateEnvironmentResult& WithStatus(const EnvironmentStatus& value) { SetStatus(value); return *this;}
219 inline UpdateEnvironmentResult& 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 UpdateEnvironmentResult& WithHealth(const EnvironmentHealth& value) { SetHealth(value); return *this;}
253 inline UpdateEnvironmentResult& 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 UpdateEnvironmentResult& 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 UpdateEnvironmentResult& 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 UpdateEnvironmentResult& WithTier(const EnvironmentTier& value) { SetTier(value); return *this;}
289 inline UpdateEnvironmentResult& 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 UpdateEnvironmentResult& AddEnvironmentLinks(const EnvironmentLink& value) { m_environmentLinks.push_back(value); return *this; }
302 inline UpdateEnvironmentResult& 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 UpdateEnvironmentResult& WithEnvironmentArn(const Aws::String& value) { SetEnvironmentArn(value); return *this;}
315 inline UpdateEnvironmentResult& WithEnvironmentArn(Aws::String&& value) { SetEnvironmentArn(std::move(value)); return *this;}
316 inline UpdateEnvironmentResult& 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 UpdateEnvironmentResult& WithOperationsRole(const Aws::String& value) { SetOperationsRole(value); return *this;}
331 inline UpdateEnvironmentResult& WithOperationsRole(Aws::String&& value) { SetOperationsRole(std::move(value)); return *this;}
332 inline UpdateEnvironmentResult& 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 UpdateEnvironmentResult& 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
void SetResources(const EnvironmentResourcesDescription &value)
const Aws::Vector< EnvironmentLink > & GetEnvironmentLinks() const
UpdateEnvironmentResult & WithDescription(const char *value)
UpdateEnvironmentResult & WithEnvironmentId(Aws::String &&value)
AWS_ELASTICBEANSTALK_API UpdateEnvironmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
UpdateEnvironmentResult & WithEnvironmentName(const char *value)
UpdateEnvironmentResult & AddEnvironmentLinks(const EnvironmentLink &value)
UpdateEnvironmentResult & WithDateCreated(Aws::Utils::DateTime &&value)
AWS_ELASTICBEANSTALK_API UpdateEnvironmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
UpdateEnvironmentResult & WithDateUpdated(Aws::Utils::DateTime &&value)
UpdateEnvironmentResult & WithEnvironmentId(const char *value)
UpdateEnvironmentResult & WithHealthStatus(EnvironmentHealthStatus &&value)
void SetResources(EnvironmentResourcesDescription &&value)
UpdateEnvironmentResult & WithDateUpdated(const Aws::Utils::DateTime &value)
UpdateEnvironmentResult & WithHealth(const EnvironmentHealth &value)
UpdateEnvironmentResult & WithPlatformArn(const char *value)
UpdateEnvironmentResult & WithSolutionStackName(const Aws::String &value)
UpdateEnvironmentResult & WithOperationsRole(Aws::String &&value)
UpdateEnvironmentResult & WithDescription(Aws::String &&value)
void SetHealthStatus(const EnvironmentHealthStatus &value)
UpdateEnvironmentResult & AddEnvironmentLinks(EnvironmentLink &&value)
void SetEnvironmentLinks(const Aws::Vector< EnvironmentLink > &value)
UpdateEnvironmentResult & WithOperationsRole(const char *value)
UpdateEnvironmentResult & WithPlatformArn(Aws::String &&value)
UpdateEnvironmentResult & WithTemplateName(Aws::String &&value)
UpdateEnvironmentResult & WithEndpointURL(const char *value)
UpdateEnvironmentResult & WithEnvironmentLinks(const Aws::Vector< EnvironmentLink > &value)
UpdateEnvironmentResult & WithTemplateName(const char *value)
UpdateEnvironmentResult & WithResponseMetadata(ResponseMetadata &&value)
UpdateEnvironmentResult & WithResponseMetadata(const ResponseMetadata &value)
UpdateEnvironmentResult & WithHealthStatus(const EnvironmentHealthStatus &value)
UpdateEnvironmentResult & WithSolutionStackName(Aws::String &&value)
UpdateEnvironmentResult & WithStatus(EnvironmentStatus &&value)
const EnvironmentHealthStatus & GetHealthStatus() const
UpdateEnvironmentResult & WithVersionLabel(Aws::String &&value)
UpdateEnvironmentResult & WithHealth(EnvironmentHealth &&value)
UpdateEnvironmentResult & WithApplicationName(Aws::String &&value)
UpdateEnvironmentResult & WithEndpointURL(Aws::String &&value)
UpdateEnvironmentResult & WithVersionLabel(const char *value)
UpdateEnvironmentResult & WithCNAME(const char *value)
UpdateEnvironmentResult & WithEnvironmentName(const Aws::String &value)
const EnvironmentResourcesDescription & GetResources() const
UpdateEnvironmentResult & WithVersionLabel(const Aws::String &value)
UpdateEnvironmentResult & WithSolutionStackName(const char *value)
void SetEnvironmentLinks(Aws::Vector< EnvironmentLink > &&value)
UpdateEnvironmentResult & WithResources(const EnvironmentResourcesDescription &value)
UpdateEnvironmentResult & WithTier(const EnvironmentTier &value)
UpdateEnvironmentResult & WithEnvironmentLinks(Aws::Vector< EnvironmentLink > &&value)
UpdateEnvironmentResult & WithAbortableOperationInProgress(bool value)
UpdateEnvironmentResult & WithDescription(const Aws::String &value)
UpdateEnvironmentResult & WithTier(EnvironmentTier &&value)
UpdateEnvironmentResult & WithApplicationName(const char *value)
UpdateEnvironmentResult & WithStatus(const EnvironmentStatus &value)
UpdateEnvironmentResult & WithOperationsRole(const Aws::String &value)
UpdateEnvironmentResult & WithPlatformArn(const Aws::String &value)
UpdateEnvironmentResult & WithEnvironmentArn(const char *value)
UpdateEnvironmentResult & WithEndpointURL(const Aws::String &value)
UpdateEnvironmentResult & WithCNAME(Aws::String &&value)
UpdateEnvironmentResult & WithEnvironmentName(Aws::String &&value)
UpdateEnvironmentResult & WithTemplateName(const Aws::String &value)
UpdateEnvironmentResult & WithCNAME(const Aws::String &value)
UpdateEnvironmentResult & WithEnvironmentId(const Aws::String &value)
UpdateEnvironmentResult & WithApplicationName(const Aws::String &value)
UpdateEnvironmentResult & WithDateCreated(const Aws::Utils::DateTime &value)
UpdateEnvironmentResult & WithEnvironmentArn(const Aws::String &value)
UpdateEnvironmentResult & WithEnvironmentArn(Aws::String &&value)
UpdateEnvironmentResult & WithResources(EnvironmentResourcesDescription &&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