/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Request to create a configuration template.See Also:
AWS
* API Reference
The name of the Elastic Beanstalk application to associate with this * configuration template.
*/ inline const Aws::String& GetApplicationName() const{ return m_applicationName; } /** *The name of the Elastic Beanstalk application to associate with this * configuration template.
*/ inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; } /** *The name of the Elastic Beanstalk application to associate with this * configuration template.
*/ inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; } /** *The name of the Elastic Beanstalk application to associate with this * configuration template.
*/ inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); } /** *The name of the Elastic Beanstalk application to associate with this * configuration template.
*/ inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); } /** *The name of the Elastic Beanstalk application to associate with this * configuration template.
*/ inline CreateConfigurationTemplateRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;} /** *The name of the Elastic Beanstalk application to associate with this * configuration template.
*/ inline CreateConfigurationTemplateRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;} /** *The name of the Elastic Beanstalk application to associate with this * configuration template.
*/ inline CreateConfigurationTemplateRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;} /** *The name of the configuration template.
Constraint: This name must be * unique per application.
*/ inline const Aws::String& GetTemplateName() const{ return m_templateName; } /** *The name of the configuration template.
Constraint: This name must be * unique per application.
*/ inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; } /** *The name of the configuration template.
Constraint: This name must be * unique per application.
*/ inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; } /** *The name of the configuration template.
Constraint: This name must be * unique per application.
*/ inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); } /** *The name of the configuration template.
Constraint: This name must be * unique per application.
*/ inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); } /** *The name of the configuration template.
Constraint: This name must be * unique per application.
*/ inline CreateConfigurationTemplateRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;} /** *The name of the configuration template.
Constraint: This name must be * unique per application.
*/ inline CreateConfigurationTemplateRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;} /** *The name of the configuration template.
Constraint: This name must be * unique per application.
*/ inline CreateConfigurationTemplateRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;} /** *The name of an Elastic Beanstalk solution stack (platform version) that this
* configuration uses. For example, 64bit Amazon Linux 2013.09 running Tomcat
* 7 Java 7
. A solution stack specifies the operating system, runtime, and
* application server for a configuration template. It also determines the set of
* configuration options as well as the possible and default values. For more
* information, see Supported
* Platforms in the AWS Elastic Beanstalk Developer Guide.
You
* must specify SolutionStackName
if you don't specify
* PlatformArn
, EnvironmentId
, or
* SourceConfiguration
.
Use the
* ListAvailableSolutionStacks
API to obtain a list of available
* solution stacks.
The name of an Elastic Beanstalk solution stack (platform version) that this
* configuration uses. For example, 64bit Amazon Linux 2013.09 running Tomcat
* 7 Java 7
. A solution stack specifies the operating system, runtime, and
* application server for a configuration template. It also determines the set of
* configuration options as well as the possible and default values. For more
* information, see Supported
* Platforms in the AWS Elastic Beanstalk Developer Guide.
You
* must specify SolutionStackName
if you don't specify
* PlatformArn
, EnvironmentId
, or
* SourceConfiguration
.
Use the
* ListAvailableSolutionStacks
API to obtain a list of available
* solution stacks.
The name of an Elastic Beanstalk solution stack (platform version) that this
* configuration uses. For example, 64bit Amazon Linux 2013.09 running Tomcat
* 7 Java 7
. A solution stack specifies the operating system, runtime, and
* application server for a configuration template. It also determines the set of
* configuration options as well as the possible and default values. For more
* information, see Supported
* Platforms in the AWS Elastic Beanstalk Developer Guide.
You
* must specify SolutionStackName
if you don't specify
* PlatformArn
, EnvironmentId
, or
* SourceConfiguration
.
Use the
* ListAvailableSolutionStacks
API to obtain a list of available
* solution stacks.
The name of an Elastic Beanstalk solution stack (platform version) that this
* configuration uses. For example, 64bit Amazon Linux 2013.09 running Tomcat
* 7 Java 7
. A solution stack specifies the operating system, runtime, and
* application server for a configuration template. It also determines the set of
* configuration options as well as the possible and default values. For more
* information, see Supported
* Platforms in the AWS Elastic Beanstalk Developer Guide.
You
* must specify SolutionStackName
if you don't specify
* PlatformArn
, EnvironmentId
, or
* SourceConfiguration
.
Use the
* ListAvailableSolutionStacks
API to obtain a list of available
* solution stacks.
The name of an Elastic Beanstalk solution stack (platform version) that this
* configuration uses. For example, 64bit Amazon Linux 2013.09 running Tomcat
* 7 Java 7
. A solution stack specifies the operating system, runtime, and
* application server for a configuration template. It also determines the set of
* configuration options as well as the possible and default values. For more
* information, see Supported
* Platforms in the AWS Elastic Beanstalk Developer Guide.
You
* must specify SolutionStackName
if you don't specify
* PlatformArn
, EnvironmentId
, or
* SourceConfiguration
.
Use the
* ListAvailableSolutionStacks
API to obtain a list of available
* solution stacks.
The name of an Elastic Beanstalk solution stack (platform version) that this
* configuration uses. For example, 64bit Amazon Linux 2013.09 running Tomcat
* 7 Java 7
. A solution stack specifies the operating system, runtime, and
* application server for a configuration template. It also determines the set of
* configuration options as well as the possible and default values. For more
* information, see Supported
* Platforms in the AWS Elastic Beanstalk Developer Guide.
You
* must specify SolutionStackName
if you don't specify
* PlatformArn
, EnvironmentId
, or
* SourceConfiguration
.
Use the
* ListAvailableSolutionStacks
API to obtain a list of available
* solution stacks.
The name of an Elastic Beanstalk solution stack (platform version) that this
* configuration uses. For example, 64bit Amazon Linux 2013.09 running Tomcat
* 7 Java 7
. A solution stack specifies the operating system, runtime, and
* application server for a configuration template. It also determines the set of
* configuration options as well as the possible and default values. For more
* information, see Supported
* Platforms in the AWS Elastic Beanstalk Developer Guide.
You
* must specify SolutionStackName
if you don't specify
* PlatformArn
, EnvironmentId
, or
* SourceConfiguration
.
Use the
* ListAvailableSolutionStacks
API to obtain a list of available
* solution stacks.
The name of an Elastic Beanstalk solution stack (platform version) that this
* configuration uses. For example, 64bit Amazon Linux 2013.09 running Tomcat
* 7 Java 7
. A solution stack specifies the operating system, runtime, and
* application server for a configuration template. It also determines the set of
* configuration options as well as the possible and default values. For more
* information, see Supported
* Platforms in the AWS Elastic Beanstalk Developer Guide.
You
* must specify SolutionStackName
if you don't specify
* PlatformArn
, EnvironmentId
, or
* SourceConfiguration
.
Use the
* ListAvailableSolutionStacks
API to obtain a list of available
* solution stacks.
The Amazon Resource Name (ARN) of the custom platform. For more information, * see * Custom Platforms in the AWS Elastic Beanstalk Developer Guide.
*If you specify PlatformArn
, then don't specify
* SolutionStackName
.
The Amazon Resource Name (ARN) of the custom platform. For more information, * see * Custom Platforms in the AWS Elastic Beanstalk Developer Guide.
*If you specify PlatformArn
, then don't specify
* SolutionStackName
.
The Amazon Resource Name (ARN) of the custom platform. For more information, * see * Custom Platforms in the AWS Elastic Beanstalk Developer Guide.
*If you specify PlatformArn
, then don't specify
* SolutionStackName
.
The Amazon Resource Name (ARN) of the custom platform. For more information, * see * Custom Platforms in the AWS Elastic Beanstalk Developer Guide.
*If you specify PlatformArn
, then don't specify
* SolutionStackName
.
The Amazon Resource Name (ARN) of the custom platform. For more information, * see * Custom Platforms in the AWS Elastic Beanstalk Developer Guide.
*If you specify PlatformArn
, then don't specify
* SolutionStackName
.
The Amazon Resource Name (ARN) of the custom platform. For more information, * see * Custom Platforms in the AWS Elastic Beanstalk Developer Guide.
*If you specify PlatformArn
, then don't specify
* SolutionStackName
.
The Amazon Resource Name (ARN) of the custom platform. For more information, * see * Custom Platforms in the AWS Elastic Beanstalk Developer Guide.
*If you specify PlatformArn
, then don't specify
* SolutionStackName
.
The Amazon Resource Name (ARN) of the custom platform. For more information, * see * Custom Platforms in the AWS Elastic Beanstalk Developer Guide.
*If you specify PlatformArn
, then don't specify
* SolutionStackName
.
An Elastic Beanstalk configuration template to base this one on. If * specified, Elastic Beanstalk uses the configuration values from the specified * configuration template to create a new configuration.
Values specified in
* OptionSettings
override any values obtained from the
* SourceConfiguration
.
You must specify
* SourceConfiguration
if you don't specify PlatformArn
,
* EnvironmentId
, or SolutionStackName
.
Constraint: If both solution stack name and source configuration are * specified, the solution stack of the source configuration template must match * the specified solution stack name.
*/ inline const SourceConfiguration& GetSourceConfiguration() const{ return m_sourceConfiguration; } /** *An Elastic Beanstalk configuration template to base this one on. If * specified, Elastic Beanstalk uses the configuration values from the specified * configuration template to create a new configuration.
Values specified in
* OptionSettings
override any values obtained from the
* SourceConfiguration
.
You must specify
* SourceConfiguration
if you don't specify PlatformArn
,
* EnvironmentId
, or SolutionStackName
.
Constraint: If both solution stack name and source configuration are * specified, the solution stack of the source configuration template must match * the specified solution stack name.
*/ inline bool SourceConfigurationHasBeenSet() const { return m_sourceConfigurationHasBeenSet; } /** *An Elastic Beanstalk configuration template to base this one on. If * specified, Elastic Beanstalk uses the configuration values from the specified * configuration template to create a new configuration.
Values specified in
* OptionSettings
override any values obtained from the
* SourceConfiguration
.
You must specify
* SourceConfiguration
if you don't specify PlatformArn
,
* EnvironmentId
, or SolutionStackName
.
Constraint: If both solution stack name and source configuration are * specified, the solution stack of the source configuration template must match * the specified solution stack name.
*/ inline void SetSourceConfiguration(const SourceConfiguration& value) { m_sourceConfigurationHasBeenSet = true; m_sourceConfiguration = value; } /** *An Elastic Beanstalk configuration template to base this one on. If * specified, Elastic Beanstalk uses the configuration values from the specified * configuration template to create a new configuration.
Values specified in
* OptionSettings
override any values obtained from the
* SourceConfiguration
.
You must specify
* SourceConfiguration
if you don't specify PlatformArn
,
* EnvironmentId
, or SolutionStackName
.
Constraint: If both solution stack name and source configuration are * specified, the solution stack of the source configuration template must match * the specified solution stack name.
*/ inline void SetSourceConfiguration(SourceConfiguration&& value) { m_sourceConfigurationHasBeenSet = true; m_sourceConfiguration = std::move(value); } /** *An Elastic Beanstalk configuration template to base this one on. If * specified, Elastic Beanstalk uses the configuration values from the specified * configuration template to create a new configuration.
Values specified in
* OptionSettings
override any values obtained from the
* SourceConfiguration
.
You must specify
* SourceConfiguration
if you don't specify PlatformArn
,
* EnvironmentId
, or SolutionStackName
.
Constraint: If both solution stack name and source configuration are * specified, the solution stack of the source configuration template must match * the specified solution stack name.
*/ inline CreateConfigurationTemplateRequest& WithSourceConfiguration(const SourceConfiguration& value) { SetSourceConfiguration(value); return *this;} /** *An Elastic Beanstalk configuration template to base this one on. If * specified, Elastic Beanstalk uses the configuration values from the specified * configuration template to create a new configuration.
Values specified in
* OptionSettings
override any values obtained from the
* SourceConfiguration
.
You must specify
* SourceConfiguration
if you don't specify PlatformArn
,
* EnvironmentId
, or SolutionStackName
.
Constraint: If both solution stack name and source configuration are * specified, the solution stack of the source configuration template must match * the specified solution stack name.
*/ inline CreateConfigurationTemplateRequest& WithSourceConfiguration(SourceConfiguration&& value) { SetSourceConfiguration(std::move(value)); return *this;} /** *The ID of an environment whose settings you want to use to create the
* configuration template. You must specify EnvironmentId
if you don't
* specify PlatformArn
, SolutionStackName
, or
* SourceConfiguration
.
The ID of an environment whose settings you want to use to create the
* configuration template. You must specify EnvironmentId
if you don't
* specify PlatformArn
, SolutionStackName
, or
* SourceConfiguration
.
The ID of an environment whose settings you want to use to create the
* configuration template. You must specify EnvironmentId
if you don't
* specify PlatformArn
, SolutionStackName
, or
* SourceConfiguration
.
The ID of an environment whose settings you want to use to create the
* configuration template. You must specify EnvironmentId
if you don't
* specify PlatformArn
, SolutionStackName
, or
* SourceConfiguration
.
The ID of an environment whose settings you want to use to create the
* configuration template. You must specify EnvironmentId
if you don't
* specify PlatformArn
, SolutionStackName
, or
* SourceConfiguration
.
The ID of an environment whose settings you want to use to create the
* configuration template. You must specify EnvironmentId
if you don't
* specify PlatformArn
, SolutionStackName
, or
* SourceConfiguration
.
The ID of an environment whose settings you want to use to create the
* configuration template. You must specify EnvironmentId
if you don't
* specify PlatformArn
, SolutionStackName
, or
* SourceConfiguration
.
The ID of an environment whose settings you want to use to create the
* configuration template. You must specify EnvironmentId
if you don't
* specify PlatformArn
, SolutionStackName
, or
* SourceConfiguration
.
An optional description for this configuration.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *An optional description for this configuration.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *An optional description for this configuration.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *An optional description for this configuration.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *An optional description for this configuration.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *An optional description for this configuration.
*/ inline CreateConfigurationTemplateRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *An optional description for this configuration.
*/ inline CreateConfigurationTemplateRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *An optional description for this configuration.
*/ inline CreateConfigurationTemplateRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *Option values for the Elastic Beanstalk configuration, such as the instance * type. If specified, these values override the values obtained from the solution * stack or the source configuration template. For a complete list of Elastic * Beanstalk configuration options, see Option * Values in the AWS Elastic Beanstalk Developer Guide.
*/ inline const Aws::VectorOption values for the Elastic Beanstalk configuration, such as the instance * type. If specified, these values override the values obtained from the solution * stack or the source configuration template. For a complete list of Elastic * Beanstalk configuration options, see Option * Values in the AWS Elastic Beanstalk Developer Guide.
*/ inline bool OptionSettingsHasBeenSet() const { return m_optionSettingsHasBeenSet; } /** *Option values for the Elastic Beanstalk configuration, such as the instance * type. If specified, these values override the values obtained from the solution * stack or the source configuration template. For a complete list of Elastic * Beanstalk configuration options, see Option * Values in the AWS Elastic Beanstalk Developer Guide.
*/ inline void SetOptionSettings(const Aws::VectorOption values for the Elastic Beanstalk configuration, such as the instance * type. If specified, these values override the values obtained from the solution * stack or the source configuration template. For a complete list of Elastic * Beanstalk configuration options, see Option * Values in the AWS Elastic Beanstalk Developer Guide.
*/ inline void SetOptionSettings(Aws::VectorOption values for the Elastic Beanstalk configuration, such as the instance * type. If specified, these values override the values obtained from the solution * stack or the source configuration template. For a complete list of Elastic * Beanstalk configuration options, see Option * Values in the AWS Elastic Beanstalk Developer Guide.
*/ inline CreateConfigurationTemplateRequest& WithOptionSettings(const Aws::VectorOption values for the Elastic Beanstalk configuration, such as the instance * type. If specified, these values override the values obtained from the solution * stack or the source configuration template. For a complete list of Elastic * Beanstalk configuration options, see Option * Values in the AWS Elastic Beanstalk Developer Guide.
*/ inline CreateConfigurationTemplateRequest& WithOptionSettings(Aws::VectorOption values for the Elastic Beanstalk configuration, such as the instance * type. If specified, these values override the values obtained from the solution * stack or the source configuration template. For a complete list of Elastic * Beanstalk configuration options, see Option * Values in the AWS Elastic Beanstalk Developer Guide.
*/ inline CreateConfigurationTemplateRequest& AddOptionSettings(const ConfigurationOptionSetting& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.push_back(value); return *this; } /** *Option values for the Elastic Beanstalk configuration, such as the instance * type. If specified, these values override the values obtained from the solution * stack or the source configuration template. For a complete list of Elastic * Beanstalk configuration options, see Option * Values in the AWS Elastic Beanstalk Developer Guide.
*/ inline CreateConfigurationTemplateRequest& AddOptionSettings(ConfigurationOptionSetting&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.push_back(std::move(value)); return *this; } /** *Specifies the tags applied to the configuration template.
*/ inline const Aws::VectorSpecifies the tags applied to the configuration template.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *Specifies the tags applied to the configuration template.
*/ inline void SetTags(const Aws::VectorSpecifies the tags applied to the configuration template.
*/ inline void SetTags(Aws::VectorSpecifies the tags applied to the configuration template.
*/ inline CreateConfigurationTemplateRequest& WithTags(const Aws::VectorSpecifies the tags applied to the configuration template.
*/ inline CreateConfigurationTemplateRequest& WithTags(Aws::VectorSpecifies the tags applied to the configuration template.
*/ inline CreateConfigurationTemplateRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *Specifies the tags applied to the configuration template.
*/ inline CreateConfigurationTemplateRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_applicationName; bool m_applicationNameHasBeenSet = false; Aws::String m_templateName; bool m_templateNameHasBeenSet = false; Aws::String m_solutionStackName; bool m_solutionStackNameHasBeenSet = false; Aws::String m_platformArn; bool m_platformArnHasBeenSet = false; SourceConfiguration m_sourceConfiguration; bool m_sourceConfigurationHasBeenSet = false; Aws::String m_environmentId; bool m_environmentIdHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector