AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SendCustomVerificationEmailRequest.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/email/SESRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace SES
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_SES_API SendCustomVerificationEmailRequest() = default;
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_SES_API Aws::String SerializePayload() const override;
37
38 protected:
39 AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40
41 public:
42
44
47 inline const Aws::String& GetEmailAddress() const { return m_emailAddress; }
48 inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
49 template<typename EmailAddressT = Aws::String>
50 void SetEmailAddress(EmailAddressT&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::forward<EmailAddressT>(value); }
51 template<typename EmailAddressT = Aws::String>
52 SendCustomVerificationEmailRequest& WithEmailAddress(EmailAddressT&& value) { SetEmailAddress(std::forward<EmailAddressT>(value)); return *this;}
54
56
60 inline const Aws::String& GetTemplateName() const { return m_templateName; }
61 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
62 template<typename TemplateNameT = Aws::String>
63 void SetTemplateName(TemplateNameT&& value) { m_templateNameHasBeenSet = true; m_templateName = std::forward<TemplateNameT>(value); }
64 template<typename TemplateNameT = Aws::String>
65 SendCustomVerificationEmailRequest& WithTemplateName(TemplateNameT&& value) { SetTemplateName(std::forward<TemplateNameT>(value)); return *this;}
67
69
72 inline const Aws::String& GetConfigurationSetName() const { return m_configurationSetName; }
73 inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
74 template<typename ConfigurationSetNameT = Aws::String>
75 void SetConfigurationSetName(ConfigurationSetNameT&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::forward<ConfigurationSetNameT>(value); }
76 template<typename ConfigurationSetNameT = Aws::String>
77 SendCustomVerificationEmailRequest& WithConfigurationSetName(ConfigurationSetNameT&& value) { SetConfigurationSetName(std::forward<ConfigurationSetNameT>(value)); return *this;}
79 private:
80
81 Aws::String m_emailAddress;
82 bool m_emailAddressHasBeenSet = false;
83
84 Aws::String m_templateName;
85 bool m_templateNameHasBeenSet = false;
86
87 Aws::String m_configurationSetName;
88 bool m_configurationSetNameHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace SES
93} // namespace Aws
SendCustomVerificationEmailRequest & WithEmailAddress(EmailAddressT &&value)
AWS_SES_API Aws::String SerializePayload() const override
SendCustomVerificationEmailRequest & WithTemplateName(TemplateNameT &&value)
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
SendCustomVerificationEmailRequest & WithConfigurationSetName(ConfigurationSetNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String