AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
CreateConfigurationSetRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sesv2/SESV2Request.h>
10#include <aws/sesv2/SESV2_EXPORTS.h>
11#include <aws/sesv2/model/ArchivingOptions.h>
12#include <aws/sesv2/model/DeliveryOptions.h>
13#include <aws/sesv2/model/MessageSecurityOptions.h>
14#include <aws/sesv2/model/ReputationOptions.h>
15#include <aws/sesv2/model/SendingOptions.h>
16#include <aws/sesv2/model/SuppressionOptions.h>
17#include <aws/sesv2/model/Tag.h>
18#include <aws/sesv2/model/TrackingOptions.h>
19#include <aws/sesv2/model/VdmOptions.h>
20
21#include <utility>
22
23namespace Aws {
24namespace SESV2 {
25namespace Model {
26
33 public:
34 AWS_SESV2_API CreateConfigurationSetRequest() = default;
35
36 // Service request name is the Operation name which will send this request out,
37 // each operation should has unique request name, so that we can get operation's name from this request.
38 // Note: this is not true for response, multiple operations may have the same response name,
39 // so we can not get operation's name from response.
40 inline virtual const char* GetServiceRequestName() const override { return "CreateConfigurationSet"; }
41
42 AWS_SESV2_API Aws::String SerializePayload() const override;
43
45
50 inline const Aws::String& GetConfigurationSetName() const { return m_configurationSetName; }
51 inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
52 template <typename ConfigurationSetNameT = Aws::String>
53 void SetConfigurationSetName(ConfigurationSetNameT&& value) {
54 m_configurationSetNameHasBeenSet = true;
55 m_configurationSetName = std::forward<ConfigurationSetNameT>(value);
56 }
57 template <typename ConfigurationSetNameT = Aws::String>
59 SetConfigurationSetName(std::forward<ConfigurationSetNameT>(value));
60 return *this;
61 }
63
65
69 inline const TrackingOptions& GetTrackingOptions() const { return m_trackingOptions; }
70 inline bool TrackingOptionsHasBeenSet() const { return m_trackingOptionsHasBeenSet; }
71 template <typename TrackingOptionsT = TrackingOptions>
72 void SetTrackingOptions(TrackingOptionsT&& value) {
73 m_trackingOptionsHasBeenSet = true;
74 m_trackingOptions = std::forward<TrackingOptionsT>(value);
75 }
76 template <typename TrackingOptionsT = TrackingOptions>
78 SetTrackingOptions(std::forward<TrackingOptionsT>(value));
79 return *this;
80 }
82
84
88 inline const DeliveryOptions& GetDeliveryOptions() const { return m_deliveryOptions; }
89 inline bool DeliveryOptionsHasBeenSet() const { return m_deliveryOptionsHasBeenSet; }
90 template <typename DeliveryOptionsT = DeliveryOptions>
91 void SetDeliveryOptions(DeliveryOptionsT&& value) {
92 m_deliveryOptionsHasBeenSet = true;
93 m_deliveryOptions = std::forward<DeliveryOptionsT>(value);
94 }
95 template <typename DeliveryOptionsT = DeliveryOptions>
97 SetDeliveryOptions(std::forward<DeliveryOptionsT>(value));
98 return *this;
99 }
101
103
107 inline const ReputationOptions& GetReputationOptions() const { return m_reputationOptions; }
108 inline bool ReputationOptionsHasBeenSet() const { return m_reputationOptionsHasBeenSet; }
109 template <typename ReputationOptionsT = ReputationOptions>
110 void SetReputationOptions(ReputationOptionsT&& value) {
111 m_reputationOptionsHasBeenSet = true;
112 m_reputationOptions = std::forward<ReputationOptionsT>(value);
113 }
114 template <typename ReputationOptionsT = ReputationOptions>
116 SetReputationOptions(std::forward<ReputationOptionsT>(value));
117 return *this;
118 }
120
122
126 inline const SendingOptions& GetSendingOptions() const { return m_sendingOptions; }
127 inline bool SendingOptionsHasBeenSet() const { return m_sendingOptionsHasBeenSet; }
128 template <typename SendingOptionsT = SendingOptions>
129 void SetSendingOptions(SendingOptionsT&& value) {
130 m_sendingOptionsHasBeenSet = true;
131 m_sendingOptions = std::forward<SendingOptionsT>(value);
132 }
133 template <typename SendingOptionsT = SendingOptions>
135 SetSendingOptions(std::forward<SendingOptionsT>(value));
136 return *this;
137 }
139
141
145 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
146 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
147 template <typename TagsT = Aws::Vector<Tag>>
148 void SetTags(TagsT&& value) {
149 m_tagsHasBeenSet = true;
150 m_tags = std::forward<TagsT>(value);
151 }
152 template <typename TagsT = Aws::Vector<Tag>>
154 SetTags(std::forward<TagsT>(value));
155 return *this;
156 }
157 template <typename TagsT = Tag>
159 m_tagsHasBeenSet = true;
160 m_tags.emplace_back(std::forward<TagsT>(value));
161 return *this;
162 }
164
166
172 inline const SuppressionOptions& GetSuppressionOptions() const { return m_suppressionOptions; }
173 inline bool SuppressionOptionsHasBeenSet() const { return m_suppressionOptionsHasBeenSet; }
174 template <typename SuppressionOptionsT = SuppressionOptions>
175 void SetSuppressionOptions(SuppressionOptionsT&& value) {
176 m_suppressionOptionsHasBeenSet = true;
177 m_suppressionOptions = std::forward<SuppressionOptionsT>(value);
178 }
179 template <typename SuppressionOptionsT = SuppressionOptions>
181 SetSuppressionOptions(std::forward<SuppressionOptionsT>(value));
182 return *this;
183 }
185
187
191 inline const VdmOptions& GetVdmOptions() const { return m_vdmOptions; }
192 inline bool VdmOptionsHasBeenSet() const { return m_vdmOptionsHasBeenSet; }
193 template <typename VdmOptionsT = VdmOptions>
194 void SetVdmOptions(VdmOptionsT&& value) {
195 m_vdmOptionsHasBeenSet = true;
196 m_vdmOptions = std::forward<VdmOptionsT>(value);
197 }
198 template <typename VdmOptionsT = VdmOptions>
200 SetVdmOptions(std::forward<VdmOptionsT>(value));
201 return *this;
202 }
204
206
210 inline const ArchivingOptions& GetArchivingOptions() const { return m_archivingOptions; }
211 inline bool ArchivingOptionsHasBeenSet() const { return m_archivingOptionsHasBeenSet; }
212 template <typename ArchivingOptionsT = ArchivingOptions>
213 void SetArchivingOptions(ArchivingOptionsT&& value) {
214 m_archivingOptionsHasBeenSet = true;
215 m_archivingOptions = std::forward<ArchivingOptionsT>(value);
216 }
217 template <typename ArchivingOptionsT = ArchivingOptions>
219 SetArchivingOptions(std::forward<ArchivingOptionsT>(value));
220 return *this;
221 }
223
225
229 inline const MessageSecurityOptions& GetMessageSecurityOptions() const { return m_messageSecurityOptions; }
230 inline bool MessageSecurityOptionsHasBeenSet() const { return m_messageSecurityOptionsHasBeenSet; }
231 template <typename MessageSecurityOptionsT = MessageSecurityOptions>
232 void SetMessageSecurityOptions(MessageSecurityOptionsT&& value) {
233 m_messageSecurityOptionsHasBeenSet = true;
234 m_messageSecurityOptions = std::forward<MessageSecurityOptionsT>(value);
235 }
236 template <typename MessageSecurityOptionsT = MessageSecurityOptions>
238 SetMessageSecurityOptions(std::forward<MessageSecurityOptionsT>(value));
239 return *this;
240 }
242 private:
243 Aws::String m_configurationSetName;
244
245 TrackingOptions m_trackingOptions;
246
247 DeliveryOptions m_deliveryOptions;
248
249 ReputationOptions m_reputationOptions;
250
251 SendingOptions m_sendingOptions;
252
253 Aws::Vector<Tag> m_tags;
254
255 SuppressionOptions m_suppressionOptions;
256
257 VdmOptions m_vdmOptions;
258
259 ArchivingOptions m_archivingOptions;
260
261 MessageSecurityOptions m_messageSecurityOptions;
262 bool m_configurationSetNameHasBeenSet = false;
263 bool m_trackingOptionsHasBeenSet = false;
264 bool m_deliveryOptionsHasBeenSet = false;
265 bool m_reputationOptionsHasBeenSet = false;
266 bool m_sendingOptionsHasBeenSet = false;
267 bool m_tagsHasBeenSet = false;
268 bool m_suppressionOptionsHasBeenSet = false;
269 bool m_vdmOptionsHasBeenSet = false;
270 bool m_archivingOptionsHasBeenSet = false;
271 bool m_messageSecurityOptionsHasBeenSet = false;
272};
273
274} // namespace Model
275} // namespace SESV2
276} // namespace Aws
CreateConfigurationSetRequest & WithDeliveryOptions(DeliveryOptionsT &&value)
CreateConfigurationSetRequest & WithSuppressionOptions(SuppressionOptionsT &&value)
CreateConfigurationSetRequest & WithConfigurationSetName(ConfigurationSetNameT &&value)
CreateConfigurationSetRequest & WithTags(TagsT &&value)
CreateConfigurationSetRequest & AddTags(TagsT &&value)
const MessageSecurityOptions & GetMessageSecurityOptions() const
AWS_SESV2_API Aws::String SerializePayload() const override
CreateConfigurationSetRequest & WithReputationOptions(ReputationOptionsT &&value)
void SetMessageSecurityOptions(MessageSecurityOptionsT &&value)
CreateConfigurationSetRequest & WithSendingOptions(SendingOptionsT &&value)
CreateConfigurationSetRequest & WithMessageSecurityOptions(MessageSecurityOptionsT &&value)
CreateConfigurationSetRequest & WithVdmOptions(VdmOptionsT &&value)
CreateConfigurationSetRequest & WithTrackingOptions(TrackingOptionsT &&value)
virtual const char * GetServiceRequestName() const override
CreateConfigurationSetRequest & WithArchivingOptions(ArchivingOptionsT &&value)
AWS_SESV2_API CreateConfigurationSetRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector