AWS SDK for C++  1.8.126
AWS SDK for C++
VerifyEmailAddressRequest.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 "VerifyEmailAddress"; }
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 VerifyEmailAddressRequest& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;}
74 
78  inline VerifyEmailAddressRequest& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;}
79 
83  inline VerifyEmailAddressRequest& 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::SES::Model::VerifyEmailAddressRequest::EmailAddressHasBeenSet
bool EmailAddressHasBeenSet() const
Definition: VerifyEmailAddressRequest.h:53
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::VerifyEmailAddressRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SES::Model::VerifyEmailAddressRequest::SetEmailAddress
void SetEmailAddress(Aws::String &&value)
Definition: VerifyEmailAddressRequest.h:63
Aws::SES::Model::VerifyEmailAddressRequest::GetEmailAddress
const Aws::String & GetEmailAddress() const
Definition: VerifyEmailAddressRequest.h:48
SESRequest.h
AWSString.h
SES_EXPORTS.h
Aws::SES::Model::VerifyEmailAddressRequest::SetEmailAddress
void SetEmailAddress(const Aws::String &value)
Definition: VerifyEmailAddressRequest.h:58
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::SESRequest
Definition: SESRequest.h:17
Aws::SES::Model::VerifyEmailAddressRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: VerifyEmailAddressRequest.h:36
Aws::SES::Model::VerifyEmailAddressRequest
Definition: VerifyEmailAddressRequest.h:28
Aws::SES::Model::VerifyEmailAddressRequest::WithEmailAddress
VerifyEmailAddressRequest & WithEmailAddress(Aws::String &&value)
Definition: VerifyEmailAddressRequest.h:78
Aws::SES::Model::VerifyEmailAddressRequest::VerifyEmailAddressRequest
VerifyEmailAddressRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::VerifyEmailAddressRequest::WithEmailAddress
VerifyEmailAddressRequest & WithEmailAddress(const char *value)
Definition: VerifyEmailAddressRequest.h:83
Aws::SES::Model::VerifyEmailAddressRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::VerifyEmailAddressRequest::SetEmailAddress
void SetEmailAddress(const char *value)
Definition: VerifyEmailAddressRequest.h:68
Aws::SES::Model::VerifyEmailAddressRequest::WithEmailAddress
VerifyEmailAddressRequest & WithEmailAddress(const Aws::String &value)
Definition: VerifyEmailAddressRequest.h:73