AWS SDK for C++  1.8.129
AWS SDK for C++
VerifyEmailIdentityRequest.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 "VerifyEmailIdentity"; }
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& GetEmailAddress() const{ return m_emailAddress; }
49 
53  inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
54 
58  inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; }
59 
63  inline void SetEmailAddress(Aws::String&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::move(value); }
64 
68  inline void SetEmailAddress(const char* value) { m_emailAddressHasBeenSet = true; m_emailAddress.assign(value); }
69 
73  inline VerifyEmailIdentityRequest& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;}
74 
78  inline VerifyEmailIdentityRequest& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;}
79 
83  inline VerifyEmailIdentityRequest& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;}
84 
85  private:
86 
87  Aws::String m_emailAddress;
88  bool m_emailAddressHasBeenSet;
89  };
90 
91 } // namespace Model
92 } // namespace SES
93 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::VerifyEmailIdentityRequest::SetEmailAddress
void SetEmailAddress(const Aws::String &value)
Definition: VerifyEmailIdentityRequest.h:58
Aws::SES::Model::VerifyEmailIdentityRequest::SetEmailAddress
void SetEmailAddress(Aws::String &&value)
Definition: VerifyEmailIdentityRequest.h:63
Aws::SES::Model::VerifyEmailIdentityRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: VerifyEmailIdentityRequest.h:36
Aws::SES::Model::VerifyEmailIdentityRequest::WithEmailAddress
VerifyEmailIdentityRequest & WithEmailAddress(const char *value)
Definition: VerifyEmailIdentityRequest.h:83
Aws::SES::Model::VerifyEmailIdentityRequest::SetEmailAddress
void SetEmailAddress(const char *value)
Definition: VerifyEmailIdentityRequest.h:68
Aws::SES::Model::VerifyEmailIdentityRequest::SerializePayload
Aws::String SerializePayload() const override
SESRequest.h
Aws::SES::Model::VerifyEmailIdentityRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWSString.h
SES_EXPORTS.h
Aws::SES::Model::VerifyEmailIdentityRequest::WithEmailAddress
VerifyEmailIdentityRequest & WithEmailAddress(Aws::String &&value)
Definition: VerifyEmailIdentityRequest.h:78
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::SESRequest
Definition: SESRequest.h:17
Aws::SES::Model::VerifyEmailIdentityRequest::VerifyEmailIdentityRequest
VerifyEmailIdentityRequest()
Aws::SES::Model::VerifyEmailIdentityRequest
Definition: VerifyEmailIdentityRequest.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::VerifyEmailIdentityRequest::WithEmailAddress
VerifyEmailIdentityRequest & WithEmailAddress(const Aws::String &value)
Definition: VerifyEmailIdentityRequest.h:73
Aws::SES::Model::VerifyEmailIdentityRequest::EmailAddressHasBeenSet
bool EmailAddressHasBeenSet() const
Definition: VerifyEmailIdentityRequest.h:53
Aws::SES::Model::VerifyEmailIdentityRequest::GetEmailAddress
const Aws::String & GetEmailAddress() const
Definition: VerifyEmailIdentityRequest.h:48
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97