/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace ElasticBeanstalk { namespace Model { /** *

Result message containing all of the configuration settings for a specified * solution stack or configuration template.

See Also:

AWS * API Reference

*/ class DescribeConfigurationSettingsRequest : public ElasticBeanstalkRequest { public: AWS_ELASTICBEANSTALK_API DescribeConfigurationSettingsRequest(); // 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 "DescribeConfigurationSettings"; } AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override; protected: AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The application for the environment or configuration template.

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

The application for the environment or configuration template.

*/ inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; } /** *

The application for the environment or configuration template.

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

The application for the environment or configuration template.

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

The application for the environment or configuration template.

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

The application for the environment or configuration template.

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

The application for the environment or configuration template.

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

The application for the environment or configuration template.

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

The name of the configuration template to describe.

Conditional: You * must specify either this parameter or an EnvironmentName, but not both. If you * specify both, AWS Elastic Beanstalk returns an * InvalidParameterCombination error. If you do not specify either, * AWS Elastic Beanstalk returns a MissingRequiredParameter error. *

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

The name of the configuration template to describe.

Conditional: You * must specify either this parameter or an EnvironmentName, but not both. If you * specify both, AWS Elastic Beanstalk returns an * InvalidParameterCombination error. If you do not specify either, * AWS Elastic Beanstalk returns a MissingRequiredParameter error. *

*/ inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; } /** *

The name of the configuration template to describe.

Conditional: You * must specify either this parameter or an EnvironmentName, but not both. If you * specify both, AWS Elastic Beanstalk returns an * InvalidParameterCombination error. If you do not specify either, * AWS Elastic Beanstalk returns a MissingRequiredParameter error. *

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

The name of the configuration template to describe.

Conditional: You * must specify either this parameter or an EnvironmentName, but not both. If you * specify both, AWS Elastic Beanstalk returns an * InvalidParameterCombination error. If you do not specify either, * AWS Elastic Beanstalk returns a MissingRequiredParameter error. *

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

The name of the configuration template to describe.

Conditional: You * must specify either this parameter or an EnvironmentName, but not both. If you * specify both, AWS Elastic Beanstalk returns an * InvalidParameterCombination error. If you do not specify either, * AWS Elastic Beanstalk returns a MissingRequiredParameter error. *

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

The name of the configuration template to describe.

Conditional: You * must specify either this parameter or an EnvironmentName, but not both. If you * specify both, AWS Elastic Beanstalk returns an * InvalidParameterCombination error. If you do not specify either, * AWS Elastic Beanstalk returns a MissingRequiredParameter error. *

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

The name of the configuration template to describe.

Conditional: You * must specify either this parameter or an EnvironmentName, but not both. If you * specify both, AWS Elastic Beanstalk returns an * InvalidParameterCombination error. If you do not specify either, * AWS Elastic Beanstalk returns a MissingRequiredParameter error. *

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

The name of the configuration template to describe.

Conditional: You * must specify either this parameter or an EnvironmentName, but not both. If you * specify both, AWS Elastic Beanstalk returns an * InvalidParameterCombination error. If you do not specify either, * AWS Elastic Beanstalk returns a MissingRequiredParameter error. *

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

The name of the environment to describe.

Condition: You must specify * either this or a TemplateName, but not both. If you specify both, AWS Elastic * Beanstalk returns an InvalidParameterCombination error. If you do * not specify either, AWS Elastic Beanstalk returns * MissingRequiredParameter error.

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

The name of the environment to describe.

Condition: You must specify * either this or a TemplateName, but not both. If you specify both, AWS Elastic * Beanstalk returns an InvalidParameterCombination error. If you do * not specify either, AWS Elastic Beanstalk returns * MissingRequiredParameter error.

*/ inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; } /** *

The name of the environment to describe.

Condition: You must specify * either this or a TemplateName, but not both. If you specify both, AWS Elastic * Beanstalk returns an InvalidParameterCombination error. If you do * not specify either, AWS Elastic Beanstalk returns * MissingRequiredParameter error.

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

The name of the environment to describe.

Condition: You must specify * either this or a TemplateName, but not both. If you specify both, AWS Elastic * Beanstalk returns an InvalidParameterCombination error. If you do * not specify either, AWS Elastic Beanstalk returns * MissingRequiredParameter error.

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

The name of the environment to describe.

Condition: You must specify * either this or a TemplateName, but not both. If you specify both, AWS Elastic * Beanstalk returns an InvalidParameterCombination error. If you do * not specify either, AWS Elastic Beanstalk returns * MissingRequiredParameter error.

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

The name of the environment to describe.

Condition: You must specify * either this or a TemplateName, but not both. If you specify both, AWS Elastic * Beanstalk returns an InvalidParameterCombination error. If you do * not specify either, AWS Elastic Beanstalk returns * MissingRequiredParameter error.

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

The name of the environment to describe.

Condition: You must specify * either this or a TemplateName, but not both. If you specify both, AWS Elastic * Beanstalk returns an InvalidParameterCombination error. If you do * not specify either, AWS Elastic Beanstalk returns * MissingRequiredParameter error.

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

The name of the environment to describe.

Condition: You must specify * either this or a TemplateName, but not both. If you specify both, AWS Elastic * Beanstalk returns an InvalidParameterCombination error. If you do * not specify either, AWS Elastic Beanstalk returns * MissingRequiredParameter error.

*/ inline DescribeConfigurationSettingsRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;} private: Aws::String m_applicationName; bool m_applicationNameHasBeenSet = false; Aws::String m_templateName; bool m_templateNameHasBeenSet = false; Aws::String m_environmentName; bool m_environmentNameHasBeenSet = false; }; } // namespace Model } // namespace ElasticBeanstalk } // namespace Aws