AWS SDK for C++  1.8.128
AWS SDK for C++
VerifyDomainDkimRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/email/SESRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SES
15 {
16 namespace Model
17 {
18 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "VerifyDomainDkim"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  protected:
41  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42 
43  public:
44 
48  inline const Aws::String& GetDomain() const{ return m_domain; }
49 
53  inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
54 
58  inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
59 
63  inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
64 
68  inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
69 
73  inline VerifyDomainDkimRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
74 
78  inline VerifyDomainDkimRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
79 
83  inline VerifyDomainDkimRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
84 
85  private:
86 
87  Aws::String m_domain;
88  bool m_domainHasBeenSet;
89  };
90 
91 } // namespace Model
92 } // namespace SES
93 } // namespace Aws
Aws::SES::Model::VerifyDomainDkimRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::VerifyDomainDkimRequest::WithDomain
VerifyDomainDkimRequest & WithDomain(const char *value)
Definition: VerifyDomainDkimRequest.h:83
Aws::SES::Model::VerifyDomainDkimRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: VerifyDomainDkimRequest.h:36
Aws::SES::Model::VerifyDomainDkimRequest::WithDomain
VerifyDomainDkimRequest & WithDomain(const Aws::String &value)
Definition: VerifyDomainDkimRequest.h:73
Aws::SES::Model::VerifyDomainDkimRequest
Definition: VerifyDomainDkimRequest.h:28
Aws::SES::Model::VerifyDomainDkimRequest::SetDomain
void SetDomain(const Aws::String &value)
Definition: VerifyDomainDkimRequest.h:58
SESRequest.h
Aws::SES::Model::VerifyDomainDkimRequest::SetDomain
void SetDomain(Aws::String &&value)
Definition: VerifyDomainDkimRequest.h:63
AWSString.h
SES_EXPORTS.h
Aws::SES::Model::VerifyDomainDkimRequest::VerifyDomainDkimRequest
VerifyDomainDkimRequest()
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::SESRequest
Definition: SESRequest.h:17
Aws::SES::Model::VerifyDomainDkimRequest::SetDomain
void SetDomain(const char *value)
Definition: VerifyDomainDkimRequest.h:68
Aws::SES::Model::VerifyDomainDkimRequest::GetDomain
const Aws::String & GetDomain() const
Definition: VerifyDomainDkimRequest.h:48
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::VerifyDomainDkimRequest::WithDomain
VerifyDomainDkimRequest & WithDomain(Aws::String &&value)
Definition: VerifyDomainDkimRequest.h:78
Aws::SES::Model::VerifyDomainDkimRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::SES::Model::VerifyDomainDkimRequest::DomainHasBeenSet
bool DomainHasBeenSet() const
Definition: VerifyDomainDkimRequest.h:53