/** * 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 namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace ElasticBeanstalk { namespace Model { /** *

Describes the properties of an environment.

See Also:

AWS * API Reference

*/ class CreateEnvironmentResult { public: AWS_ELASTICBEANSTALK_API CreateEnvironmentResult(); AWS_ELASTICBEANSTALK_API CreateEnvironmentResult(const Aws::AmazonWebServiceResult& result); AWS_ELASTICBEANSTALK_API CreateEnvironmentResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of this environment.

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

The name of this environment.

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

The name of this environment.

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

The name of this environment.

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

The name of this environment.

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

The name of this environment.

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

The name of this environment.

*/ inline CreateEnvironmentResult& 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 void SetEnvironmentId(const Aws::String& value) { m_environmentId = value; } /** *

The ID of this environment.

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

The ID of this environment.

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

The ID of this environment.

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

The ID of this environment.

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

The ID of this environment.

*/ inline CreateEnvironmentResult& 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 void SetApplicationName(const Aws::String& value) { m_applicationName = value; } /** *

The name of the application associated with this environment.

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

The name of the application associated with this environment.

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

The name of the application associated with this environment.

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

The name of the application associated with this environment.

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

The name of the application associated with this environment.

*/ inline CreateEnvironmentResult& 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 void SetVersionLabel(const Aws::String& value) { m_versionLabel = value; } /** *

The application version deployed in this environment.

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

The application version deployed in this environment.

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

The application version deployed in this environment.

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

The application version deployed in this environment.

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

The application version deployed in this environment.

*/ inline CreateEnvironmentResult& 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 void SetSolutionStackName(const Aws::String& value) { m_solutionStackName = value; } /** *

The name of the SolutionStack deployed with this environment. *

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

The name of the SolutionStack deployed with this environment. *

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

The name of the SolutionStack deployed with this environment. *

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

The name of the SolutionStack deployed with this environment. *

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

The name of the SolutionStack deployed with this environment. *

*/ inline CreateEnvironmentResult& 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 void SetPlatformArn(const Aws::String& value) { m_platformArn = value; } /** *

The ARN of the platform version.

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

The ARN of the platform version.

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

The ARN of the platform version.

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

The ARN of the platform version.

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

The ARN of the platform version.

*/ inline CreateEnvironmentResult& 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 void SetTemplateName(const Aws::String& value) { m_templateName = value; } /** *

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

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

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

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

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

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

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

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

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

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

Describes this environment.

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

Describes this environment.

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

Describes this environment.

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

Describes this environment.

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

Describes this environment.

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

Describes this environment.

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

Describes this environment.

*/ inline CreateEnvironmentResult& 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 void SetEndpointURL(const Aws::String& value) { 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_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_endpointURL.assign(value); } /** *

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

*/ inline CreateEnvironmentResult& 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 CreateEnvironmentResult& 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 CreateEnvironmentResult& 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 void SetCNAME(const Aws::String& value) { m_cNAME = value; } /** *

The URL to the CNAME for this environment.

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

The URL to the CNAME for this environment.

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

The URL to the CNAME for this environment.

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

The URL to the CNAME for this environment.

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

The URL to the CNAME for this environment.

*/ inline CreateEnvironmentResult& 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 void SetDateCreated(const Aws::Utils::DateTime& value) { m_dateCreated = value; } /** *

The creation date for this environment.

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

The creation date for this environment.

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

The creation date for this environment.

*/ inline CreateEnvironmentResult& 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 void SetDateUpdated(const Aws::Utils::DateTime& value) { m_dateUpdated = value; } /** *

The last modified date for this environment.

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

The last modified date for this environment.

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

The last modified date for this environment.

*/ inline CreateEnvironmentResult& 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 void SetStatus(const EnvironmentStatus& value) { 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_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 CreateEnvironmentResult& 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 CreateEnvironmentResult& 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 void SetAbortableOperationInProgress(bool value) { 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 CreateEnvironmentResult& 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 void SetHealth(const EnvironmentHealth& value) { 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_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 CreateEnvironmentResult& 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 CreateEnvironmentResult& 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 void SetHealthStatus(const EnvironmentHealthStatus& value) { 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_healthStatus = std::move(value); } /** *

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

*/ inline CreateEnvironmentResult& 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 CreateEnvironmentResult& 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 void SetResources(const EnvironmentResourcesDescription& value) { m_resources = value; } /** *

The description of the AWS resources used by this environment.

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

The description of the AWS resources used by this environment.

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

The description of the AWS resources used by this environment.

*/ inline CreateEnvironmentResult& 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 void SetTier(const EnvironmentTier& value) { m_tier = value; } /** *

Describes the current tier of this environment.

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

Describes the current tier of this environment.

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

Describes the current tier of this environment.

*/ inline CreateEnvironmentResult& 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 void SetEnvironmentLinks(const Aws::Vector& value) { m_environmentLinks = value; } /** *

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

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

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

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

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

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

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

*/ inline CreateEnvironmentResult& AddEnvironmentLinks(const EnvironmentLink& value) { m_environmentLinks.push_back(value); return *this; } /** *

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

*/ inline CreateEnvironmentResult& AddEnvironmentLinks(EnvironmentLink&& value) { 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 void SetEnvironmentArn(const Aws::String& value) { 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_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_environmentArn.assign(value); } /** *

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

*/ inline CreateEnvironmentResult& 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 CreateEnvironmentResult& 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 CreateEnvironmentResult& 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 void SetOperationsRole(const Aws::String& value) { 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_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_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 CreateEnvironmentResult& 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 CreateEnvironmentResult& 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 CreateEnvironmentResult& 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 CreateEnvironmentResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline CreateEnvironmentResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_environmentName; Aws::String m_environmentId; Aws::String m_applicationName; Aws::String m_versionLabel; Aws::String m_solutionStackName; Aws::String m_platformArn; Aws::String m_templateName; Aws::String m_description; Aws::String m_endpointURL; Aws::String m_cNAME; Aws::Utils::DateTime m_dateCreated; Aws::Utils::DateTime m_dateUpdated; EnvironmentStatus m_status; bool m_abortableOperationInProgress; EnvironmentHealth m_health; EnvironmentHealthStatus m_healthStatus; EnvironmentResourcesDescription m_resources; EnvironmentTier m_tier; Aws::Vector m_environmentLinks; Aws::String m_environmentArn; Aws::String m_operationsRole; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace ElasticBeanstalk } // namespace Aws