/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains details about an Elastic Beanstalk environment.See
* Also:
AWS
* API Reference
The name of the application that is associated with the environment.
*/ inline const Aws::String& GetApplicationName() const{ return m_applicationName; } /** *The name of the application that is associated with the environment.
*/ inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; } /** *The name of the application that is associated with the environment.
*/ inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; } /** *The name of the application that is associated with the environment.
*/ inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); } /** *The name of the application that is associated with the environment.
*/ inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); } /** *The name of the application that is associated with the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;} /** *The name of the application that is associated with the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;} /** *The name of the application that is associated with the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithApplicationName(const char* value) { SetApplicationName(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 AwsElasticBeanstalkEnvironmentDetails& WithCname(const Aws::String& value) { SetCname(value); return *this;} /** *The URL to the CNAME for this environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithCname(Aws::String&& value) { SetCname(std::move(value)); return *this;} /** *The URL to the CNAME for this environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithCname(const char* value) { SetCname(value); return *this;} /** *The creation date for this environment.
*/ inline const Aws::String& 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::String& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = value; } /** *The creation date for this environment.
*/ inline void SetDateCreated(Aws::String&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::move(value); } /** *The creation date for this environment.
*/ inline void SetDateCreated(const char* value) { m_dateCreatedHasBeenSet = true; m_dateCreated.assign(value); } /** *The creation date for this environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithDateCreated(const Aws::String& value) { SetDateCreated(value); return *this;} /** *The creation date for this environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithDateCreated(Aws::String&& value) { SetDateCreated(std::move(value)); return *this;} /** *The creation date for this environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithDateCreated(const char* value) { SetDateCreated(value); return *this;} /** *The date when this environment was last modified.
*/ inline const Aws::String& GetDateUpdated() const{ return m_dateUpdated; } /** *The date when this environment was last modified.
*/ inline bool DateUpdatedHasBeenSet() const { return m_dateUpdatedHasBeenSet; } /** *The date when this environment was last modified.
*/ inline void SetDateUpdated(const Aws::String& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = value; } /** *The date when this environment was last modified.
*/ inline void SetDateUpdated(Aws::String&& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = std::move(value); } /** *The date when this environment was last modified.
*/ inline void SetDateUpdated(const char* value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated.assign(value); } /** *The date when this environment was last modified.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithDateUpdated(const Aws::String& value) { SetDateUpdated(value); return *this;} /** *The date when this environment was last modified.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithDateUpdated(Aws::String&& value) { SetDateUpdated(std::move(value)); return *this;} /** *The date when this environment was last modified.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithDateUpdated(const char* value) { SetDateUpdated(value); return *this;} /** *A description of the environment.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description of the environment.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description of the environment.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description of the environment.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description of the environment.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description of the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithDescription(const char* value) { SetDescription(value); return *this;} /** *For load-balanced, autoscaling environments, the URL to the load balancer. * 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 load balancer. * 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 load balancer. * 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 load balancer. * 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 load balancer. * 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 load balancer. * For single-instance environments, the IP address of the instance.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithEndpointUrl(const Aws::String& value) { SetEndpointUrl(value); return *this;} /** *For load-balanced, autoscaling environments, the URL to the load balancer. * For single-instance environments, the IP address of the instance.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithEndpointUrl(Aws::String&& value) { SetEndpointUrl(std::move(value)); return *this;} /** *For load-balanced, autoscaling environments, the URL to the load balancer. * For single-instance environments, the IP address of the instance.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithEndpointUrl(const char* value) { SetEndpointUrl(value); return *this;} /** *The ARN of the environment.
*/ inline const Aws::String& GetEnvironmentArn() const{ return m_environmentArn; } /** *The ARN of the environment.
*/ inline bool EnvironmentArnHasBeenSet() const { return m_environmentArnHasBeenSet; } /** *The ARN of the environment.
*/ inline void SetEnvironmentArn(const Aws::String& value) { m_environmentArnHasBeenSet = true; m_environmentArn = value; } /** *The ARN of the environment.
*/ inline void SetEnvironmentArn(Aws::String&& value) { m_environmentArnHasBeenSet = true; m_environmentArn = std::move(value); } /** *The ARN of the environment.
*/ inline void SetEnvironmentArn(const char* value) { m_environmentArnHasBeenSet = true; m_environmentArn.assign(value); } /** *The ARN of the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithEnvironmentArn(const Aws::String& value) { SetEnvironmentArn(value); return *this;} /** *The ARN of the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithEnvironmentArn(Aws::String&& value) { SetEnvironmentArn(std::move(value)); return *this;} /** *The ARN of the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithEnvironmentArn(const char* value) { SetEnvironmentArn(value); return *this;} /** *The identifier of the environment.
*/ inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } /** *The identifier of the environment.
*/ inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } /** *The identifier of the environment.
*/ inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } /** *The identifier of the environment.
*/ inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } /** *The identifier of the environment.
*/ inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } /** *The identifier of the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} /** *The identifier of the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} /** *The identifier of the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} /** *Links to other environments in the same group.
*/ inline const Aws::VectorLinks to other environments in the same group.
*/ inline bool EnvironmentLinksHasBeenSet() const { return m_environmentLinksHasBeenSet; } /** *Links to other environments in the same group.
*/ inline void SetEnvironmentLinks(const Aws::VectorLinks to other environments in the same group.
*/ inline void SetEnvironmentLinks(Aws::VectorLinks to other environments in the same group.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithEnvironmentLinks(const Aws::VectorLinks to other environments in the same group.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithEnvironmentLinks(Aws::VectorLinks to other environments in the same group.
*/ inline AwsElasticBeanstalkEnvironmentDetails& AddEnvironmentLinks(const AwsElasticBeanstalkEnvironmentEnvironmentLink& value) { m_environmentLinksHasBeenSet = true; m_environmentLinks.push_back(value); return *this; } /** *Links to other environments in the same group.
*/ inline AwsElasticBeanstalkEnvironmentDetails& AddEnvironmentLinks(AwsElasticBeanstalkEnvironmentEnvironmentLink&& value) { m_environmentLinksHasBeenSet = true; m_environmentLinks.push_back(std::move(value)); return *this; } /** *The name of the environment.
*/ inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; } /** *The name of the environment.
*/ inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; } /** *The name of the environment.
*/ inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; } /** *The name of the environment.
*/ inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); } /** *The name of the environment.
*/ inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); } /** *The name of the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;} /** *The name of the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;} /** *The name of the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;} /** *The configuration setting for the environment.
*/ inline const Aws::VectorThe configuration setting for the environment.
*/ inline bool OptionSettingsHasBeenSet() const { return m_optionSettingsHasBeenSet; } /** *The configuration setting for the environment.
*/ inline void SetOptionSettings(const Aws::VectorThe configuration setting for the environment.
*/ inline void SetOptionSettings(Aws::VectorThe configuration setting for the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithOptionSettings(const Aws::VectorThe configuration setting for the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithOptionSettings(Aws::VectorThe configuration setting for the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& AddOptionSettings(const AwsElasticBeanstalkEnvironmentOptionSetting& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.push_back(value); return *this; } /** *The configuration setting for the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& AddOptionSettings(AwsElasticBeanstalkEnvironmentOptionSetting&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.push_back(std::move(value)); return *this; } /** *The ARN of the platform version for the environment.
*/ inline const Aws::String& GetPlatformArn() const{ return m_platformArn; } /** *The ARN of the platform version for the environment.
*/ inline bool PlatformArnHasBeenSet() const { return m_platformArnHasBeenSet; } /** *The ARN of the platform version for the environment.
*/ inline void SetPlatformArn(const Aws::String& value) { m_platformArnHasBeenSet = true; m_platformArn = value; } /** *The ARN of the platform version for the environment.
*/ inline void SetPlatformArn(Aws::String&& value) { m_platformArnHasBeenSet = true; m_platformArn = std::move(value); } /** *The ARN of the platform version for the environment.
*/ inline void SetPlatformArn(const char* value) { m_platformArnHasBeenSet = true; m_platformArn.assign(value); } /** *The ARN of the platform version for the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithPlatformArn(const Aws::String& value) { SetPlatformArn(value); return *this;} /** *The ARN of the platform version for the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithPlatformArn(Aws::String&& value) { SetPlatformArn(std::move(value)); return *this;} /** *The ARN of the platform version for the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithPlatformArn(const char* value) { SetPlatformArn(value); return *this;} /** *The name of the solution stack that is deployed with the environment.
*/ inline const Aws::String& GetSolutionStackName() const{ return m_solutionStackName; } /** *The name of the solution stack that is deployed with the environment.
*/ inline bool SolutionStackNameHasBeenSet() const { return m_solutionStackNameHasBeenSet; } /** *The name of the solution stack that is deployed with the environment.
*/ inline void SetSolutionStackName(const Aws::String& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = value; } /** *The name of the solution stack that is deployed with the environment.
*/ inline void SetSolutionStackName(Aws::String&& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = std::move(value); } /** *The name of the solution stack that is deployed with the environment.
*/ inline void SetSolutionStackName(const char* value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName.assign(value); } /** *The name of the solution stack that is deployed with the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithSolutionStackName(const Aws::String& value) { SetSolutionStackName(value); return *this;} /** *The name of the solution stack that is deployed with the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithSolutionStackName(Aws::String&& value) { SetSolutionStackName(std::move(value)); return *this;} /** *The name of the solution stack that is deployed with the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithSolutionStackName(const char* value) { SetSolutionStackName(value); return *this;} /** *The current operational status of the environment. Valid values are as * follows:
Aborting
* Launching
LinkingFrom
LinkingTo
Ready
Terminated
* Terminating
Updating
The current operational status of the environment. Valid values are as * follows:
Aborting
* Launching
LinkingFrom
LinkingTo
Ready
Terminated
* Terminating
Updating
The current operational status of the environment. Valid values are as * follows:
Aborting
* Launching
LinkingFrom
LinkingTo
Ready
Terminated
* Terminating
Updating
The current operational status of the environment. Valid values are as * follows:
Aborting
* Launching
LinkingFrom
LinkingTo
Ready
Terminated
* Terminating
Updating
The current operational status of the environment. Valid values are as * follows:
Aborting
* Launching
LinkingFrom
LinkingTo
Ready
Terminated
* Terminating
Updating
The current operational status of the environment. Valid values are as * follows:
Aborting
* Launching
LinkingFrom
LinkingTo
Ready
Terminated
* Terminating
Updating
The current operational status of the environment. Valid values are as * follows:
Aborting
* Launching
LinkingFrom
LinkingTo
Ready
Terminated
* Terminating
Updating
The current operational status of the environment. Valid values are as * follows:
Aborting
* Launching
LinkingFrom
LinkingTo
Ready
Terminated
* Terminating
Updating
The tier of the environment.
*/ inline const AwsElasticBeanstalkEnvironmentTier& GetTier() const{ return m_tier; } /** *The tier of the environment.
*/ inline bool TierHasBeenSet() const { return m_tierHasBeenSet; } /** *The tier of the environment.
*/ inline void SetTier(const AwsElasticBeanstalkEnvironmentTier& value) { m_tierHasBeenSet = true; m_tier = value; } /** *The tier of the environment.
*/ inline void SetTier(AwsElasticBeanstalkEnvironmentTier&& value) { m_tierHasBeenSet = true; m_tier = std::move(value); } /** *The tier of the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithTier(const AwsElasticBeanstalkEnvironmentTier& value) { SetTier(value); return *this;} /** *The tier of the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithTier(AwsElasticBeanstalkEnvironmentTier&& value) { SetTier(std::move(value)); return *this;} /** *The application version of the environment.
*/ inline const Aws::String& GetVersionLabel() const{ return m_versionLabel; } /** *The application version of the environment.
*/ inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; } /** *The application version of the environment.
*/ inline void SetVersionLabel(const Aws::String& value) { m_versionLabelHasBeenSet = true; m_versionLabel = value; } /** *The application version of the environment.
*/ inline void SetVersionLabel(Aws::String&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::move(value); } /** *The application version of the environment.
*/ inline void SetVersionLabel(const char* value) { m_versionLabelHasBeenSet = true; m_versionLabel.assign(value); } /** *The application version of the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithVersionLabel(const Aws::String& value) { SetVersionLabel(value); return *this;} /** *The application version of the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithVersionLabel(Aws::String&& value) { SetVersionLabel(std::move(value)); return *this;} /** *The application version of the environment.
*/ inline AwsElasticBeanstalkEnvironmentDetails& WithVersionLabel(const char* value) { SetVersionLabel(value); return *this;} private: Aws::String m_applicationName; bool m_applicationNameHasBeenSet = false; Aws::String m_cname; bool m_cnameHasBeenSet = false; Aws::String m_dateCreated; bool m_dateCreatedHasBeenSet = false; Aws::String m_dateUpdated; bool m_dateUpdatedHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_endpointUrl; bool m_endpointUrlHasBeenSet = false; Aws::String m_environmentArn; bool m_environmentArnHasBeenSet = false; Aws::String m_environmentId; bool m_environmentIdHasBeenSet = false; Aws::Vector