100 lines
3.1 KiB
C++
100 lines
3.1 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/email/SES_EXPORTS.h>
|
|
#include <aws/email/SESRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace SES
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Represents a request to delete one of your Amazon SES identities (an email
|
|
* address or domain).</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteIdentityRequest">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_SES_API DeleteIdentityRequest : public SESRequest
|
|
{
|
|
public:
|
|
DeleteIdentityRequest();
|
|
|
|
// 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 "DeleteIdentity"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
protected:
|
|
void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
|
|
|
|
public:
|
|
|
|
/**
|
|
* <p>The identity to be removed from the list of identities for the AWS
|
|
* Account.</p>
|
|
*/
|
|
inline const Aws::String& GetIdentity() const{ return m_identity; }
|
|
|
|
/**
|
|
* <p>The identity to be removed from the list of identities for the AWS
|
|
* Account.</p>
|
|
*/
|
|
inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The identity to be removed from the list of identities for the AWS
|
|
* Account.</p>
|
|
*/
|
|
inline void SetIdentity(const Aws::String& value) { m_identityHasBeenSet = true; m_identity = value; }
|
|
|
|
/**
|
|
* <p>The identity to be removed from the list of identities for the AWS
|
|
* Account.</p>
|
|
*/
|
|
inline void SetIdentity(Aws::String&& value) { m_identityHasBeenSet = true; m_identity = std::move(value); }
|
|
|
|
/**
|
|
* <p>The identity to be removed from the list of identities for the AWS
|
|
* Account.</p>
|
|
*/
|
|
inline void SetIdentity(const char* value) { m_identityHasBeenSet = true; m_identity.assign(value); }
|
|
|
|
/**
|
|
* <p>The identity to be removed from the list of identities for the AWS
|
|
* Account.</p>
|
|
*/
|
|
inline DeleteIdentityRequest& WithIdentity(const Aws::String& value) { SetIdentity(value); return *this;}
|
|
|
|
/**
|
|
* <p>The identity to be removed from the list of identities for the AWS
|
|
* Account.</p>
|
|
*/
|
|
inline DeleteIdentityRequest& WithIdentity(Aws::String&& value) { SetIdentity(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The identity to be removed from the list of identities for the AWS
|
|
* Account.</p>
|
|
*/
|
|
inline DeleteIdentityRequest& WithIdentity(const char* value) { SetIdentity(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_identity;
|
|
bool m_identityHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace SES
|
|
} // namespace Aws
|