AWS SDK for C++  1.8.76
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
VerifyEmailAddressRequest & WithEmailAddress(const char *value)
VerifyEmailAddressRequest & WithEmailAddress(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
VerifyEmailAddressRequest & WithEmailAddress(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_SES_API
Definition: SES_EXPORTS.h:28