This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-elasticbeanstalk/include/aws/elasticbeanstalk/model/CreateConfigurationTemplateRequest.h

715 lines
36 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
#include <aws/elasticbeanstalk/ElasticBeanstalkRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/elasticbeanstalk/model/SourceConfiguration.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/elasticbeanstalk/model/ConfigurationOptionSetting.h>
#include <aws/elasticbeanstalk/model/Tag.h>
#include <utility>
namespace Aws
{
namespace ElasticBeanstalk
{
namespace Model
{
/**
* <p>Request to create a configuration template.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateConfigurationTemplateMessage">AWS
* API Reference</a></p>
*/
class AWS_ELASTICBEANSTALK_API CreateConfigurationTemplateRequest : public ElasticBeanstalkRequest
{
public:
CreateConfigurationTemplateRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "CreateConfigurationTemplate"; }
Aws::String SerializePayload() const override;
protected:
void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
public:
/**
* <p>The name of the Elastic Beanstalk application to associate with this
* configuration template.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>The name of the Elastic Beanstalk application to associate with this
* configuration template.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>The name of the Elastic Beanstalk application to associate with this
* configuration template.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>The name of the Elastic Beanstalk application to associate with this
* configuration template.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>The name of the Elastic Beanstalk application to associate with this
* configuration template.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>The name of the Elastic Beanstalk application to associate with this
* configuration template.</p>
*/
inline CreateConfigurationTemplateRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>The name of the Elastic Beanstalk application to associate with this
* configuration template.</p>
*/
inline CreateConfigurationTemplateRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>The name of the Elastic Beanstalk application to associate with this
* configuration template.</p>
*/
inline CreateConfigurationTemplateRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>The name of the configuration template.</p> <p>Constraint: This name must be
* unique per application.</p>
*/
inline const Aws::String& GetTemplateName() const{ return m_templateName; }
/**
* <p>The name of the configuration template.</p> <p>Constraint: This name must be
* unique per application.</p>
*/
inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
/**
* <p>The name of the configuration template.</p> <p>Constraint: This name must be
* unique per application.</p>
*/
inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
/**
* <p>The name of the configuration template.</p> <p>Constraint: This name must be
* unique per application.</p>
*/
inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
/**
* <p>The name of the configuration template.</p> <p>Constraint: This name must be
* unique per application.</p>
*/
inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
/**
* <p>The name of the configuration template.</p> <p>Constraint: This name must be
* unique per application.</p>
*/
inline CreateConfigurationTemplateRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
/**
* <p>The name of the configuration template.</p> <p>Constraint: This name must be
* unique per application.</p>
*/
inline CreateConfigurationTemplateRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
/**
* <p>The name of the configuration template.</p> <p>Constraint: This name must be
* unique per application.</p>
*/
inline CreateConfigurationTemplateRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
/**
* <p>The name of an Elastic Beanstalk solution stack (platform version) that this
* configuration uses. For example, <code>64bit Amazon Linux 2013.09 running Tomcat
* 7 Java 7</code>. 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 <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html">Supported
* Platforms</a> in the <i>AWS Elastic Beanstalk Developer Guide</i>.</p> <p>You
* must specify <code>SolutionStackName</code> if you don't specify
* <code>PlatformArn</code>, <code>EnvironmentId</code>, or
* <code>SourceConfiguration</code>.</p> <p>Use the <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_ListAvailableSolutionStacks.html">
* <code>ListAvailableSolutionStacks</code> </a> API to obtain a list of available
* solution stacks.</p>
*/
inline const Aws::String& GetSolutionStackName() const{ return m_solutionStackName; }
/**
* <p>The name of an Elastic Beanstalk solution stack (platform version) that this
* configuration uses. For example, <code>64bit Amazon Linux 2013.09 running Tomcat
* 7 Java 7</code>. 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 <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html">Supported
* Platforms</a> in the <i>AWS Elastic Beanstalk Developer Guide</i>.</p> <p>You
* must specify <code>SolutionStackName</code> if you don't specify
* <code>PlatformArn</code>, <code>EnvironmentId</code>, or
* <code>SourceConfiguration</code>.</p> <p>Use the <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_ListAvailableSolutionStacks.html">
* <code>ListAvailableSolutionStacks</code> </a> API to obtain a list of available
* solution stacks.</p>
*/
inline bool SolutionStackNameHasBeenSet() const { return m_solutionStackNameHasBeenSet; }
/**
* <p>The name of an Elastic Beanstalk solution stack (platform version) that this
* configuration uses. For example, <code>64bit Amazon Linux 2013.09 running Tomcat
* 7 Java 7</code>. 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 <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html">Supported
* Platforms</a> in the <i>AWS Elastic Beanstalk Developer Guide</i>.</p> <p>You
* must specify <code>SolutionStackName</code> if you don't specify
* <code>PlatformArn</code>, <code>EnvironmentId</code>, or
* <code>SourceConfiguration</code>.</p> <p>Use the <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_ListAvailableSolutionStacks.html">
* <code>ListAvailableSolutionStacks</code> </a> API to obtain a list of available
* solution stacks.</p>
*/
inline void SetSolutionStackName(const Aws::String& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = value; }
/**
* <p>The name of an Elastic Beanstalk solution stack (platform version) that this
* configuration uses. For example, <code>64bit Amazon Linux 2013.09 running Tomcat
* 7 Java 7</code>. 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 <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html">Supported
* Platforms</a> in the <i>AWS Elastic Beanstalk Developer Guide</i>.</p> <p>You
* must specify <code>SolutionStackName</code> if you don't specify
* <code>PlatformArn</code>, <code>EnvironmentId</code>, or
* <code>SourceConfiguration</code>.</p> <p>Use the <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_ListAvailableSolutionStacks.html">
* <code>ListAvailableSolutionStacks</code> </a> API to obtain a list of available
* solution stacks.</p>
*/
inline void SetSolutionStackName(Aws::String&& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = std::move(value); }
/**
* <p>The name of an Elastic Beanstalk solution stack (platform version) that this
* configuration uses. For example, <code>64bit Amazon Linux 2013.09 running Tomcat
* 7 Java 7</code>. 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 <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html">Supported
* Platforms</a> in the <i>AWS Elastic Beanstalk Developer Guide</i>.</p> <p>You
* must specify <code>SolutionStackName</code> if you don't specify
* <code>PlatformArn</code>, <code>EnvironmentId</code>, or
* <code>SourceConfiguration</code>.</p> <p>Use the <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_ListAvailableSolutionStacks.html">
* <code>ListAvailableSolutionStacks</code> </a> API to obtain a list of available
* solution stacks.</p>
*/
inline void SetSolutionStackName(const char* value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName.assign(value); }
/**
* <p>The name of an Elastic Beanstalk solution stack (platform version) that this
* configuration uses. For example, <code>64bit Amazon Linux 2013.09 running Tomcat
* 7 Java 7</code>. 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 <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html">Supported
* Platforms</a> in the <i>AWS Elastic Beanstalk Developer Guide</i>.</p> <p>You
* must specify <code>SolutionStackName</code> if you don't specify
* <code>PlatformArn</code>, <code>EnvironmentId</code>, or
* <code>SourceConfiguration</code>.</p> <p>Use the <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_ListAvailableSolutionStacks.html">
* <code>ListAvailableSolutionStacks</code> </a> API to obtain a list of available
* solution stacks.</p>
*/
inline CreateConfigurationTemplateRequest& WithSolutionStackName(const Aws::String& value) { SetSolutionStackName(value); return *this;}
/**
* <p>The name of an Elastic Beanstalk solution stack (platform version) that this
* configuration uses. For example, <code>64bit Amazon Linux 2013.09 running Tomcat
* 7 Java 7</code>. 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 <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html">Supported
* Platforms</a> in the <i>AWS Elastic Beanstalk Developer Guide</i>.</p> <p>You
* must specify <code>SolutionStackName</code> if you don't specify
* <code>PlatformArn</code>, <code>EnvironmentId</code>, or
* <code>SourceConfiguration</code>.</p> <p>Use the <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_ListAvailableSolutionStacks.html">
* <code>ListAvailableSolutionStacks</code> </a> API to obtain a list of available
* solution stacks.</p>
*/
inline CreateConfigurationTemplateRequest& WithSolutionStackName(Aws::String&& value) { SetSolutionStackName(std::move(value)); return *this;}
/**
* <p>The name of an Elastic Beanstalk solution stack (platform version) that this
* configuration uses. For example, <code>64bit Amazon Linux 2013.09 running Tomcat
* 7 Java 7</code>. 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 <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html">Supported
* Platforms</a> in the <i>AWS Elastic Beanstalk Developer Guide</i>.</p> <p>You
* must specify <code>SolutionStackName</code> if you don't specify
* <code>PlatformArn</code>, <code>EnvironmentId</code>, or
* <code>SourceConfiguration</code>.</p> <p>Use the <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_ListAvailableSolutionStacks.html">
* <code>ListAvailableSolutionStacks</code> </a> API to obtain a list of available
* solution stacks.</p>
*/
inline CreateConfigurationTemplateRequest& WithSolutionStackName(const char* value) { SetSolutionStackName(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the custom platform. For more information,
* see <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/custom-platforms.html">
* Custom Platforms</a> in the <i>AWS Elastic Beanstalk Developer Guide</i>.</p>
* <p>If you specify <code>PlatformArn</code>, then don't specify
* <code>SolutionStackName</code>.</p>
*/
inline const Aws::String& GetPlatformArn() const{ return m_platformArn; }
/**
* <p>The Amazon Resource Name (ARN) of the custom platform. For more information,
* see <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/custom-platforms.html">
* Custom Platforms</a> in the <i>AWS Elastic Beanstalk Developer Guide</i>.</p>
* <p>If you specify <code>PlatformArn</code>, then don't specify
* <code>SolutionStackName</code>.</p>
*/
inline bool PlatformArnHasBeenSet() const { return m_platformArnHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the custom platform. For more information,
* see <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/custom-platforms.html">
* Custom Platforms</a> in the <i>AWS Elastic Beanstalk Developer Guide</i>.</p>
* <p>If you specify <code>PlatformArn</code>, then don't specify
* <code>SolutionStackName</code>.</p>
*/
inline void SetPlatformArn(const Aws::String& value) { m_platformArnHasBeenSet = true; m_platformArn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the custom platform. For more information,
* see <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/custom-platforms.html">
* Custom Platforms</a> in the <i>AWS Elastic Beanstalk Developer Guide</i>.</p>
* <p>If you specify <code>PlatformArn</code>, then don't specify
* <code>SolutionStackName</code>.</p>
*/
inline void SetPlatformArn(Aws::String&& value) { m_platformArnHasBeenSet = true; m_platformArn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the custom platform. For more information,
* see <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/custom-platforms.html">
* Custom Platforms</a> in the <i>AWS Elastic Beanstalk Developer Guide</i>.</p>
* <p>If you specify <code>PlatformArn</code>, then don't specify
* <code>SolutionStackName</code>.</p>
*/
inline void SetPlatformArn(const char* value) { m_platformArnHasBeenSet = true; m_platformArn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the custom platform. For more information,
* see <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/custom-platforms.html">
* Custom Platforms</a> in the <i>AWS Elastic Beanstalk Developer Guide</i>.</p>
* <p>If you specify <code>PlatformArn</code>, then don't specify
* <code>SolutionStackName</code>.</p>
*/
inline CreateConfigurationTemplateRequest& WithPlatformArn(const Aws::String& value) { SetPlatformArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the custom platform. For more information,
* see <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/custom-platforms.html">
* Custom Platforms</a> in the <i>AWS Elastic Beanstalk Developer Guide</i>.</p>
* <p>If you specify <code>PlatformArn</code>, then don't specify
* <code>SolutionStackName</code>.</p>
*/
inline CreateConfigurationTemplateRequest& WithPlatformArn(Aws::String&& value) { SetPlatformArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the custom platform. For more information,
* see <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/custom-platforms.html">
* Custom Platforms</a> in the <i>AWS Elastic Beanstalk Developer Guide</i>.</p>
* <p>If you specify <code>PlatformArn</code>, then don't specify
* <code>SolutionStackName</code>.</p>
*/
inline CreateConfigurationTemplateRequest& WithPlatformArn(const char* value) { SetPlatformArn(value); return *this;}
/**
* <p>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.</p> <p>Values specified in
* <code>OptionSettings</code> override any values obtained from the
* <code>SourceConfiguration</code>.</p> <p>You must specify
* <code>SourceConfiguration</code> if you don't specify <code>PlatformArn</code>,
* <code>EnvironmentId</code>, or <code>SolutionStackName</code>.</p>
* <p>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.</p>
*/
inline const SourceConfiguration& GetSourceConfiguration() const{ return m_sourceConfiguration; }
/**
* <p>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.</p> <p>Values specified in
* <code>OptionSettings</code> override any values obtained from the
* <code>SourceConfiguration</code>.</p> <p>You must specify
* <code>SourceConfiguration</code> if you don't specify <code>PlatformArn</code>,
* <code>EnvironmentId</code>, or <code>SolutionStackName</code>.</p>
* <p>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.</p>
*/
inline bool SourceConfigurationHasBeenSet() const { return m_sourceConfigurationHasBeenSet; }
/**
* <p>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.</p> <p>Values specified in
* <code>OptionSettings</code> override any values obtained from the
* <code>SourceConfiguration</code>.</p> <p>You must specify
* <code>SourceConfiguration</code> if you don't specify <code>PlatformArn</code>,
* <code>EnvironmentId</code>, or <code>SolutionStackName</code>.</p>
* <p>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.</p>
*/
inline void SetSourceConfiguration(const SourceConfiguration& value) { m_sourceConfigurationHasBeenSet = true; m_sourceConfiguration = value; }
/**
* <p>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.</p> <p>Values specified in
* <code>OptionSettings</code> override any values obtained from the
* <code>SourceConfiguration</code>.</p> <p>You must specify
* <code>SourceConfiguration</code> if you don't specify <code>PlatformArn</code>,
* <code>EnvironmentId</code>, or <code>SolutionStackName</code>.</p>
* <p>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.</p>
*/
inline void SetSourceConfiguration(SourceConfiguration&& value) { m_sourceConfigurationHasBeenSet = true; m_sourceConfiguration = std::move(value); }
/**
* <p>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.</p> <p>Values specified in
* <code>OptionSettings</code> override any values obtained from the
* <code>SourceConfiguration</code>.</p> <p>You must specify
* <code>SourceConfiguration</code> if you don't specify <code>PlatformArn</code>,
* <code>EnvironmentId</code>, or <code>SolutionStackName</code>.</p>
* <p>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.</p>
*/
inline CreateConfigurationTemplateRequest& WithSourceConfiguration(const SourceConfiguration& value) { SetSourceConfiguration(value); return *this;}
/**
* <p>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.</p> <p>Values specified in
* <code>OptionSettings</code> override any values obtained from the
* <code>SourceConfiguration</code>.</p> <p>You must specify
* <code>SourceConfiguration</code> if you don't specify <code>PlatformArn</code>,
* <code>EnvironmentId</code>, or <code>SolutionStackName</code>.</p>
* <p>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.</p>
*/
inline CreateConfigurationTemplateRequest& WithSourceConfiguration(SourceConfiguration&& value) { SetSourceConfiguration(std::move(value)); return *this;}
/**
* <p>The ID of an environment whose settings you want to use to create the
* configuration template. You must specify <code>EnvironmentId</code> if you don't
* specify <code>PlatformArn</code>, <code>SolutionStackName</code>, or
* <code>SourceConfiguration</code>.</p>
*/
inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
/**
* <p>The ID of an environment whose settings you want to use to create the
* configuration template. You must specify <code>EnvironmentId</code> if you don't
* specify <code>PlatformArn</code>, <code>SolutionStackName</code>, or
* <code>SourceConfiguration</code>.</p>
*/
inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
/**
* <p>The ID of an environment whose settings you want to use to create the
* configuration template. You must specify <code>EnvironmentId</code> if you don't
* specify <code>PlatformArn</code>, <code>SolutionStackName</code>, or
* <code>SourceConfiguration</code>.</p>
*/
inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
/**
* <p>The ID of an environment whose settings you want to use to create the
* configuration template. You must specify <code>EnvironmentId</code> if you don't
* specify <code>PlatformArn</code>, <code>SolutionStackName</code>, or
* <code>SourceConfiguration</code>.</p>
*/
inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
/**
* <p>The ID of an environment whose settings you want to use to create the
* configuration template. You must specify <code>EnvironmentId</code> if you don't
* specify <code>PlatformArn</code>, <code>SolutionStackName</code>, or
* <code>SourceConfiguration</code>.</p>
*/
inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
/**
* <p>The ID of an environment whose settings you want to use to create the
* configuration template. You must specify <code>EnvironmentId</code> if you don't
* specify <code>PlatformArn</code>, <code>SolutionStackName</code>, or
* <code>SourceConfiguration</code>.</p>
*/
inline CreateConfigurationTemplateRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
/**
* <p>The ID of an environment whose settings you want to use to create the
* configuration template. You must specify <code>EnvironmentId</code> if you don't
* specify <code>PlatformArn</code>, <code>SolutionStackName</code>, or
* <code>SourceConfiguration</code>.</p>
*/
inline CreateConfigurationTemplateRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
/**
* <p>The ID of an environment whose settings you want to use to create the
* configuration template. You must specify <code>EnvironmentId</code> if you don't
* specify <code>PlatformArn</code>, <code>SolutionStackName</code>, or
* <code>SourceConfiguration</code>.</p>
*/
inline CreateConfigurationTemplateRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
/**
* <p>An optional description for this configuration.</p>
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* <p>An optional description for this configuration.</p>
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* <p>An optional description for this configuration.</p>
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* <p>An optional description for this configuration.</p>
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* <p>An optional description for this configuration.</p>
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* <p>An optional description for this configuration.</p>
*/
inline CreateConfigurationTemplateRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* <p>An optional description for this configuration.</p>
*/
inline CreateConfigurationTemplateRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* <p>An optional description for this configuration.</p>
*/
inline CreateConfigurationTemplateRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* <p>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 <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html">Option
* Values</a> in the <i>AWS Elastic Beanstalk Developer Guide</i>.</p>
*/
inline const Aws::Vector<ConfigurationOptionSetting>& GetOptionSettings() const{ return m_optionSettings; }
/**
* <p>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 <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html">Option
* Values</a> in the <i>AWS Elastic Beanstalk Developer Guide</i>.</p>
*/
inline bool OptionSettingsHasBeenSet() const { return m_optionSettingsHasBeenSet; }
/**
* <p>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 <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html">Option
* Values</a> in the <i>AWS Elastic Beanstalk Developer Guide</i>.</p>
*/
inline void SetOptionSettings(const Aws::Vector<ConfigurationOptionSetting>& value) { m_optionSettingsHasBeenSet = true; m_optionSettings = value; }
/**
* <p>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 <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html">Option
* Values</a> in the <i>AWS Elastic Beanstalk Developer Guide</i>.</p>
*/
inline void SetOptionSettings(Aws::Vector<ConfigurationOptionSetting>&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings = std::move(value); }
/**
* <p>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 <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html">Option
* Values</a> in the <i>AWS Elastic Beanstalk Developer Guide</i>.</p>
*/
inline CreateConfigurationTemplateRequest& WithOptionSettings(const Aws::Vector<ConfigurationOptionSetting>& value) { SetOptionSettings(value); return *this;}
/**
* <p>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 <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html">Option
* Values</a> in the <i>AWS Elastic Beanstalk Developer Guide</i>.</p>
*/
inline CreateConfigurationTemplateRequest& WithOptionSettings(Aws::Vector<ConfigurationOptionSetting>&& value) { SetOptionSettings(std::move(value)); return *this;}
/**
* <p>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 <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html">Option
* Values</a> in the <i>AWS Elastic Beanstalk Developer Guide</i>.</p>
*/
inline CreateConfigurationTemplateRequest& AddOptionSettings(const ConfigurationOptionSetting& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.push_back(value); return *this; }
/**
* <p>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 <a
* href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html">Option
* Values</a> in the <i>AWS Elastic Beanstalk Developer Guide</i>.</p>
*/
inline CreateConfigurationTemplateRequest& AddOptionSettings(ConfigurationOptionSetting&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.push_back(std::move(value)); return *this; }
/**
* <p>Specifies the tags applied to the configuration template.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>Specifies the tags applied to the configuration template.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>Specifies the tags applied to the configuration template.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>Specifies the tags applied to the configuration template.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>Specifies the tags applied to the configuration template.</p>
*/
inline CreateConfigurationTemplateRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>Specifies the tags applied to the configuration template.</p>
*/
inline CreateConfigurationTemplateRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>Specifies the tags applied to the configuration template.</p>
*/
inline CreateConfigurationTemplateRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
/**
* <p>Specifies the tags applied to the configuration template.</p>
*/
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;
Aws::String m_templateName;
bool m_templateNameHasBeenSet;
Aws::String m_solutionStackName;
bool m_solutionStackNameHasBeenSet;
Aws::String m_platformArn;
bool m_platformArnHasBeenSet;
SourceConfiguration m_sourceConfiguration;
bool m_sourceConfigurationHasBeenSet;
Aws::String m_environmentId;
bool m_environmentIdHasBeenSet;
Aws::String m_description;
bool m_descriptionHasBeenSet;
Aws::Vector<ConfigurationOptionSetting> m_optionSettings;
bool m_optionSettingsHasBeenSet;
Aws::Vector<Tag> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace ElasticBeanstalk
} // namespace Aws