/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace ElasticBeanstalk { namespace Model { /** *

Describes the properties of an environment.

See Also:

AWS * API Reference

*/ class EnvironmentDescription { public: AWS_ELASTICBEANSTALK_API EnvironmentDescription(); AWS_ELASTICBEANSTALK_API EnvironmentDescription(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_ELASTICBEANSTALK_API EnvironmentDescription& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

The name of this environment.

*/ inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; } /** *

The name of this environment.

*/ inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; } /** *

The name of this environment.

*/ inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; } /** *

The name of this environment.

*/ inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); } /** *

The name of this environment.

*/ inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); } /** *

The name of this environment.

*/ inline EnvironmentDescription& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;} /** *

The name of this environment.

*/ inline EnvironmentDescription& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;} /** *

The name of this environment.

*/ inline EnvironmentDescription& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;} /** *

The ID of this environment.

*/ inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } /** *

The ID of this environment.

*/ inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } /** *

The ID of this environment.

*/ inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } /** *

The ID of this environment.

*/ inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } /** *

The ID of this environment.

*/ inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } /** *

The ID of this environment.

*/ inline EnvironmentDescription& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} /** *

The ID of this environment.

*/ inline EnvironmentDescription& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} /** *

The ID of this environment.

*/ inline EnvironmentDescription& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} /** *

The name of the application associated with this environment.

*/ inline const Aws::String& GetApplicationName() const{ return m_applicationName; } /** *

The name of the application associated with this environment.

*/ inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; } /** *

The name of the application associated with this environment.

*/ inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; } /** *

The name of the application associated with this environment.

*/ inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); } /** *

The name of the application associated with this environment.

*/ inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); } /** *

The name of the application associated with this environment.

*/ inline EnvironmentDescription& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;} /** *

The name of the application associated with this environment.

*/ inline EnvironmentDescription& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;} /** *

The name of the application associated with this environment.

*/ inline EnvironmentDescription& WithApplicationName(const char* value) { SetApplicationName(value); return *this;} /** *

The application version deployed in this environment.

*/ inline const Aws::String& GetVersionLabel() const{ return m_versionLabel; } /** *

The application version deployed in this environment.

*/ inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; } /** *

The application version deployed in this environment.

*/ inline void SetVersionLabel(const Aws::String& value) { m_versionLabelHasBeenSet = true; m_versionLabel = value; } /** *

The application version deployed in this environment.

*/ inline void SetVersionLabel(Aws::String&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::move(value); } /** *

The application version deployed in this environment.

*/ inline void SetVersionLabel(const char* value) { m_versionLabelHasBeenSet = true; m_versionLabel.assign(value); } /** *

The application version deployed in this environment.

*/ inline EnvironmentDescription& WithVersionLabel(const Aws::String& value) { SetVersionLabel(value); return *this;} /** *

The application version deployed in this environment.

*/ inline EnvironmentDescription& WithVersionLabel(Aws::String&& value) { SetVersionLabel(std::move(value)); return *this;} /** *

The application version deployed in this environment.

*/ inline EnvironmentDescription& WithVersionLabel(const char* value) { SetVersionLabel(value); return *this;} /** *

The name of the SolutionStack deployed with this environment. *

*/ inline const Aws::String& GetSolutionStackName() const{ return m_solutionStackName; } /** *

The name of the SolutionStack deployed with this environment. *

*/ inline bool SolutionStackNameHasBeenSet() const { return m_solutionStackNameHasBeenSet; } /** *

The name of the SolutionStack deployed with this environment. *

*/ inline void SetSolutionStackName(const Aws::String& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = value; } /** *

The name of the SolutionStack deployed with this environment. *

*/ inline void SetSolutionStackName(Aws::String&& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = std::move(value); } /** *

The name of the SolutionStack deployed with this environment. *

*/ inline void SetSolutionStackName(const char* value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName.assign(value); } /** *

The name of the SolutionStack deployed with this environment. *

*/ inline EnvironmentDescription& WithSolutionStackName(const Aws::String& value) { SetSolutionStackName(value); return *this;} /** *

The name of the SolutionStack deployed with this environment. *

*/ inline EnvironmentDescription& WithSolutionStackName(Aws::String&& value) { SetSolutionStackName(std::move(value)); return *this;} /** *

The name of the SolutionStack deployed with this environment. *

*/ inline EnvironmentDescription& WithSolutionStackName(const char* value) { SetSolutionStackName(value); return *this;} /** *

The ARN of the platform version.

*/ inline const Aws::String& GetPlatformArn() const{ return m_platformArn; } /** *

The ARN of the platform version.

*/ inline bool PlatformArnHasBeenSet() const { return m_platformArnHasBeenSet; } /** *

The ARN of the platform version.

*/ inline void SetPlatformArn(const Aws::String& value) { m_platformArnHasBeenSet = true; m_platformArn = value; } /** *

The ARN of the platform version.

*/ inline void SetPlatformArn(Aws::String&& value) { m_platformArnHasBeenSet = true; m_platformArn = std::move(value); } /** *

The ARN of the platform version.

*/ inline void SetPlatformArn(const char* value) { m_platformArnHasBeenSet = true; m_platformArn.assign(value); } /** *

The ARN of the platform version.

*/ inline EnvironmentDescription& WithPlatformArn(const Aws::String& value) { SetPlatformArn(value); return *this;} /** *

The ARN of the platform version.

*/ inline EnvironmentDescription& WithPlatformArn(Aws::String&& value) { SetPlatformArn(std::move(value)); return *this;} /** *

The ARN of the platform version.

*/ inline EnvironmentDescription& WithPlatformArn(const char* value) { SetPlatformArn(value); return *this;} /** *

The name of the configuration template used to originally launch this * environment.

*/ inline const Aws::String& GetTemplateName() const{ return m_templateName; } /** *

The name of the configuration template used to originally launch this * environment.

*/ inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; } /** *

The name of the configuration template used to originally launch this * environment.

*/ inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; } /** *

The name of the configuration template used to originally launch this * environment.

*/ inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); } /** *

The name of the configuration template used to originally launch this * environment.

*/ inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); } /** *

The name of the configuration template used to originally launch this * environment.

*/ inline EnvironmentDescription& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;} /** *

The name of the configuration template used to originally launch this * environment.

*/ inline EnvironmentDescription& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;} /** *

The name of the configuration template used to originally launch this * environment.

*/ inline EnvironmentDescription& WithTemplateName(const char* value) { SetTemplateName(value); return *this;} /** *

Describes this environment.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

Describes this environment.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

Describes this environment.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

Describes this environment.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

Describes this environment.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

Describes this environment.

*/ inline EnvironmentDescription& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

Describes this environment.

*/ inline EnvironmentDescription& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

Describes this environment.

*/ inline EnvironmentDescription& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

For load-balanced, autoscaling environments, the URL to the LoadBalancer. For * single-instance environments, the IP address of the instance.

*/ inline const Aws::String& GetEndpointURL() const{ return m_endpointURL; } /** *

For load-balanced, autoscaling environments, the URL to the LoadBalancer. For * single-instance environments, the IP address of the instance.

*/ inline bool EndpointURLHasBeenSet() const { return m_endpointURLHasBeenSet; } /** *

For load-balanced, autoscaling environments, the URL to the LoadBalancer. For * single-instance environments, the IP address of the instance.

*/ inline void SetEndpointURL(const Aws::String& value) { m_endpointURLHasBeenSet = true; m_endpointURL = value; } /** *

For load-balanced, autoscaling environments, the URL to the LoadBalancer. For * single-instance environments, the IP address of the instance.

*/ inline void SetEndpointURL(Aws::String&& value) { m_endpointURLHasBeenSet = true; m_endpointURL = std::move(value); } /** *

For load-balanced, autoscaling environments, the URL to the LoadBalancer. For * single-instance environments, the IP address of the instance.

*/ inline void SetEndpointURL(const char* value) { m_endpointURLHasBeenSet = true; m_endpointURL.assign(value); } /** *

For load-balanced, autoscaling environments, the URL to the LoadBalancer. For * single-instance environments, the IP address of the instance.

*/ inline EnvironmentDescription& WithEndpointURL(const Aws::String& value) { SetEndpointURL(value); return *this;} /** *

For load-balanced, autoscaling environments, the URL to the LoadBalancer. For * single-instance environments, the IP address of the instance.

*/ inline EnvironmentDescription& WithEndpointURL(Aws::String&& value) { SetEndpointURL(std::move(value)); return *this;} /** *

For load-balanced, autoscaling environments, the URL to the LoadBalancer. For * single-instance environments, the IP address of the instance.

*/ inline EnvironmentDescription& WithEndpointURL(const char* value) { SetEndpointURL(value); return *this;} /** *

The URL to the CNAME for this environment.

*/ inline const Aws::String& GetCNAME() const{ return m_cNAME; } /** *

The URL to the CNAME for this environment.

*/ inline bool CNAMEHasBeenSet() const { return m_cNAMEHasBeenSet; } /** *

The URL to the CNAME for this environment.

*/ inline void SetCNAME(const Aws::String& value) { m_cNAMEHasBeenSet = true; m_cNAME = value; } /** *

The URL to the CNAME for this environment.

*/ inline void SetCNAME(Aws::String&& value) { m_cNAMEHasBeenSet = true; m_cNAME = std::move(value); } /** *

The URL to the CNAME for this environment.

*/ inline void SetCNAME(const char* value) { m_cNAMEHasBeenSet = true; m_cNAME.assign(value); } /** *

The URL to the CNAME for this environment.

*/ inline EnvironmentDescription& WithCNAME(const Aws::String& value) { SetCNAME(value); return *this;} /** *

The URL to the CNAME for this environment.

*/ inline EnvironmentDescription& WithCNAME(Aws::String&& value) { SetCNAME(std::move(value)); return *this;} /** *

The URL to the CNAME for this environment.

*/ inline EnvironmentDescription& WithCNAME(const char* value) { SetCNAME(value); return *this;} /** *

The creation date for this environment.

*/ inline const Aws::Utils::DateTime& GetDateCreated() const{ return m_dateCreated; } /** *

The creation date for this environment.

*/ inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; } /** *

The creation date for this environment.

*/ inline void SetDateCreated(const Aws::Utils::DateTime& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = value; } /** *

The creation date for this environment.

*/ inline void SetDateCreated(Aws::Utils::DateTime&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::move(value); } /** *

The creation date for this environment.

*/ inline EnvironmentDescription& WithDateCreated(const Aws::Utils::DateTime& value) { SetDateCreated(value); return *this;} /** *

The creation date for this environment.

*/ inline EnvironmentDescription& WithDateCreated(Aws::Utils::DateTime&& value) { SetDateCreated(std::move(value)); return *this;} /** *

The last modified date for this environment.

*/ inline const Aws::Utils::DateTime& GetDateUpdated() const{ return m_dateUpdated; } /** *

The last modified date for this environment.

*/ inline bool DateUpdatedHasBeenSet() const { return m_dateUpdatedHasBeenSet; } /** *

The last modified date for this environment.

*/ inline void SetDateUpdated(const Aws::Utils::DateTime& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = value; } /** *

The last modified date for this environment.

*/ inline void SetDateUpdated(Aws::Utils::DateTime&& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = std::move(value); } /** *

The last modified date for this environment.

*/ inline EnvironmentDescription& WithDateUpdated(const Aws::Utils::DateTime& value) { SetDateUpdated(value); return *this;} /** *

The last modified date for this environment.

*/ inline EnvironmentDescription& WithDateUpdated(Aws::Utils::DateTime&& value) { SetDateUpdated(std::move(value)); return *this;} /** *

The current operational status of the environment:

  • * Launching: Environment is in the process of initial deployment.

    *
  • Updating: Environment is in the process of updating * its configuration settings or application version.

  • * Ready: Environment is available to have an action performed on it, * such as update or terminate.

  • Terminating: * Environment is in the shut-down process.

  • * Terminated: Environment is not running.

*/ inline const EnvironmentStatus& GetStatus() const{ return m_status; } /** *

The current operational status of the environment:

  • * Launching: Environment is in the process of initial deployment.

    *
  • Updating: Environment is in the process of updating * its configuration settings or application version.

  • * Ready: Environment is available to have an action performed on it, * such as update or terminate.

  • Terminating: * Environment is in the shut-down process.

  • * Terminated: Environment is not running.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The current operational status of the environment:

  • * Launching: Environment is in the process of initial deployment.

    *
  • Updating: Environment is in the process of updating * its configuration settings or application version.

  • * Ready: Environment is available to have an action performed on it, * such as update or terminate.

  • Terminating: * Environment is in the shut-down process.

  • * Terminated: Environment is not running.

*/ inline void SetStatus(const EnvironmentStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The current operational status of the environment:

  • * Launching: Environment is in the process of initial deployment.

    *
  • Updating: Environment is in the process of updating * its configuration settings or application version.

  • * Ready: Environment is available to have an action performed on it, * such as update or terminate.

  • Terminating: * Environment is in the shut-down process.

  • * Terminated: Environment is not running.

*/ inline void SetStatus(EnvironmentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The current operational status of the environment:

  • * Launching: Environment is in the process of initial deployment.

    *
  • Updating: Environment is in the process of updating * its configuration settings or application version.

  • * Ready: Environment is available to have an action performed on it, * such as update or terminate.

  • Terminating: * Environment is in the shut-down process.

  • * Terminated: Environment is not running.

*/ inline EnvironmentDescription& WithStatus(const EnvironmentStatus& value) { SetStatus(value); return *this;} /** *

The current operational status of the environment:

  • * Launching: Environment is in the process of initial deployment.

    *
  • Updating: Environment is in the process of updating * its configuration settings or application version.

  • * Ready: Environment is available to have an action performed on it, * such as update or terminate.

  • Terminating: * Environment is in the shut-down process.

  • * Terminated: Environment is not running.

*/ inline EnvironmentDescription& WithStatus(EnvironmentStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

Indicates if there is an in-progress environment configuration update or * application version deployment that you can cancel.

true: * There is an update in progress.

false: There are no * updates currently in progress.

*/ inline bool GetAbortableOperationInProgress() const{ return m_abortableOperationInProgress; } /** *

Indicates if there is an in-progress environment configuration update or * application version deployment that you can cancel.

true: * There is an update in progress.

false: There are no * updates currently in progress.

*/ inline bool AbortableOperationInProgressHasBeenSet() const { return m_abortableOperationInProgressHasBeenSet; } /** *

Indicates if there is an in-progress environment configuration update or * application version deployment that you can cancel.

true: * There is an update in progress.

false: There are no * updates currently in progress.

*/ inline void SetAbortableOperationInProgress(bool value) { m_abortableOperationInProgressHasBeenSet = true; m_abortableOperationInProgress = value; } /** *

Indicates if there is an in-progress environment configuration update or * application version deployment that you can cancel.

true: * There is an update in progress.

false: There are no * updates currently in progress.

*/ inline EnvironmentDescription& WithAbortableOperationInProgress(bool value) { SetAbortableOperationInProgress(value); return *this;} /** *

Describes the health status of the environment. AWS Elastic Beanstalk * indicates the failure levels for a running environment:

  • * Red: Indicates the environment is not responsive. Occurs when three * or more consecutive failures occur for an environment.

  • * Yellow: Indicates that something is wrong. Occurs when two * consecutive failures occur for an environment.

  • * Green: Indicates the environment is healthy and fully * functional.

  • Grey: Default health for a new * environment. The environment is not fully launched and health checks have not * started or health checks are suspended during an UpdateEnvironment * or RestartEnvironment request.

Default: * Grey

*/ inline const EnvironmentHealth& GetHealth() const{ return m_health; } /** *

Describes the health status of the environment. AWS Elastic Beanstalk * indicates the failure levels for a running environment:

  • * Red: Indicates the environment is not responsive. Occurs when three * or more consecutive failures occur for an environment.

  • * Yellow: Indicates that something is wrong. Occurs when two * consecutive failures occur for an environment.

  • * Green: Indicates the environment is healthy and fully * functional.

  • Grey: Default health for a new * environment. The environment is not fully launched and health checks have not * started or health checks are suspended during an UpdateEnvironment * or RestartEnvironment request.

Default: * Grey

*/ inline bool HealthHasBeenSet() const { return m_healthHasBeenSet; } /** *

Describes the health status of the environment. AWS Elastic Beanstalk * indicates the failure levels for a running environment:

  • * Red: Indicates the environment is not responsive. Occurs when three * or more consecutive failures occur for an environment.

  • * Yellow: Indicates that something is wrong. Occurs when two * consecutive failures occur for an environment.

  • * Green: Indicates the environment is healthy and fully * functional.

  • Grey: Default health for a new * environment. The environment is not fully launched and health checks have not * started or health checks are suspended during an UpdateEnvironment * or RestartEnvironment request.

Default: * Grey

*/ inline void SetHealth(const EnvironmentHealth& value) { m_healthHasBeenSet = true; m_health = value; } /** *

Describes the health status of the environment. AWS Elastic Beanstalk * indicates the failure levels for a running environment:

  • * Red: Indicates the environment is not responsive. Occurs when three * or more consecutive failures occur for an environment.

  • * Yellow: Indicates that something is wrong. Occurs when two * consecutive failures occur for an environment.

  • * Green: Indicates the environment is healthy and fully * functional.

  • Grey: Default health for a new * environment. The environment is not fully launched and health checks have not * started or health checks are suspended during an UpdateEnvironment * or RestartEnvironment request.

Default: * Grey

*/ inline void SetHealth(EnvironmentHealth&& value) { m_healthHasBeenSet = true; m_health = std::move(value); } /** *

Describes the health status of the environment. AWS Elastic Beanstalk * indicates the failure levels for a running environment:

  • * Red: Indicates the environment is not responsive. Occurs when three * or more consecutive failures occur for an environment.

  • * Yellow: Indicates that something is wrong. Occurs when two * consecutive failures occur for an environment.

  • * Green: Indicates the environment is healthy and fully * functional.

  • Grey: Default health for a new * environment. The environment is not fully launched and health checks have not * started or health checks are suspended during an UpdateEnvironment * or RestartEnvironment request.

Default: * Grey

*/ inline EnvironmentDescription& WithHealth(const EnvironmentHealth& value) { SetHealth(value); return *this;} /** *

Describes the health status of the environment. AWS Elastic Beanstalk * indicates the failure levels for a running environment:

  • * Red: Indicates the environment is not responsive. Occurs when three * or more consecutive failures occur for an environment.

  • * Yellow: Indicates that something is wrong. Occurs when two * consecutive failures occur for an environment.

  • * Green: Indicates the environment is healthy and fully * functional.

  • Grey: Default health for a new * environment. The environment is not fully launched and health checks have not * started or health checks are suspended during an UpdateEnvironment * or RestartEnvironment request.

Default: * Grey

*/ inline EnvironmentDescription& WithHealth(EnvironmentHealth&& value) { SetHealth(std::move(value)); return *this;} /** *

Returns the health status of the application running in your environment. For * more information, see Health * Colors and Statuses.

*/ inline const EnvironmentHealthStatus& GetHealthStatus() const{ return m_healthStatus; } /** *

Returns the health status of the application running in your environment. For * more information, see Health * Colors and Statuses.

*/ inline bool HealthStatusHasBeenSet() const { return m_healthStatusHasBeenSet; } /** *

Returns the health status of the application running in your environment. For * more information, see Health * Colors and Statuses.

*/ inline void SetHealthStatus(const EnvironmentHealthStatus& value) { m_healthStatusHasBeenSet = true; m_healthStatus = value; } /** *

Returns the health status of the application running in your environment. For * more information, see Health * Colors and Statuses.

*/ inline void SetHealthStatus(EnvironmentHealthStatus&& value) { m_healthStatusHasBeenSet = true; m_healthStatus = std::move(value); } /** *

Returns the health status of the application running in your environment. For * more information, see Health * Colors and Statuses.

*/ inline EnvironmentDescription& WithHealthStatus(const EnvironmentHealthStatus& value) { SetHealthStatus(value); return *this;} /** *

Returns the health status of the application running in your environment. For * more information, see Health * Colors and Statuses.

*/ inline EnvironmentDescription& WithHealthStatus(EnvironmentHealthStatus&& value) { SetHealthStatus(std::move(value)); return *this;} /** *

The description of the AWS resources used by this environment.

*/ inline const EnvironmentResourcesDescription& GetResources() const{ return m_resources; } /** *

The description of the AWS resources used by this environment.

*/ inline bool ResourcesHasBeenSet() const { return m_resourcesHasBeenSet; } /** *

The description of the AWS resources used by this environment.

*/ inline void SetResources(const EnvironmentResourcesDescription& value) { m_resourcesHasBeenSet = true; m_resources = value; } /** *

The description of the AWS resources used by this environment.

*/ inline void SetResources(EnvironmentResourcesDescription&& value) { m_resourcesHasBeenSet = true; m_resources = std::move(value); } /** *

The description of the AWS resources used by this environment.

*/ inline EnvironmentDescription& WithResources(const EnvironmentResourcesDescription& value) { SetResources(value); return *this;} /** *

The description of the AWS resources used by this environment.

*/ inline EnvironmentDescription& WithResources(EnvironmentResourcesDescription&& value) { SetResources(std::move(value)); return *this;} /** *

Describes the current tier of this environment.

*/ inline const EnvironmentTier& GetTier() const{ return m_tier; } /** *

Describes the current tier of this environment.

*/ inline bool TierHasBeenSet() const { return m_tierHasBeenSet; } /** *

Describes the current tier of this environment.

*/ inline void SetTier(const EnvironmentTier& value) { m_tierHasBeenSet = true; m_tier = value; } /** *

Describes the current tier of this environment.

*/ inline void SetTier(EnvironmentTier&& value) { m_tierHasBeenSet = true; m_tier = std::move(value); } /** *

Describes the current tier of this environment.

*/ inline EnvironmentDescription& WithTier(const EnvironmentTier& value) { SetTier(value); return *this;} /** *

Describes the current tier of this environment.

*/ inline EnvironmentDescription& WithTier(EnvironmentTier&& value) { SetTier(std::move(value)); return *this;} /** *

A list of links to other environments in the same group.

*/ inline const Aws::Vector& GetEnvironmentLinks() const{ return m_environmentLinks; } /** *

A list of links to other environments in the same group.

*/ inline bool EnvironmentLinksHasBeenSet() const { return m_environmentLinksHasBeenSet; } /** *

A list of links to other environments in the same group.

*/ inline void SetEnvironmentLinks(const Aws::Vector& value) { m_environmentLinksHasBeenSet = true; m_environmentLinks = value; } /** *

A list of links to other environments in the same group.

*/ inline void SetEnvironmentLinks(Aws::Vector&& value) { m_environmentLinksHasBeenSet = true; m_environmentLinks = std::move(value); } /** *

A list of links to other environments in the same group.

*/ inline EnvironmentDescription& WithEnvironmentLinks(const Aws::Vector& value) { SetEnvironmentLinks(value); return *this;} /** *

A list of links to other environments in the same group.

*/ inline EnvironmentDescription& WithEnvironmentLinks(Aws::Vector&& value) { SetEnvironmentLinks(std::move(value)); return *this;} /** *

A list of links to other environments in the same group.

*/ inline EnvironmentDescription& AddEnvironmentLinks(const EnvironmentLink& value) { m_environmentLinksHasBeenSet = true; m_environmentLinks.push_back(value); return *this; } /** *

A list of links to other environments in the same group.

*/ inline EnvironmentDescription& AddEnvironmentLinks(EnvironmentLink&& value) { m_environmentLinksHasBeenSet = true; m_environmentLinks.push_back(std::move(value)); return *this; } /** *

The environment's Amazon Resource Name (ARN), which can be used in other API * requests that require an ARN.

*/ inline const Aws::String& GetEnvironmentArn() const{ return m_environmentArn; } /** *

The environment's Amazon Resource Name (ARN), which can be used in other API * requests that require an ARN.

*/ inline bool EnvironmentArnHasBeenSet() const { return m_environmentArnHasBeenSet; } /** *

The environment's Amazon Resource Name (ARN), which can be used in other API * requests that require an ARN.

*/ inline void SetEnvironmentArn(const Aws::String& value) { m_environmentArnHasBeenSet = true; m_environmentArn = value; } /** *

The environment's Amazon Resource Name (ARN), which can be used in other API * requests that require an ARN.

*/ inline void SetEnvironmentArn(Aws::String&& value) { m_environmentArnHasBeenSet = true; m_environmentArn = std::move(value); } /** *

The environment's Amazon Resource Name (ARN), which can be used in other API * requests that require an ARN.

*/ inline void SetEnvironmentArn(const char* value) { m_environmentArnHasBeenSet = true; m_environmentArn.assign(value); } /** *

The environment's Amazon Resource Name (ARN), which can be used in other API * requests that require an ARN.

*/ inline EnvironmentDescription& WithEnvironmentArn(const Aws::String& value) { SetEnvironmentArn(value); return *this;} /** *

The environment's Amazon Resource Name (ARN), which can be used in other API * requests that require an ARN.

*/ inline EnvironmentDescription& WithEnvironmentArn(Aws::String&& value) { SetEnvironmentArn(std::move(value)); return *this;} /** *

The environment's Amazon Resource Name (ARN), which can be used in other API * requests that require an ARN.

*/ inline EnvironmentDescription& WithEnvironmentArn(const char* value) { SetEnvironmentArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the environment's operations role. For more * information, see Operations * roles in the AWS Elastic Beanstalk Developer Guide.

*/ inline const Aws::String& GetOperationsRole() const{ return m_operationsRole; } /** *

The Amazon Resource Name (ARN) of the environment's operations role. For more * information, see Operations * roles in the AWS Elastic Beanstalk Developer Guide.

*/ inline bool OperationsRoleHasBeenSet() const { return m_operationsRoleHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the environment's operations role. For more * information, see Operations * roles in the AWS Elastic Beanstalk Developer Guide.

*/ inline void SetOperationsRole(const Aws::String& value) { m_operationsRoleHasBeenSet = true; m_operationsRole = value; } /** *

The Amazon Resource Name (ARN) of the environment's operations role. For more * information, see Operations * roles in the AWS Elastic Beanstalk Developer Guide.

*/ inline void SetOperationsRole(Aws::String&& value) { m_operationsRoleHasBeenSet = true; m_operationsRole = std::move(value); } /** *

The Amazon Resource Name (ARN) of the environment's operations role. For more * information, see Operations * roles in the AWS Elastic Beanstalk Developer Guide.

*/ inline void SetOperationsRole(const char* value) { m_operationsRoleHasBeenSet = true; m_operationsRole.assign(value); } /** *

The Amazon Resource Name (ARN) of the environment's operations role. For more * information, see Operations * roles in the AWS Elastic Beanstalk Developer Guide.

*/ inline EnvironmentDescription& WithOperationsRole(const Aws::String& value) { SetOperationsRole(value); return *this;} /** *

The Amazon Resource Name (ARN) of the environment's operations role. For more * information, see Operations * roles in the AWS Elastic Beanstalk Developer Guide.

*/ inline EnvironmentDescription& WithOperationsRole(Aws::String&& value) { SetOperationsRole(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the environment's operations role. For more * information, see Operations * roles in the AWS Elastic Beanstalk Developer Guide.

*/ inline EnvironmentDescription& WithOperationsRole(const char* value) { SetOperationsRole(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 EnvironmentDescription& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline EnvironmentDescription& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_environmentName; bool m_environmentNameHasBeenSet = false; Aws::String m_environmentId; bool m_environmentIdHasBeenSet = false; Aws::String m_applicationName; bool m_applicationNameHasBeenSet = false; Aws::String m_versionLabel; bool m_versionLabelHasBeenSet = false; Aws::String m_solutionStackName; bool m_solutionStackNameHasBeenSet = false; Aws::String m_platformArn; bool m_platformArnHasBeenSet = false; Aws::String m_templateName; bool m_templateNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_endpointURL; bool m_endpointURLHasBeenSet = false; Aws::String m_cNAME; bool m_cNAMEHasBeenSet = false; Aws::Utils::DateTime m_dateCreated; bool m_dateCreatedHasBeenSet = false; Aws::Utils::DateTime m_dateUpdated; bool m_dateUpdatedHasBeenSet = false; EnvironmentStatus m_status; bool m_statusHasBeenSet = false; bool m_abortableOperationInProgress; bool m_abortableOperationInProgressHasBeenSet = false; EnvironmentHealth m_health; bool m_healthHasBeenSet = false; EnvironmentHealthStatus m_healthStatus; bool m_healthStatusHasBeenSet = false; EnvironmentResourcesDescription m_resources; bool m_resourcesHasBeenSet = false; EnvironmentTier m_tier; bool m_tierHasBeenSet = false; Aws::Vector m_environmentLinks; bool m_environmentLinksHasBeenSet = false; Aws::String m_environmentArn; bool m_environmentArnHasBeenSet = false; Aws::String m_operationsRole; bool m_operationsRoleHasBeenSet = false; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace ElasticBeanstalk } // namespace Aws