AWS SDK for C++

AWS SDK for C++ Version 1.11.766

Loading...
Searching...
No Matches
SendCustomVerificationEmailRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/email/SESRequest.h>
9#include <aws/email/SES_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace SES {
15namespace Model {
16
24 public:
25 AWS_SES_API SendCustomVerificationEmailRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "SendCustomVerificationEmail"; }
32
33 AWS_SES_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
37
38 public:
40
43 inline const Aws::String& GetEmailAddress() const { return m_emailAddress; }
44 inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
45 template <typename EmailAddressT = Aws::String>
46 void SetEmailAddress(EmailAddressT&& value) {
47 m_emailAddressHasBeenSet = true;
48 m_emailAddress = std::forward<EmailAddressT>(value);
49 }
50 template <typename EmailAddressT = Aws::String>
52 SetEmailAddress(std::forward<EmailAddressT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::String& GetTemplateName() const { return m_templateName; }
63 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
64 template <typename TemplateNameT = Aws::String>
65 void SetTemplateName(TemplateNameT&& value) {
66 m_templateNameHasBeenSet = true;
67 m_templateName = std::forward<TemplateNameT>(value);
68 }
69 template <typename TemplateNameT = Aws::String>
71 SetTemplateName(std::forward<TemplateNameT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetConfigurationSetName() const { return m_configurationSetName; }
81 inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
82 template <typename ConfigurationSetNameT = Aws::String>
83 void SetConfigurationSetName(ConfigurationSetNameT&& value) {
84 m_configurationSetNameHasBeenSet = true;
85 m_configurationSetName = std::forward<ConfigurationSetNameT>(value);
86 }
87 template <typename ConfigurationSetNameT = Aws::String>
89 SetConfigurationSetName(std::forward<ConfigurationSetNameT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_emailAddress;
95
96 Aws::String m_templateName;
97
98 Aws::String m_configurationSetName;
99 bool m_emailAddressHasBeenSet = false;
100 bool m_templateNameHasBeenSet = false;
101 bool m_configurationSetNameHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace SES
106} // 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