88 lines
2.9 KiB
C
88 lines
2.9 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/sesv2/SESV2_EXPORTS.h>
|
|||
|
|
#include <aws/sesv2/SESV2Request.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace SESV2
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A request to return details about an email identity.</p><p><h3>See Also:</h3>
|
|||
|
|
* <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetEmailIdentityRequest">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_SESV2_API GetEmailIdentityRequest : public SESV2Request
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
GetEmailIdentityRequest();
|
|||
|
|
|
|||
|
|
// 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 "GetEmailIdentity"; }
|
|||
|
|
|
|||
|
|
Aws::String SerializePayload() const override;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The email identity that you want to retrieve details for.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetEmailIdentity() const{ return m_emailIdentity; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The email identity that you want to retrieve details for.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool EmailIdentityHasBeenSet() const { return m_emailIdentityHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The email identity that you want to retrieve details for.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetEmailIdentity(const Aws::String& value) { m_emailIdentityHasBeenSet = true; m_emailIdentity = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The email identity that you want to retrieve details for.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetEmailIdentity(Aws::String&& value) { m_emailIdentityHasBeenSet = true; m_emailIdentity = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The email identity that you want to retrieve details for.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetEmailIdentity(const char* value) { m_emailIdentityHasBeenSet = true; m_emailIdentity.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The email identity that you want to retrieve details for.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetEmailIdentityRequest& WithEmailIdentity(const Aws::String& value) { SetEmailIdentity(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The email identity that you want to retrieve details for.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetEmailIdentityRequest& WithEmailIdentity(Aws::String&& value) { SetEmailIdentity(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The email identity that you want to retrieve details for.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetEmailIdentityRequest& WithEmailIdentity(const char* value) { SetEmailIdentity(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_emailIdentity;
|
|||
|
|
bool m_emailIdentityHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace SESV2
|
|||
|
|
} // namespace Aws
|