AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EnvironmentDescription.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/elasticbeanstalk/model/EnvironmentStatus.h>
12#include <aws/elasticbeanstalk/model/EnvironmentHealth.h>
13#include <aws/elasticbeanstalk/model/EnvironmentHealthStatus.h>
14#include <aws/elasticbeanstalk/model/EnvironmentResourcesDescription.h>
15#include <aws/elasticbeanstalk/model/EnvironmentTier.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
17#include <aws/elasticbeanstalk/model/ResponseMetadata.h>
18#include <aws/elasticbeanstalk/model/EnvironmentLink.h>
19#include <utility>
20
21namespace Aws
22{
23namespace Utils
24{
25namespace Xml
26{
27 class XmlNode;
28} // namespace Xml
29} // namespace Utils
30namespace ElasticBeanstalk
31{
32namespace Model
33{
34
41 {
42 public:
43 AWS_ELASTICBEANSTALK_API EnvironmentDescription() = default;
44 AWS_ELASTICBEANSTALK_API EnvironmentDescription(const Aws::Utils::Xml::XmlNode& xmlNode);
45 AWS_ELASTICBEANSTALK_API EnvironmentDescription& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
46
47 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
48 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
49
50
52
55 inline const Aws::String& GetEnvironmentName() const { return m_environmentName; }
56 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
57 template<typename EnvironmentNameT = Aws::String>
58 void SetEnvironmentName(EnvironmentNameT&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::forward<EnvironmentNameT>(value); }
59 template<typename EnvironmentNameT = Aws::String>
60 EnvironmentDescription& WithEnvironmentName(EnvironmentNameT&& value) { SetEnvironmentName(std::forward<EnvironmentNameT>(value)); return *this;}
62
64
67 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
68 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
69 template<typename EnvironmentIdT = Aws::String>
70 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
71 template<typename EnvironmentIdT = Aws::String>
72 EnvironmentDescription& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
74
76
79 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
80 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
81 template<typename ApplicationNameT = Aws::String>
82 void SetApplicationName(ApplicationNameT&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::forward<ApplicationNameT>(value); }
83 template<typename ApplicationNameT = Aws::String>
84 EnvironmentDescription& WithApplicationName(ApplicationNameT&& value) { SetApplicationName(std::forward<ApplicationNameT>(value)); return *this;}
86
88
91 inline const Aws::String& GetVersionLabel() const { return m_versionLabel; }
92 inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; }
93 template<typename VersionLabelT = Aws::String>
94 void SetVersionLabel(VersionLabelT&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::forward<VersionLabelT>(value); }
95 template<typename VersionLabelT = Aws::String>
96 EnvironmentDescription& WithVersionLabel(VersionLabelT&& value) { SetVersionLabel(std::forward<VersionLabelT>(value)); return *this;}
98
100
104 inline const Aws::String& GetSolutionStackName() const { return m_solutionStackName; }
105 inline bool SolutionStackNameHasBeenSet() const { return m_solutionStackNameHasBeenSet; }
106 template<typename SolutionStackNameT = Aws::String>
107 void SetSolutionStackName(SolutionStackNameT&& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = std::forward<SolutionStackNameT>(value); }
108 template<typename SolutionStackNameT = Aws::String>
109 EnvironmentDescription& WithSolutionStackName(SolutionStackNameT&& value) { SetSolutionStackName(std::forward<SolutionStackNameT>(value)); return *this;}
111
113
116 inline const Aws::String& GetPlatformArn() const { return m_platformArn; }
117 inline bool PlatformArnHasBeenSet() const { return m_platformArnHasBeenSet; }
118 template<typename PlatformArnT = Aws::String>
119 void SetPlatformArn(PlatformArnT&& value) { m_platformArnHasBeenSet = true; m_platformArn = std::forward<PlatformArnT>(value); }
120 template<typename PlatformArnT = Aws::String>
121 EnvironmentDescription& WithPlatformArn(PlatformArnT&& value) { SetPlatformArn(std::forward<PlatformArnT>(value)); return *this;}
123
125
129 inline const Aws::String& GetTemplateName() const { return m_templateName; }
130 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
131 template<typename TemplateNameT = Aws::String>
132 void SetTemplateName(TemplateNameT&& value) { m_templateNameHasBeenSet = true; m_templateName = std::forward<TemplateNameT>(value); }
133 template<typename TemplateNameT = Aws::String>
134 EnvironmentDescription& WithTemplateName(TemplateNameT&& value) { SetTemplateName(std::forward<TemplateNameT>(value)); return *this;}
136
138
141 inline const Aws::String& GetDescription() const { return m_description; }
142 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
143 template<typename DescriptionT = Aws::String>
144 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
145 template<typename DescriptionT = Aws::String>
146 EnvironmentDescription& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
148
150
154 inline const Aws::String& GetEndpointURL() const { return m_endpointURL; }
155 inline bool EndpointURLHasBeenSet() const { return m_endpointURLHasBeenSet; }
156 template<typename EndpointURLT = Aws::String>
157 void SetEndpointURL(EndpointURLT&& value) { m_endpointURLHasBeenSet = true; m_endpointURL = std::forward<EndpointURLT>(value); }
158 template<typename EndpointURLT = Aws::String>
159 EnvironmentDescription& WithEndpointURL(EndpointURLT&& value) { SetEndpointURL(std::forward<EndpointURLT>(value)); return *this;}
161
163
166 inline const Aws::String& GetCNAME() const { return m_cNAME; }
167 inline bool CNAMEHasBeenSet() const { return m_cNAMEHasBeenSet; }
168 template<typename CNAMET = Aws::String>
169 void SetCNAME(CNAMET&& value) { m_cNAMEHasBeenSet = true; m_cNAME = std::forward<CNAMET>(value); }
170 template<typename CNAMET = Aws::String>
171 EnvironmentDescription& WithCNAME(CNAMET&& value) { SetCNAME(std::forward<CNAMET>(value)); return *this;}
173
175
178 inline const Aws::Utils::DateTime& GetDateCreated() const { return m_dateCreated; }
179 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
180 template<typename DateCreatedT = Aws::Utils::DateTime>
181 void SetDateCreated(DateCreatedT&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::forward<DateCreatedT>(value); }
182 template<typename DateCreatedT = Aws::Utils::DateTime>
183 EnvironmentDescription& WithDateCreated(DateCreatedT&& value) { SetDateCreated(std::forward<DateCreatedT>(value)); return *this;}
185
187
190 inline const Aws::Utils::DateTime& GetDateUpdated() const { return m_dateUpdated; }
191 inline bool DateUpdatedHasBeenSet() const { return m_dateUpdatedHasBeenSet; }
192 template<typename DateUpdatedT = Aws::Utils::DateTime>
193 void SetDateUpdated(DateUpdatedT&& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = std::forward<DateUpdatedT>(value); }
194 template<typename DateUpdatedT = Aws::Utils::DateTime>
195 EnvironmentDescription& WithDateUpdated(DateUpdatedT&& value) { SetDateUpdated(std::forward<DateUpdatedT>(value)); return *this;}
197
199
209 inline EnvironmentStatus GetStatus() const { return m_status; }
210 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
211 inline void SetStatus(EnvironmentStatus value) { m_statusHasBeenSet = true; m_status = value; }
212 inline EnvironmentDescription& WithStatus(EnvironmentStatus value) { SetStatus(value); return *this;}
214
216
222 inline bool GetAbortableOperationInProgress() const { return m_abortableOperationInProgress; }
223 inline bool AbortableOperationInProgressHasBeenSet() const { return m_abortableOperationInProgressHasBeenSet; }
224 inline void SetAbortableOperationInProgress(bool value) { m_abortableOperationInProgressHasBeenSet = true; m_abortableOperationInProgress = value; }
227
229
243 inline EnvironmentHealth GetHealth() const { return m_health; }
244 inline bool HealthHasBeenSet() const { return m_healthHasBeenSet; }
245 inline void SetHealth(EnvironmentHealth value) { m_healthHasBeenSet = true; m_health = value; }
246 inline EnvironmentDescription& WithHealth(EnvironmentHealth value) { SetHealth(value); return *this;}
248
250
256 inline EnvironmentHealthStatus GetHealthStatus() const { return m_healthStatus; }
257 inline bool HealthStatusHasBeenSet() const { return m_healthStatusHasBeenSet; }
258 inline void SetHealthStatus(EnvironmentHealthStatus value) { m_healthStatusHasBeenSet = true; m_healthStatus = value; }
261
263
266 inline const EnvironmentResourcesDescription& GetResources() const { return m_resources; }
267 inline bool ResourcesHasBeenSet() const { return m_resourcesHasBeenSet; }
268 template<typename ResourcesT = EnvironmentResourcesDescription>
269 void SetResources(ResourcesT&& value) { m_resourcesHasBeenSet = true; m_resources = std::forward<ResourcesT>(value); }
270 template<typename ResourcesT = EnvironmentResourcesDescription>
271 EnvironmentDescription& WithResources(ResourcesT&& value) { SetResources(std::forward<ResourcesT>(value)); return *this;}
273
275
278 inline const EnvironmentTier& GetTier() const { return m_tier; }
279 inline bool TierHasBeenSet() const { return m_tierHasBeenSet; }
280 template<typename TierT = EnvironmentTier>
281 void SetTier(TierT&& value) { m_tierHasBeenSet = true; m_tier = std::forward<TierT>(value); }
282 template<typename TierT = EnvironmentTier>
283 EnvironmentDescription& WithTier(TierT&& value) { SetTier(std::forward<TierT>(value)); return *this;}
285
287
290 inline const Aws::Vector<EnvironmentLink>& GetEnvironmentLinks() const { return m_environmentLinks; }
291 inline bool EnvironmentLinksHasBeenSet() const { return m_environmentLinksHasBeenSet; }
292 template<typename EnvironmentLinksT = Aws::Vector<EnvironmentLink>>
293 void SetEnvironmentLinks(EnvironmentLinksT&& value) { m_environmentLinksHasBeenSet = true; m_environmentLinks = std::forward<EnvironmentLinksT>(value); }
294 template<typename EnvironmentLinksT = Aws::Vector<EnvironmentLink>>
295 EnvironmentDescription& WithEnvironmentLinks(EnvironmentLinksT&& value) { SetEnvironmentLinks(std::forward<EnvironmentLinksT>(value)); return *this;}
296 template<typename EnvironmentLinksT = EnvironmentLink>
297 EnvironmentDescription& AddEnvironmentLinks(EnvironmentLinksT&& value) { m_environmentLinksHasBeenSet = true; m_environmentLinks.emplace_back(std::forward<EnvironmentLinksT>(value)); return *this; }
299
301
305 inline const Aws::String& GetEnvironmentArn() const { return m_environmentArn; }
306 inline bool EnvironmentArnHasBeenSet() const { return m_environmentArnHasBeenSet; }
307 template<typename EnvironmentArnT = Aws::String>
308 void SetEnvironmentArn(EnvironmentArnT&& value) { m_environmentArnHasBeenSet = true; m_environmentArn = std::forward<EnvironmentArnT>(value); }
309 template<typename EnvironmentArnT = Aws::String>
310 EnvironmentDescription& WithEnvironmentArn(EnvironmentArnT&& value) { SetEnvironmentArn(std::forward<EnvironmentArnT>(value)); return *this;}
312
314
320 inline const Aws::String& GetOperationsRole() const { return m_operationsRole; }
321 inline bool OperationsRoleHasBeenSet() const { return m_operationsRoleHasBeenSet; }
322 template<typename OperationsRoleT = Aws::String>
323 void SetOperationsRole(OperationsRoleT&& value) { m_operationsRoleHasBeenSet = true; m_operationsRole = std::forward<OperationsRoleT>(value); }
324 template<typename OperationsRoleT = Aws::String>
325 EnvironmentDescription& WithOperationsRole(OperationsRoleT&& value) { SetOperationsRole(std::forward<OperationsRoleT>(value)); return *this;}
327
329
330 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
331 template<typename ResponseMetadataT = ResponseMetadata>
332 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
333 template<typename ResponseMetadataT = ResponseMetadata>
334 EnvironmentDescription& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
336 private:
337
338 Aws::String m_environmentName;
339 bool m_environmentNameHasBeenSet = false;
340
341 Aws::String m_environmentId;
342 bool m_environmentIdHasBeenSet = false;
343
344 Aws::String m_applicationName;
345 bool m_applicationNameHasBeenSet = false;
346
347 Aws::String m_versionLabel;
348 bool m_versionLabelHasBeenSet = false;
349
350 Aws::String m_solutionStackName;
351 bool m_solutionStackNameHasBeenSet = false;
352
353 Aws::String m_platformArn;
354 bool m_platformArnHasBeenSet = false;
355
356 Aws::String m_templateName;
357 bool m_templateNameHasBeenSet = false;
358
359 Aws::String m_description;
360 bool m_descriptionHasBeenSet = false;
361
362 Aws::String m_endpointURL;
363 bool m_endpointURLHasBeenSet = false;
364
365 Aws::String m_cNAME;
366 bool m_cNAMEHasBeenSet = false;
367
368 Aws::Utils::DateTime m_dateCreated{};
369 bool m_dateCreatedHasBeenSet = false;
370
371 Aws::Utils::DateTime m_dateUpdated{};
372 bool m_dateUpdatedHasBeenSet = false;
373
375 bool m_statusHasBeenSet = false;
376
377 bool m_abortableOperationInProgress{false};
378 bool m_abortableOperationInProgressHasBeenSet = false;
379
381 bool m_healthHasBeenSet = false;
382
384 bool m_healthStatusHasBeenSet = false;
385
386 EnvironmentResourcesDescription m_resources;
387 bool m_resourcesHasBeenSet = false;
388
389 EnvironmentTier m_tier;
390 bool m_tierHasBeenSet = false;
391
392 Aws::Vector<EnvironmentLink> m_environmentLinks;
393 bool m_environmentLinksHasBeenSet = false;
394
395 Aws::String m_environmentArn;
396 bool m_environmentArnHasBeenSet = false;
397
398 Aws::String m_operationsRole;
399 bool m_operationsRoleHasBeenSet = false;
400
401 ResponseMetadata m_responseMetadata;
402 bool m_responseMetadataHasBeenSet = true;
403 };
404
405} // namespace Model
406} // namespace ElasticBeanstalk
407} // namespace Aws
EnvironmentDescription & WithDateUpdated(DateUpdatedT &&value)
EnvironmentDescription & AddEnvironmentLinks(EnvironmentLinksT &&value)
EnvironmentDescription & WithTemplateName(TemplateNameT &&value)
EnvironmentDescription & WithOperationsRole(OperationsRoleT &&value)
EnvironmentDescription & WithEnvironmentName(EnvironmentNameT &&value)
EnvironmentDescription & WithStatus(EnvironmentStatus value)
EnvironmentDescription & WithEnvironmentArn(EnvironmentArnT &&value)
EnvironmentDescription & WithDateCreated(DateCreatedT &&value)
const EnvironmentResourcesDescription & GetResources() const
const Aws::Vector< EnvironmentLink > & GetEnvironmentLinks() const
EnvironmentDescription & WithResources(ResourcesT &&value)
EnvironmentDescription & WithDescription(DescriptionT &&value)
EnvironmentDescription & WithVersionLabel(VersionLabelT &&value)
EnvironmentDescription & WithCNAME(CNAMET &&value)
EnvironmentDescription & WithEnvironmentLinks(EnvironmentLinksT &&value)
EnvironmentDescription & WithAbortableOperationInProgress(bool value)
EnvironmentDescription & WithEnvironmentId(EnvironmentIdT &&value)
EnvironmentDescription & WithHealth(EnvironmentHealth value)
EnvironmentDescription & WithSolutionStackName(SolutionStackNameT &&value)
EnvironmentDescription & WithHealthStatus(EnvironmentHealthStatus value)
AWS_ELASTICBEANSTALK_API EnvironmentDescription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
EnvironmentDescription & WithEndpointURL(EndpointURLT &&value)
EnvironmentDescription & WithResponseMetadata(ResponseMetadataT &&value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICBEANSTALK_API EnvironmentDescription(const Aws::Utils::Xml::XmlNode &xmlNode)
EnvironmentDescription & WithPlatformArn(PlatformArnT &&value)
AWS_ELASTICBEANSTALK_API EnvironmentDescription()=default
EnvironmentDescription & WithApplicationName(ApplicationNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream