7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
12#include <aws/elasticbeanstalk/model/ApplicationMetrics.h>
13#include <aws/elasticbeanstalk/model/EnvironmentHealth.h>
14#include <aws/elasticbeanstalk/model/InstanceHealthSummary.h>
15#include <aws/elasticbeanstalk/model/ResponseMetadata.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
28namespace ElasticBeanstalk {
48 template <
typename EnvironmentNameT = Aws::String>
50 m_environmentNameHasBeenSet =
true;
51 m_environmentName = std::forward<EnvironmentNameT>(value);
53 template <
typename EnvironmentNameT = Aws::String>
67 template <
typename HealthStatusT = Aws::String>
69 m_healthStatusHasBeenSet =
true;
70 m_healthStatus = std::forward<HealthStatusT>(value);
72 template <
typename HealthStatusT = Aws::String>
87 m_statusHasBeenSet =
true;
103 template <
typename ColorT = Aws::String>
105 m_colorHasBeenSet =
true;
106 m_color = std::forward<ColorT>(value);
108 template <
typename ColorT = Aws::String>
110 SetColor(std::forward<ColorT>(value));
121 template <
typename CausesT = Aws::Vector<Aws::String>>
123 m_causesHasBeenSet =
true;
124 m_causes = std::forward<CausesT>(value);
126 template <
typename CausesT = Aws::Vector<Aws::String>>
131 template <
typename CausesT = Aws::String>
133 m_causesHasBeenSet =
true;
134 m_causes.emplace_back(std::forward<CausesT>(value));
144 template <
typename ApplicationMetricsT = ApplicationMetrics>
146 m_applicationMetricsHasBeenSet =
true;
147 m_applicationMetrics = std::forward<ApplicationMetricsT>(value);
149 template <
typename ApplicationMetricsT = ApplicationMetrics>
161 template <
typename InstancesHealthT = InstanceHealthSummary>
163 m_instancesHealthHasBeenSet =
true;
164 m_instancesHealth = std::forward<InstancesHealthT>(value);
166 template <
typename InstancesHealthT = InstanceHealthSummary>
178 template <
typename RefreshedAtT = Aws::Utils::DateTime>
180 m_refreshedAtHasBeenSet =
true;
181 m_refreshedAt = std::forward<RefreshedAtT>(value);
183 template <
typename RefreshedAtT = Aws::Utils::DateTime>
193 template <
typename ResponseMetadataT = ResponseMetadata>
195 m_responseMetadataHasBeenSet =
true;
196 m_responseMetadata = std::forward<ResponseMetadataT>(value);
198 template <
typename ResponseMetadataT = ResponseMetadata>
217 ApplicationMetrics m_applicationMetrics;
219 InstanceHealthSummary m_instancesHealth;
223 ResponseMetadata m_responseMetadata;
225 bool m_environmentNameHasBeenSet =
false;
226 bool m_healthStatusHasBeenSet =
false;
227 bool m_statusHasBeenSet =
false;
228 bool m_colorHasBeenSet =
false;
229 bool m_causesHasBeenSet =
false;
230 bool m_applicationMetricsHasBeenSet =
false;
231 bool m_instancesHealthHasBeenSet =
false;
232 bool m_refreshedAtHasBeenSet =
false;
233 bool m_responseMetadataHasBeenSet =
false;
const Aws::String & GetHealthStatus() const
DescribeEnvironmentHealthResult & WithStatus(EnvironmentHealth value)
void SetResponseMetadata(ResponseMetadataT &&value)
const Aws::Vector< Aws::String > & GetCauses() const
void SetStatus(EnvironmentHealth value)
DescribeEnvironmentHealthResult & WithRefreshedAt(RefreshedAtT &&value)
AWS_ELASTICBEANSTALK_API DescribeEnvironmentHealthResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeEnvironmentHealthResult & WithInstancesHealth(InstancesHealthT &&value)
AWS_ELASTICBEANSTALK_API DescribeEnvironmentHealthResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Utils::DateTime & GetRefreshedAt() const
const Aws::String & GetEnvironmentName() const
void SetEnvironmentName(EnvironmentNameT &&value)
void SetColor(ColorT &&value)
DescribeEnvironmentHealthResult & WithApplicationMetrics(ApplicationMetricsT &&value)
void SetRefreshedAt(RefreshedAtT &&value)
void SetHealthStatus(HealthStatusT &&value)
EnvironmentHealth GetStatus() const
const InstanceHealthSummary & GetInstancesHealth() const
void SetCauses(CausesT &&value)
DescribeEnvironmentHealthResult & WithResponseMetadata(ResponseMetadataT &&value)
DescribeEnvironmentHealthResult & WithEnvironmentName(EnvironmentNameT &&value)
void SetInstancesHealth(InstancesHealthT &&value)
const Aws::String & GetColor() const
const ResponseMetadata & GetResponseMetadata() const
DescribeEnvironmentHealthResult & AddCauses(CausesT &&value)
DescribeEnvironmentHealthResult & WithColor(ColorT &&value)
const ApplicationMetrics & GetApplicationMetrics() const
AWS_ELASTICBEANSTALK_API DescribeEnvironmentHealthResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetApplicationMetrics(ApplicationMetricsT &&value)
DescribeEnvironmentHealthResult & WithCauses(CausesT &&value)
DescribeEnvironmentHealthResult & WithHealthStatus(HealthStatusT &&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