AWS SDK for C++  1.9.109
AWS SDK for C++
SendCustomVerificationEmailRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SESV2
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 
42  inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; }
43 
47  inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
48 
52  inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; }
53 
57  inline void SetEmailAddress(Aws::String&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::move(value); }
58 
62  inline void SetEmailAddress(const char* value) { m_emailAddressHasBeenSet = true; m_emailAddress.assign(value); }
63 
67  inline SendCustomVerificationEmailRequest& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;}
68 
72  inline SendCustomVerificationEmailRequest& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;}
73 
77  inline SendCustomVerificationEmailRequest& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;}
78 
79 
84  inline const Aws::String& GetTemplateName() const{ return m_templateName; }
85 
90  inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
91 
96  inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
97 
102  inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
103 
108  inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
109 
114  inline SendCustomVerificationEmailRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
115 
120  inline SendCustomVerificationEmailRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
121 
126  inline SendCustomVerificationEmailRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
127 
128 
132  inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; }
133 
137  inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
138 
142  inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; }
143 
147  inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); }
148 
152  inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); }
153 
157  inline SendCustomVerificationEmailRequest& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;}
158 
162  inline SendCustomVerificationEmailRequest& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;}
163 
167  inline SendCustomVerificationEmailRequest& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;}
168 
169  private:
170 
171  Aws::String m_emailAddress;
172  bool m_emailAddressHasBeenSet;
173 
174  Aws::String m_templateName;
175  bool m_templateNameHasBeenSet;
176 
177  Aws::String m_configurationSetName;
178  bool m_configurationSetNameHasBeenSet;
179  };
180 
181 } // namespace Model
182 } // namespace SESV2
183 } // namespace Aws
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::SendCustomVerificationEmailRequest::WithEmailAddress
SendCustomVerificationEmailRequest & WithEmailAddress(const char *value)
Definition: SendCustomVerificationEmailRequest.h:77
Aws::SESV2::Model::SendCustomVerificationEmailRequest::WithConfigurationSetName
SendCustomVerificationEmailRequest & WithConfigurationSetName(const char *value)
Definition: SendCustomVerificationEmailRequest.h:167
Aws::SESV2::Model::SendCustomVerificationEmailRequest::WithEmailAddress
SendCustomVerificationEmailRequest & WithEmailAddress(Aws::String &&value)
Definition: SendCustomVerificationEmailRequest.h:72
Aws::SESV2::Model::SendCustomVerificationEmailRequest::GetConfigurationSetName
const Aws::String & GetConfigurationSetName() const
Definition: SendCustomVerificationEmailRequest.h:132
Aws::SESV2::Model::SendCustomVerificationEmailRequest::SetEmailAddress
void SetEmailAddress(const char *value)
Definition: SendCustomVerificationEmailRequest.h:62
Aws::SESV2::Model::SendCustomVerificationEmailRequest::WithTemplateName
SendCustomVerificationEmailRequest & WithTemplateName(Aws::String &&value)
Definition: SendCustomVerificationEmailRequest.h:120
Aws::SESV2::Model::SendCustomVerificationEmailRequest::WithEmailAddress
SendCustomVerificationEmailRequest & WithEmailAddress(const Aws::String &value)
Definition: SendCustomVerificationEmailRequest.h:67
Aws::SESV2::Model::SendCustomVerificationEmailRequest::ConfigurationSetNameHasBeenSet
bool ConfigurationSetNameHasBeenSet() const
Definition: SendCustomVerificationEmailRequest.h:137
Aws::SESV2::Model::SendCustomVerificationEmailRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SendCustomVerificationEmailRequest.h:34
Aws::SESV2::Model::SendCustomVerificationEmailRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
Aws::SESV2::Model::SendCustomVerificationEmailRequest::SetEmailAddress
void SetEmailAddress(const Aws::String &value)
Definition: SendCustomVerificationEmailRequest.h:52
Aws::SESV2::Model::SendCustomVerificationEmailRequest::SetConfigurationSetName
void SetConfigurationSetName(const char *value)
Definition: SendCustomVerificationEmailRequest.h:152
AWSString.h
Aws::SESV2::Model::SendCustomVerificationEmailRequest::WithConfigurationSetName
SendCustomVerificationEmailRequest & WithConfigurationSetName(const Aws::String &value)
Definition: SendCustomVerificationEmailRequest.h:157
Aws::SESV2::Model::SendCustomVerificationEmailRequest
Definition: SendCustomVerificationEmailRequest.h:26
SESV2_EXPORTS.h
Aws::SESV2::Model::SendCustomVerificationEmailRequest::WithTemplateName
SendCustomVerificationEmailRequest & WithTemplateName(const Aws::String &value)
Definition: SendCustomVerificationEmailRequest.h:114
Aws::SESV2::Model::SendCustomVerificationEmailRequest::GetTemplateName
const Aws::String & GetTemplateName() const
Definition: SendCustomVerificationEmailRequest.h:84
Aws::SESV2::Model::SendCustomVerificationEmailRequest::SetConfigurationSetName
void SetConfigurationSetName(const Aws::String &value)
Definition: SendCustomVerificationEmailRequest.h:142
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::SendCustomVerificationEmailRequest::EmailAddressHasBeenSet
bool EmailAddressHasBeenSet() const
Definition: SendCustomVerificationEmailRequest.h:47
Aws::SESV2::Model::SendCustomVerificationEmailRequest::TemplateNameHasBeenSet
bool TemplateNameHasBeenSet() const
Definition: SendCustomVerificationEmailRequest.h:90
Aws::SESV2::Model::SendCustomVerificationEmailRequest::SetTemplateName
void SetTemplateName(Aws::String &&value)
Definition: SendCustomVerificationEmailRequest.h:102
Aws::SESV2::Model::SendCustomVerificationEmailRequest::SetEmailAddress
void SetEmailAddress(Aws::String &&value)
Definition: SendCustomVerificationEmailRequest.h:57
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::SendCustomVerificationEmailRequest::SetTemplateName
void SetTemplateName(const char *value)
Definition: SendCustomVerificationEmailRequest.h:108
SESV2Request.h
Aws::SESV2::Model::SendCustomVerificationEmailRequest::WithTemplateName
SendCustomVerificationEmailRequest & WithTemplateName(const char *value)
Definition: SendCustomVerificationEmailRequest.h:126
Aws::SESV2::Model::SendCustomVerificationEmailRequest::GetEmailAddress
const Aws::String & GetEmailAddress() const
Definition: SendCustomVerificationEmailRequest.h:42
Aws::SESV2::Model::SendCustomVerificationEmailRequest::SetTemplateName
void SetTemplateName(const Aws::String &value)
Definition: SendCustomVerificationEmailRequest.h:96
Aws::SESV2::Model::SendCustomVerificationEmailRequest::SendCustomVerificationEmailRequest
SendCustomVerificationEmailRequest()
Aws::SESV2::Model::SendCustomVerificationEmailRequest::WithConfigurationSetName
SendCustomVerificationEmailRequest & WithConfigurationSetName(Aws::String &&value)
Definition: SendCustomVerificationEmailRequest.h:162
Aws::SESV2::Model::SendCustomVerificationEmailRequest::SetConfigurationSetName
void SetConfigurationSetName(Aws::String &&value)
Definition: SendCustomVerificationEmailRequest.h:147