AWS SDK for C++  1.8.129
AWS SDK for C++
VerifyDomainIdentityRequest.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 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "VerifyDomainIdentity"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  protected:
42  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
43 
44  public:
45 
49  inline const Aws::String& GetDomain() const{ return m_domain; }
50 
54  inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
55 
59  inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
60 
64  inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
65 
69  inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
70 
74  inline VerifyDomainIdentityRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
75 
79  inline VerifyDomainIdentityRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
80 
84  inline VerifyDomainIdentityRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
85 
86  private:
87 
88  Aws::String m_domain;
89  bool m_domainHasBeenSet;
90  };
91 
92 } // namespace Model
93 } // namespace SES
94 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::VerifyDomainIdentityRequest::DomainHasBeenSet
bool DomainHasBeenSet() const
Definition: VerifyDomainIdentityRequest.h:54
Aws::SES::Model::VerifyDomainIdentityRequest::SetDomain
void SetDomain(Aws::String &&value)
Definition: VerifyDomainIdentityRequest.h:64
Aws::SES::Model::VerifyDomainIdentityRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SES::Model::VerifyDomainIdentityRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::SES::Model::VerifyDomainIdentityRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: VerifyDomainIdentityRequest.h:37
Aws::SES::Model::VerifyDomainIdentityRequest::WithDomain
VerifyDomainIdentityRequest & WithDomain(const char *value)
Definition: VerifyDomainIdentityRequest.h:84
Aws::SES::Model::VerifyDomainIdentityRequest::SetDomain
void SetDomain(const char *value)
Definition: VerifyDomainIdentityRequest.h:69
Aws::SES::Model::VerifyDomainIdentityRequest::WithDomain
VerifyDomainIdentityRequest & WithDomain(const Aws::String &value)
Definition: VerifyDomainIdentityRequest.h:74
Aws::SES::Model::VerifyDomainIdentityRequest::SetDomain
void SetDomain(const Aws::String &value)
Definition: VerifyDomainIdentityRequest.h:59
SESRequest.h
AWSString.h
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::SESRequest
Definition: SESRequest.h:17
Aws::SES::Model::VerifyDomainIdentityRequest::WithDomain
VerifyDomainIdentityRequest & WithDomain(Aws::String &&value)
Definition: VerifyDomainIdentityRequest.h:79
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::VerifyDomainIdentityRequest
Definition: VerifyDomainIdentityRequest.h:29
Aws::SES::Model::VerifyDomainIdentityRequest::GetDomain
const Aws::String & GetDomain() const
Definition: VerifyDomainIdentityRequest.h:49
Aws::SES::Model::VerifyDomainIdentityRequest::VerifyDomainIdentityRequest
VerifyDomainIdentityRequest()