/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Health details for an AWS Elastic Beanstalk environment.See
* Also:
AWS
* API Reference
The environment's name.
*/ inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; } /** *The environment's name.
*/ inline void SetEnvironmentName(const Aws::String& value) { m_environmentName = value; } /** *The environment's name.
*/ inline void SetEnvironmentName(Aws::String&& value) { m_environmentName = std::move(value); } /** *The environment's name.
*/ inline void SetEnvironmentName(const char* value) { m_environmentName.assign(value); } /** *The environment's name.
*/ inline DescribeEnvironmentHealthResult& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;} /** *The environment's name.
*/ inline DescribeEnvironmentHealthResult& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;} /** *The environment's name.
*/ inline DescribeEnvironmentHealthResult& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;} /** *The health
* status of the environment. For example, Ok
.
The health
* status of the environment. For example, Ok
.
The health
* status of the environment. For example, Ok
.
The health
* status of the environment. For example, Ok
.
The health
* status of the environment. For example, Ok
.
The health
* status of the environment. For example, Ok
.
The health
* status of the environment. For example, Ok
.
The environment's operational status. Ready
,
* Launching
, Updating
, Terminating
, or
* Terminated
.
The environment's operational status. Ready
,
* Launching
, Updating
, Terminating
, or
* Terminated
.
The environment's operational status. Ready
,
* Launching
, Updating
, Terminating
, or
* Terminated
.
The environment's operational status. Ready
,
* Launching
, Updating
, Terminating
, or
* Terminated
.
The environment's operational status. Ready
,
* Launching
, Updating
, Terminating
, or
* Terminated
.
The health * color of the environment.
*/ inline const Aws::String& GetColor() const{ return m_color; } /** *The health * color of the environment.
*/ inline void SetColor(const Aws::String& value) { m_color = value; } /** *The health * color of the environment.
*/ inline void SetColor(Aws::String&& value) { m_color = std::move(value); } /** *The health * color of the environment.
*/ inline void SetColor(const char* value) { m_color.assign(value); } /** *The health * color of the environment.
*/ inline DescribeEnvironmentHealthResult& WithColor(const Aws::String& value) { SetColor(value); return *this;} /** *The health * color of the environment.
*/ inline DescribeEnvironmentHealthResult& WithColor(Aws::String&& value) { SetColor(std::move(value)); return *this;} /** *The health * color of the environment.
*/ inline DescribeEnvironmentHealthResult& WithColor(const char* value) { SetColor(value); return *this;} /** *Descriptions of the data that contributed to the environment's current health * status.
*/ inline const Aws::VectorDescriptions of the data that contributed to the environment's current health * status.
*/ inline void SetCauses(const Aws::VectorDescriptions of the data that contributed to the environment's current health * status.
*/ inline void SetCauses(Aws::VectorDescriptions of the data that contributed to the environment's current health * status.
*/ inline DescribeEnvironmentHealthResult& WithCauses(const Aws::VectorDescriptions of the data that contributed to the environment's current health * status.
*/ inline DescribeEnvironmentHealthResult& WithCauses(Aws::VectorDescriptions of the data that contributed to the environment's current health * status.
*/ inline DescribeEnvironmentHealthResult& AddCauses(const Aws::String& value) { m_causes.push_back(value); return *this; } /** *Descriptions of the data that contributed to the environment's current health * status.
*/ inline DescribeEnvironmentHealthResult& AddCauses(Aws::String&& value) { m_causes.push_back(std::move(value)); return *this; } /** *Descriptions of the data that contributed to the environment's current health * status.
*/ inline DescribeEnvironmentHealthResult& AddCauses(const char* value) { m_causes.push_back(value); return *this; } /** *Application request metrics for the environment.
*/ inline const ApplicationMetrics& GetApplicationMetrics() const{ return m_applicationMetrics; } /** *Application request metrics for the environment.
*/ inline void SetApplicationMetrics(const ApplicationMetrics& value) { m_applicationMetrics = value; } /** *Application request metrics for the environment.
*/ inline void SetApplicationMetrics(ApplicationMetrics&& value) { m_applicationMetrics = std::move(value); } /** *Application request metrics for the environment.
*/ inline DescribeEnvironmentHealthResult& WithApplicationMetrics(const ApplicationMetrics& value) { SetApplicationMetrics(value); return *this;} /** *Application request metrics for the environment.
*/ inline DescribeEnvironmentHealthResult& WithApplicationMetrics(ApplicationMetrics&& value) { SetApplicationMetrics(std::move(value)); return *this;} /** *Summary health information for the instances in the environment.
*/ inline const InstanceHealthSummary& GetInstancesHealth() const{ return m_instancesHealth; } /** *Summary health information for the instances in the environment.
*/ inline void SetInstancesHealth(const InstanceHealthSummary& value) { m_instancesHealth = value; } /** *Summary health information for the instances in the environment.
*/ inline void SetInstancesHealth(InstanceHealthSummary&& value) { m_instancesHealth = std::move(value); } /** *Summary health information for the instances in the environment.
*/ inline DescribeEnvironmentHealthResult& WithInstancesHealth(const InstanceHealthSummary& value) { SetInstancesHealth(value); return *this;} /** *Summary health information for the instances in the environment.
*/ inline DescribeEnvironmentHealthResult& WithInstancesHealth(InstanceHealthSummary&& value) { SetInstancesHealth(std::move(value)); return *this;} /** *The date and time that the health information was retrieved.
*/ inline const Aws::Utils::DateTime& GetRefreshedAt() const{ return m_refreshedAt; } /** *The date and time that the health information was retrieved.
*/ inline void SetRefreshedAt(const Aws::Utils::DateTime& value) { m_refreshedAt = value; } /** *The date and time that the health information was retrieved.
*/ inline void SetRefreshedAt(Aws::Utils::DateTime&& value) { m_refreshedAt = std::move(value); } /** *The date and time that the health information was retrieved.
*/ inline DescribeEnvironmentHealthResult& WithRefreshedAt(const Aws::Utils::DateTime& value) { SetRefreshedAt(value); return *this;} /** *The date and time that the health information was retrieved.
*/ inline DescribeEnvironmentHealthResult& WithRefreshedAt(Aws::Utils::DateTime&& value) { SetRefreshedAt(std::move(value)); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline DescribeEnvironmentHealthResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeEnvironmentHealthResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_environmentName; Aws::String m_healthStatus; EnvironmentHealth m_status; Aws::String m_color; Aws::Vector