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

Describes the settings for a configuration set.

See Also:

AWS * API Reference

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

The name of the solution stack this configuration set uses.

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

The name of the solution stack this configuration set uses.

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

The name of the solution stack this configuration set uses.

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

The name of the solution stack this configuration set uses.

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

The name of the solution stack this configuration set uses.

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

The name of the solution stack this configuration set uses.

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

The name of the solution stack this configuration set uses.

*/ inline UpdateConfigurationTemplateResult& 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 UpdateConfigurationTemplateResult& WithPlatformArn(const Aws::String& value) { SetPlatformArn(value); return *this;} /** *

The ARN of the platform version.

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

The ARN of the platform version.

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

The name of the application associated with this configuration set.

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

The name of the application associated with this configuration set.

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

The name of the application associated with this configuration set.

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

The name of the application associated with this configuration set.

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

The name of the application associated with this configuration set.

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

The name of the application associated with this configuration set.

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

The name of the application associated with this configuration set.

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

If not null, the name of the configuration template for this * configuration set.

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

If not null, the name of the configuration template for this * configuration set.

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

If not null, the name of the configuration template for this * configuration set.

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

If not null, the name of the configuration template for this * configuration set.

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

If not null, the name of the configuration template for this * configuration set.

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

If not null, the name of the configuration template for this * configuration set.

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

If not null, the name of the configuration template for this * configuration set.

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

Describes this configuration set.

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

Describes this configuration set.

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

Describes this configuration set.

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

Describes this configuration set.

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

Describes this configuration set.

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

Describes this configuration set.

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

Describes this configuration set.

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

If not null, the name of the environment for this configuration * set.

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

If not null, the name of the environment for this configuration * set.

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

If not null, the name of the environment for this configuration * set.

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

If not null, the name of the environment for this configuration * set.

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

If not null, the name of the environment for this configuration * set.

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

If not null, the name of the environment for this configuration * set.

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

If not null, the name of the environment for this configuration * set.

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

If this configuration set is associated with an environment, the * DeploymentStatus parameter indicates the deployment status of this * configuration set:

  • null: This configuration is * not associated with a running environment.

  • * pending: This is a draft configuration that is not deployed to the * associated environment but is in the process of deploying.

  • * deployed: This is the configuration that is currently deployed to * the associated running environment.

  • failed: This * is a draft configuration that failed to successfully deploy.

*/ inline const ConfigurationDeploymentStatus& GetDeploymentStatus() const{ return m_deploymentStatus; } /** *

If this configuration set is associated with an environment, the * DeploymentStatus parameter indicates the deployment status of this * configuration set:

  • null: This configuration is * not associated with a running environment.

  • * pending: This is a draft configuration that is not deployed to the * associated environment but is in the process of deploying.

  • * deployed: This is the configuration that is currently deployed to * the associated running environment.

  • failed: This * is a draft configuration that failed to successfully deploy.

*/ inline void SetDeploymentStatus(const ConfigurationDeploymentStatus& value) { m_deploymentStatus = value; } /** *

If this configuration set is associated with an environment, the * DeploymentStatus parameter indicates the deployment status of this * configuration set:

  • null: This configuration is * not associated with a running environment.

  • * pending: This is a draft configuration that is not deployed to the * associated environment but is in the process of deploying.

  • * deployed: This is the configuration that is currently deployed to * the associated running environment.

  • failed: This * is a draft configuration that failed to successfully deploy.

*/ inline void SetDeploymentStatus(ConfigurationDeploymentStatus&& value) { m_deploymentStatus = std::move(value); } /** *

If this configuration set is associated with an environment, the * DeploymentStatus parameter indicates the deployment status of this * configuration set:

  • null: This configuration is * not associated with a running environment.

  • * pending: This is a draft configuration that is not deployed to the * associated environment but is in the process of deploying.

  • * deployed: This is the configuration that is currently deployed to * the associated running environment.

  • failed: This * is a draft configuration that failed to successfully deploy.

*/ inline UpdateConfigurationTemplateResult& WithDeploymentStatus(const ConfigurationDeploymentStatus& value) { SetDeploymentStatus(value); return *this;} /** *

If this configuration set is associated with an environment, the * DeploymentStatus parameter indicates the deployment status of this * configuration set:

  • null: This configuration is * not associated with a running environment.

  • * pending: This is a draft configuration that is not deployed to the * associated environment but is in the process of deploying.

  • * deployed: This is the configuration that is currently deployed to * the associated running environment.

  • failed: This * is a draft configuration that failed to successfully deploy.

*/ inline UpdateConfigurationTemplateResult& WithDeploymentStatus(ConfigurationDeploymentStatus&& value) { SetDeploymentStatus(std::move(value)); return *this;} /** *

The date (in UTC time) when this configuration set was created.

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

The date (in UTC time) when this configuration set was created.

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

The date (in UTC time) when this configuration set was created.

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

The date (in UTC time) when this configuration set was created.

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

The date (in UTC time) when this configuration set was created.

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

The date (in UTC time) when this configuration set was last modified.

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

The date (in UTC time) when this configuration set was last modified.

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

The date (in UTC time) when this configuration set was last modified.

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

The date (in UTC time) when this configuration set was last modified.

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

The date (in UTC time) when this configuration set was last modified.

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

A list of the configuration options and their values in this configuration * set.

*/ inline const Aws::Vector& GetOptionSettings() const{ return m_optionSettings; } /** *

A list of the configuration options and their values in this configuration * set.

*/ inline void SetOptionSettings(const Aws::Vector& value) { m_optionSettings = value; } /** *

A list of the configuration options and their values in this configuration * set.

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

A list of the configuration options and their values in this configuration * set.

*/ inline UpdateConfigurationTemplateResult& WithOptionSettings(const Aws::Vector& value) { SetOptionSettings(value); return *this;} /** *

A list of the configuration options and their values in this configuration * set.

*/ inline UpdateConfigurationTemplateResult& WithOptionSettings(Aws::Vector&& value) { SetOptionSettings(std::move(value)); return *this;} /** *

A list of the configuration options and their values in this configuration * set.

*/ inline UpdateConfigurationTemplateResult& AddOptionSettings(const ConfigurationOptionSetting& value) { m_optionSettings.push_back(value); return *this; } /** *

A list of the configuration options and their values in this configuration * set.

*/ inline UpdateConfigurationTemplateResult& AddOptionSettings(ConfigurationOptionSetting&& value) { m_optionSettings.push_back(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 UpdateConfigurationTemplateResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline UpdateConfigurationTemplateResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_solutionStackName; Aws::String m_platformArn; Aws::String m_applicationName; Aws::String m_templateName; Aws::String m_description; Aws::String m_environmentName; ConfigurationDeploymentStatus m_deploymentStatus; Aws::Utils::DateTime m_dateCreated; Aws::Utils::DateTime m_dateUpdated; Aws::Vector m_optionSettings; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace ElasticBeanstalk } // namespace Aws