/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A request to delete an existing email identity. When you delete an identity,
* you lose the ability to use Amazon Pinpoint to send email from that identity.
* You can restore your ability to send email by completing the verification
* process for the identity again.See Also:
AWS
* API Reference
The identity (that is, the email address or domain) that you want to delete * from your Amazon Pinpoint account.
*/ inline const Aws::String& GetEmailIdentity() const{ return m_emailIdentity; } /** *The identity (that is, the email address or domain) that you want to delete * from your Amazon Pinpoint account.
*/ inline bool EmailIdentityHasBeenSet() const { return m_emailIdentityHasBeenSet; } /** *The identity (that is, the email address or domain) that you want to delete * from your Amazon Pinpoint account.
*/ inline void SetEmailIdentity(const Aws::String& value) { m_emailIdentityHasBeenSet = true; m_emailIdentity = value; } /** *The identity (that is, the email address or domain) that you want to delete * from your Amazon Pinpoint account.
*/ inline void SetEmailIdentity(Aws::String&& value) { m_emailIdentityHasBeenSet = true; m_emailIdentity = std::move(value); } /** *The identity (that is, the email address or domain) that you want to delete * from your Amazon Pinpoint account.
*/ inline void SetEmailIdentity(const char* value) { m_emailIdentityHasBeenSet = true; m_emailIdentity.assign(value); } /** *The identity (that is, the email address or domain) that you want to delete * from your Amazon Pinpoint account.
*/ inline DeleteEmailIdentityRequest& WithEmailIdentity(const Aws::String& value) { SetEmailIdentity(value); return *this;} /** *The identity (that is, the email address or domain) that you want to delete * from your Amazon Pinpoint account.
*/ inline DeleteEmailIdentityRequest& WithEmailIdentity(Aws::String&& value) { SetEmailIdentity(std::move(value)); return *this;} /** *The identity (that is, the email address or domain) that you want to delete * from your Amazon Pinpoint account.
*/ inline DeleteEmailIdentityRequest& WithEmailIdentity(const char* value) { SetEmailIdentity(value); return *this;} private: Aws::String m_emailIdentity; bool m_emailIdentityHasBeenSet = false; }; } // namespace Model } // namespace PinpointEmail } // namespace Aws