/** * 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 SES { namespace Model { /** *

Represents a request to create 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 CreateConfigurationSetRequest : public SESRequest { public: AWS_SES_API CreateConfigurationSetRequest(); // 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 "CreateConfigurationSet"; } AWS_SES_API Aws::String SerializePayload() const override; protected: AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

A data structure that contains the name of the configuration set.

*/ inline const ConfigurationSet& GetConfigurationSet() const{ return m_configurationSet; } /** *

A data structure that contains the name of the configuration set.

*/ inline bool ConfigurationSetHasBeenSet() const { return m_configurationSetHasBeenSet; } /** *

A data structure that contains the name of the configuration set.

*/ inline void SetConfigurationSet(const ConfigurationSet& value) { m_configurationSetHasBeenSet = true; m_configurationSet = value; } /** *

A data structure that contains the name of the configuration set.

*/ inline void SetConfigurationSet(ConfigurationSet&& value) { m_configurationSetHasBeenSet = true; m_configurationSet = std::move(value); } /** *

A data structure that contains the name of the configuration set.

*/ inline CreateConfigurationSetRequest& WithConfigurationSet(const ConfigurationSet& value) { SetConfigurationSet(value); return *this;} /** *

A data structure that contains the name of the configuration set.

*/ inline CreateConfigurationSetRequest& WithConfigurationSet(ConfigurationSet&& value) { SetConfigurationSet(std::move(value)); return *this;} private: ConfigurationSet m_configurationSet; bool m_configurationSetHasBeenSet = false; }; } // namespace Model } // namespace SES } // namespace Aws