/** * 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 an email address from the list of email * addresses you have attempted to verify under your AWS account.

See * Also:

AWS * API Reference

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

An email address to be removed from the list of verified addresses.

*/ inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; } /** *

An email address to be removed from the list of verified addresses.

*/ inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; } /** *

An email address to be removed from the list of verified addresses.

*/ inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; } /** *

An email address to be removed from the list of verified addresses.

*/ inline void SetEmailAddress(Aws::String&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::move(value); } /** *

An email address to be removed from the list of verified addresses.

*/ inline void SetEmailAddress(const char* value) { m_emailAddressHasBeenSet = true; m_emailAddress.assign(value); } /** *

An email address to be removed from the list of verified addresses.

*/ inline DeleteVerifiedEmailAddressRequest& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;} /** *

An email address to be removed from the list of verified addresses.

*/ inline DeleteVerifiedEmailAddressRequest& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;} /** *

An email address to be removed from the list of verified addresses.

*/ inline DeleteVerifiedEmailAddressRequest& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;} private: Aws::String m_emailAddress; bool m_emailAddressHasBeenSet = false; }; } // namespace Model } // namespace SES } // namespace Aws