94 lines
3.0 KiB
C++
94 lines
3.0 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 generate the CNAME records needed to set up Easy DKIM
|
|
* with Amazon SES. For more information about setting up Easy DKIM, see the <a
|
|
* href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html">Amazon
|
|
* SES Developer Guide</a>.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyDomainDkimRequest">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_SES_API VerifyDomainDkimRequest : public SESRequest
|
|
{
|
|
public:
|
|
VerifyDomainDkimRequest();
|
|
|
|
// 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 "VerifyDomainDkim"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
protected:
|
|
void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
|
|
|
|
public:
|
|
|
|
/**
|
|
* <p>The name of the domain to be verified for Easy DKIM signing.</p>
|
|
*/
|
|
inline const Aws::String& GetDomain() const{ return m_domain; }
|
|
|
|
/**
|
|
* <p>The name of the domain to be verified for Easy DKIM signing.</p>
|
|
*/
|
|
inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of the domain to be verified for Easy DKIM signing.</p>
|
|
*/
|
|
inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
|
|
|
|
/**
|
|
* <p>The name of the domain to be verified for Easy DKIM signing.</p>
|
|
*/
|
|
inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the domain to be verified for Easy DKIM signing.</p>
|
|
*/
|
|
inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the domain to be verified for Easy DKIM signing.</p>
|
|
*/
|
|
inline VerifyDomainDkimRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the domain to be verified for Easy DKIM signing.</p>
|
|
*/
|
|
inline VerifyDomainDkimRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the domain to be verified for Easy DKIM signing.</p>
|
|
*/
|
|
inline VerifyDomainDkimRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_domain;
|
|
bool m_domainHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace SES
|
|
} // namespace Aws
|