AWS SDK for C++  1.8.129
AWS SDK for C++
SendCustomVerificationEmailRequest.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 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "SendCustomVerificationEmail"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
46  inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; }
47 
51  inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
52 
56  inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; }
57 
61  inline void SetEmailAddress(Aws::String&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::move(value); }
62 
66  inline void SetEmailAddress(const char* value) { m_emailAddressHasBeenSet = true; m_emailAddress.assign(value); }
67 
71  inline SendCustomVerificationEmailRequest& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;}
72 
76  inline SendCustomVerificationEmailRequest& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;}
77 
81  inline SendCustomVerificationEmailRequest& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;}
82 
83 
88  inline const Aws::String& GetTemplateName() const{ return m_templateName; }
89 
94  inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
95 
100  inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
101 
106  inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
107 
112  inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
113 
118  inline SendCustomVerificationEmailRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
119 
124  inline SendCustomVerificationEmailRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
125 
130  inline SendCustomVerificationEmailRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
131 
132 
136  inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; }
137 
141  inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
142 
146  inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; }
147 
151  inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); }
152 
156  inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); }
157 
161  inline SendCustomVerificationEmailRequest& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;}
162 
166  inline SendCustomVerificationEmailRequest& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;}
167 
171  inline SendCustomVerificationEmailRequest& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;}
172 
173  private:
174 
175  Aws::String m_emailAddress;
176  bool m_emailAddressHasBeenSet;
177 
178  Aws::String m_templateName;
179  bool m_templateNameHasBeenSet;
180 
181  Aws::String m_configurationSetName;
182  bool m_configurationSetNameHasBeenSet;
183  };
184 
185 } // namespace Model
186 } // namespace SES
187 } // namespace Aws
Aws::SES::Model::SendCustomVerificationEmailRequest::GetConfigurationSetName
const Aws::String & GetConfigurationSetName() const
Definition: SendCustomVerificationEmailRequest.h:136
Aws::SES::Model::SendCustomVerificationEmailRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::SES::Model::SendCustomVerificationEmailRequest::SetTemplateName
void SetTemplateName(Aws::String &&value)
Definition: SendCustomVerificationEmailRequest.h:106
Aws::SES::Model::SendCustomVerificationEmailRequest::WithConfigurationSetName
SendCustomVerificationEmailRequest & WithConfigurationSetName(const char *value)
Definition: SendCustomVerificationEmailRequest.h:171
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::SendCustomVerificationEmailRequest::SetEmailAddress
void SetEmailAddress(const char *value)
Definition: SendCustomVerificationEmailRequest.h:66
Aws::SES::Model::SendCustomVerificationEmailRequest::WithEmailAddress
SendCustomVerificationEmailRequest & WithEmailAddress(Aws::String &&value)
Definition: SendCustomVerificationEmailRequest.h:76
Aws::SES::Model::SendCustomVerificationEmailRequest::EmailAddressHasBeenSet
bool EmailAddressHasBeenSet() const
Definition: SendCustomVerificationEmailRequest.h:51
Aws::SES::Model::SendCustomVerificationEmailRequest::TemplateNameHasBeenSet
bool TemplateNameHasBeenSet() const
Definition: SendCustomVerificationEmailRequest.h:94
Aws::SES::Model::SendCustomVerificationEmailRequest::WithTemplateName
SendCustomVerificationEmailRequest & WithTemplateName(const char *value)
Definition: SendCustomVerificationEmailRequest.h:130
Aws::SES::Model::SendCustomVerificationEmailRequest::SetConfigurationSetName
void SetConfigurationSetName(Aws::String &&value)
Definition: SendCustomVerificationEmailRequest.h:151
Aws::SES::Model::SendCustomVerificationEmailRequest::WithConfigurationSetName
SendCustomVerificationEmailRequest & WithConfigurationSetName(Aws::String &&value)
Definition: SendCustomVerificationEmailRequest.h:166
Aws::SES::Model::SendCustomVerificationEmailRequest::SetTemplateName
void SetTemplateName(const char *value)
Definition: SendCustomVerificationEmailRequest.h:112
Aws::SES::Model::SendCustomVerificationEmailRequest
Definition: SendCustomVerificationEmailRequest.h:26
Aws::SES::Model::SendCustomVerificationEmailRequest::WithConfigurationSetName
SendCustomVerificationEmailRequest & WithConfigurationSetName(const Aws::String &value)
Definition: SendCustomVerificationEmailRequest.h:161
Aws::SES::Model::SendCustomVerificationEmailRequest::WithEmailAddress
SendCustomVerificationEmailRequest & WithEmailAddress(const char *value)
Definition: SendCustomVerificationEmailRequest.h:81
Aws::SES::Model::SendCustomVerificationEmailRequest::GetEmailAddress
const Aws::String & GetEmailAddress() const
Definition: SendCustomVerificationEmailRequest.h:46
Aws::SES::Model::SendCustomVerificationEmailRequest::GetTemplateName
const Aws::String & GetTemplateName() const
Definition: SendCustomVerificationEmailRequest.h:88
Aws::SES::Model::SendCustomVerificationEmailRequest::SetTemplateName
void SetTemplateName(const Aws::String &value)
Definition: SendCustomVerificationEmailRequest.h:100
SESRequest.h
AWSString.h
SES_EXPORTS.h
Aws::SES::Model::SendCustomVerificationEmailRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SES::Model::SendCustomVerificationEmailRequest::SendCustomVerificationEmailRequest
SendCustomVerificationEmailRequest()
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::SESRequest
Definition: SESRequest.h:17
Aws::SES::Model::SendCustomVerificationEmailRequest::SetConfigurationSetName
void SetConfigurationSetName(const Aws::String &value)
Definition: SendCustomVerificationEmailRequest.h:146
Aws::SES::Model::SendCustomVerificationEmailRequest::WithTemplateName
SendCustomVerificationEmailRequest & WithTemplateName(const Aws::String &value)
Definition: SendCustomVerificationEmailRequest.h:118
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::SendCustomVerificationEmailRequest::SetConfigurationSetName
void SetConfigurationSetName(const char *value)
Definition: SendCustomVerificationEmailRequest.h:156
Aws::SES::Model::SendCustomVerificationEmailRequest::WithEmailAddress
SendCustomVerificationEmailRequest & WithEmailAddress(const Aws::String &value)
Definition: SendCustomVerificationEmailRequest.h:71
Aws::SES::Model::SendCustomVerificationEmailRequest::SetEmailAddress
void SetEmailAddress(const Aws::String &value)
Definition: SendCustomVerificationEmailRequest.h:56
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::SendCustomVerificationEmailRequest::SetEmailAddress
void SetEmailAddress(Aws::String &&value)
Definition: SendCustomVerificationEmailRequest.h:61
Aws::SES::Model::SendCustomVerificationEmailRequest::ConfigurationSetNameHasBeenSet
bool ConfigurationSetNameHasBeenSet() const
Definition: SendCustomVerificationEmailRequest.h:141
Aws::SES::Model::SendCustomVerificationEmailRequest::WithTemplateName
SendCustomVerificationEmailRequest & WithTemplateName(Aws::String &&value)
Definition: SendCustomVerificationEmailRequest.h:124
Aws::SES::Model::SendCustomVerificationEmailRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SendCustomVerificationEmailRequest.h:34