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

Describes the settings for a configuration set.

See Also:

AWS * API Reference

*/ class ConfigurationSettingsDescription { public: AWS_ELASTICBEANSTALK_API ConfigurationSettingsDescription(); AWS_ELASTICBEANSTALK_API ConfigurationSettingsDescription(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_ELASTICBEANSTALK_API ConfigurationSettingsDescription& 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 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 bool SolutionStackNameHasBeenSet() const { return m_solutionStackNameHasBeenSet; } /** *

The name of the solution stack this configuration set uses.

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

The name of the solution stack this configuration set uses.

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

The name of the solution stack this configuration set uses.

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

The name of the solution stack this configuration set uses.

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

The name of the solution stack this configuration set uses.

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

The name of the solution stack this configuration set uses.

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

The ARN of the platform version.

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

The ARN of the platform version.

*/ inline ConfigurationSettingsDescription& 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 bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; } /** *

The name of the application associated with this configuration set.

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

The name of the application associated with this configuration set.

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

The name of the application associated with this configuration set.

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

The name of the application associated with this configuration set.

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

The name of the application associated with this configuration set.

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

The name of the application associated with this configuration set.

*/ inline ConfigurationSettingsDescription& 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 bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; } /** *

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

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

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

*/ inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; 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_templateNameHasBeenSet = true; m_templateName.assign(value); } /** *

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

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

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

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

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

*/ inline ConfigurationSettingsDescription& 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 bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

Describes this configuration set.

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

Describes this configuration set.

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

Describes this configuration set.

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

Describes this configuration set.

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

Describes this configuration set.

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

Describes this configuration set.

*/ inline ConfigurationSettingsDescription& 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 bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; } /** *

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

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

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

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

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

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

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

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

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

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

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

*/ inline ConfigurationSettingsDescription& 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 bool DeploymentStatusHasBeenSet() const { return m_deploymentStatusHasBeenSet; } /** *

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_deploymentStatusHasBeenSet = true; 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_deploymentStatusHasBeenSet = true; 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 ConfigurationSettingsDescription& 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 ConfigurationSettingsDescription& 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 bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; } /** *

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

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

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

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

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

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

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

*/ inline ConfigurationSettingsDescription& 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 bool DateUpdatedHasBeenSet() const { return m_dateUpdatedHasBeenSet; } /** *

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

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

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

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

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

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

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

*/ inline ConfigurationSettingsDescription& 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 bool OptionSettingsHasBeenSet() const { return m_optionSettingsHasBeenSet; } /** *

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

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

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

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

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

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

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

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

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

*/ inline ConfigurationSettingsDescription& AddOptionSettings(const ConfigurationOptionSetting& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.push_back(value); return *this; } /** *

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

*/ inline ConfigurationSettingsDescription& AddOptionSettings(ConfigurationOptionSetting&& value) { m_optionSettingsHasBeenSet = true; 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 ConfigurationSettingsDescription& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline ConfigurationSettingsDescription& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_solutionStackName; bool m_solutionStackNameHasBeenSet = false; Aws::String m_platformArn; bool m_platformArnHasBeenSet = false; Aws::String m_applicationName; bool m_applicationNameHasBeenSet = false; Aws::String m_templateName; bool m_templateNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_environmentName; bool m_environmentNameHasBeenSet = false; ConfigurationDeploymentStatus m_deploymentStatus; bool m_deploymentStatusHasBeenSet = false; Aws::Utils::DateTime m_dateCreated; bool m_dateCreatedHasBeenSet = false; Aws::Utils::DateTime m_dateUpdated; bool m_dateUpdatedHasBeenSet = false; Aws::Vector m_optionSettings; bool m_optionSettingsHasBeenSet = false; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace ElasticBeanstalk } // namespace Aws