AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
SendCustomVerificationEmailRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sesv2/SESV2Request.h>
9#include <aws/sesv2/SESV2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace SESV2 {
15namespace Model {
16
24 public:
25 AWS_SESV2_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_SESV2_API Aws::String SerializePayload() const override;
34
36
39 inline const Aws::String& GetEmailAddress() const { return m_emailAddress; }
40 inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
41 template <typename EmailAddressT = Aws::String>
42 void SetEmailAddress(EmailAddressT&& value) {
43 m_emailAddressHasBeenSet = true;
44 m_emailAddress = std::forward<EmailAddressT>(value);
45 }
46 template <typename EmailAddressT = Aws::String>
48 SetEmailAddress(std::forward<EmailAddressT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetTemplateName() const { return m_templateName; }
59 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
60 template <typename TemplateNameT = Aws::String>
61 void SetTemplateName(TemplateNameT&& value) {
62 m_templateNameHasBeenSet = true;
63 m_templateName = std::forward<TemplateNameT>(value);
64 }
65 template <typename TemplateNameT = Aws::String>
67 SetTemplateName(std::forward<TemplateNameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetConfigurationSetName() const { return m_configurationSetName; }
77 inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
78 template <typename ConfigurationSetNameT = Aws::String>
79 void SetConfigurationSetName(ConfigurationSetNameT&& value) {
80 m_configurationSetNameHasBeenSet = true;
81 m_configurationSetName = std::forward<ConfigurationSetNameT>(value);
82 }
83 template <typename ConfigurationSetNameT = Aws::String>
85 SetConfigurationSetName(std::forward<ConfigurationSetNameT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_emailAddress;
91
92 Aws::String m_templateName;
93
94 Aws::String m_configurationSetName;
95 bool m_emailAddressHasBeenSet = false;
96 bool m_templateNameHasBeenSet = false;
97 bool m_configurationSetNameHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace SESV2
102} // namespace Aws
SendCustomVerificationEmailRequest & WithEmailAddress(EmailAddressT &&value)
SendCustomVerificationEmailRequest & WithTemplateName(TemplateNameT &&value)
AWS_SESV2_API Aws::String SerializePayload() const override
SendCustomVerificationEmailRequest & WithConfigurationSetName(ConfigurationSetNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String