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

Represents a request to return the details of a configuration set. * Configuration sets enable you to publish email sending events. For information * about using configuration sets, see the Amazon * SES Developer Guide.

See Also:

AWS * API Reference

*/ class DescribeConfigurationSetRequest : public SESRequest { public: AWS_SES_API DescribeConfigurationSetRequest(); // 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 "DescribeConfigurationSet"; } AWS_SES_API Aws::String SerializePayload() const override; protected: AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The name of the configuration set to describe.

*/ inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; } /** *

The name of the configuration set to describe.

*/ inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; } /** *

The name of the configuration set to describe.

*/ inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; } /** *

The name of the configuration set to describe.

*/ inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); } /** *

The name of the configuration set to describe.

*/ inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); } /** *

The name of the configuration set to describe.

*/ inline DescribeConfigurationSetRequest& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;} /** *

The name of the configuration set to describe.

*/ inline DescribeConfigurationSetRequest& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;} /** *

The name of the configuration set to describe.

*/ inline DescribeConfigurationSetRequest& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;} /** *

A list of configuration set attributes to return.

*/ inline const Aws::Vector& GetConfigurationSetAttributeNames() const{ return m_configurationSetAttributeNames; } /** *

A list of configuration set attributes to return.

*/ inline bool ConfigurationSetAttributeNamesHasBeenSet() const { return m_configurationSetAttributeNamesHasBeenSet; } /** *

A list of configuration set attributes to return.

*/ inline void SetConfigurationSetAttributeNames(const Aws::Vector& value) { m_configurationSetAttributeNamesHasBeenSet = true; m_configurationSetAttributeNames = value; } /** *

A list of configuration set attributes to return.

*/ inline void SetConfigurationSetAttributeNames(Aws::Vector&& value) { m_configurationSetAttributeNamesHasBeenSet = true; m_configurationSetAttributeNames = std::move(value); } /** *

A list of configuration set attributes to return.

*/ inline DescribeConfigurationSetRequest& WithConfigurationSetAttributeNames(const Aws::Vector& value) { SetConfigurationSetAttributeNames(value); return *this;} /** *

A list of configuration set attributes to return.

*/ inline DescribeConfigurationSetRequest& WithConfigurationSetAttributeNames(Aws::Vector&& value) { SetConfigurationSetAttributeNames(std::move(value)); return *this;} /** *

A list of configuration set attributes to return.

*/ inline DescribeConfigurationSetRequest& AddConfigurationSetAttributeNames(const ConfigurationSetAttribute& value) { m_configurationSetAttributeNamesHasBeenSet = true; m_configurationSetAttributeNames.push_back(value); return *this; } /** *

A list of configuration set attributes to return.

*/ inline DescribeConfigurationSetRequest& AddConfigurationSetAttributeNames(ConfigurationSetAttribute&& value) { m_configurationSetAttributeNamesHasBeenSet = true; m_configurationSetAttributeNames.push_back(std::move(value)); return *this; } private: Aws::String m_configurationSetName; bool m_configurationSetNameHasBeenSet = false; Aws::Vector m_configurationSetAttributeNames; bool m_configurationSetAttributeNamesHasBeenSet = false; }; } // namespace Model } // namespace SES } // namespace Aws