/** * 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 delete a configuration set event destination. * Configuration set event destinations are associated with configuration sets, * which 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 DeleteConfigurationSetEventDestinationRequest : public SESRequest { public: AWS_SES_API DeleteConfigurationSetEventDestinationRequest(); // 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 "DeleteConfigurationSetEventDestination"; } 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 from which to delete the event * destination.

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

The name of the configuration set from which to delete the event * destination.

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

The name of the configuration set from which to delete the event * destination.

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

The name of the configuration set from which to delete the event * destination.

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

The name of the configuration set from which to delete the event * destination.

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

The name of the configuration set from which to delete the event * destination.

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

The name of the configuration set from which to delete the event * destination.

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

The name of the configuration set from which to delete the event * destination.

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

The name of the event destination to delete.

*/ inline const Aws::String& GetEventDestinationName() const{ return m_eventDestinationName; } /** *

The name of the event destination to delete.

*/ inline bool EventDestinationNameHasBeenSet() const { return m_eventDestinationNameHasBeenSet; } /** *

The name of the event destination to delete.

*/ inline void SetEventDestinationName(const Aws::String& value) { m_eventDestinationNameHasBeenSet = true; m_eventDestinationName = value; } /** *

The name of the event destination to delete.

*/ inline void SetEventDestinationName(Aws::String&& value) { m_eventDestinationNameHasBeenSet = true; m_eventDestinationName = std::move(value); } /** *

The name of the event destination to delete.

*/ inline void SetEventDestinationName(const char* value) { m_eventDestinationNameHasBeenSet = true; m_eventDestinationName.assign(value); } /** *

The name of the event destination to delete.

*/ inline DeleteConfigurationSetEventDestinationRequest& WithEventDestinationName(const Aws::String& value) { SetEventDestinationName(value); return *this;} /** *

The name of the event destination to delete.

*/ inline DeleteConfigurationSetEventDestinationRequest& WithEventDestinationName(Aws::String&& value) { SetEventDestinationName(std::move(value)); return *this;} /** *

The name of the event destination to delete.

*/ inline DeleteConfigurationSetEventDestinationRequest& WithEventDestinationName(const char* value) { SetEventDestinationName(value); return *this;} private: Aws::String m_configurationSetName; bool m_configurationSetNameHasBeenSet = false; Aws::String m_eventDestinationName; bool m_eventDestinationNameHasBeenSet = false; }; } // namespace Model } // namespace SES } // namespace Aws