AWS SDK for C++  1.9.160
AWS SDK for C++
CreateConfigurationSetRequest.h
Go to the documentation of this file.
1 
6 #pragma once
16 #include <aws/sesv2/model/Tag.h>
17 #include <utility>
18 
19 namespace Aws
20 {
21 namespace SESV2
22 {
23 namespace Model
24 {
25 
32  {
33  public:
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::String SerializePayload() const override;
43 
44 
50  inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; }
51 
57  inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
58 
64  inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; }
65 
71  inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); }
72 
78  inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); }
79 
85  inline CreateConfigurationSetRequest& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;}
86 
92  inline CreateConfigurationSetRequest& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;}
93 
99  inline CreateConfigurationSetRequest& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;}
100 
101 
106  inline const TrackingOptions& GetTrackingOptions() const{ return m_trackingOptions; }
107 
112  inline bool TrackingOptionsHasBeenSet() const { return m_trackingOptionsHasBeenSet; }
113 
118  inline void SetTrackingOptions(const TrackingOptions& value) { m_trackingOptionsHasBeenSet = true; m_trackingOptions = value; }
119 
124  inline void SetTrackingOptions(TrackingOptions&& value) { m_trackingOptionsHasBeenSet = true; m_trackingOptions = std::move(value); }
125 
130  inline CreateConfigurationSetRequest& WithTrackingOptions(const TrackingOptions& value) { SetTrackingOptions(value); return *this;}
131 
136  inline CreateConfigurationSetRequest& WithTrackingOptions(TrackingOptions&& value) { SetTrackingOptions(std::move(value)); return *this;}
137 
138 
143  inline const DeliveryOptions& GetDeliveryOptions() const{ return m_deliveryOptions; }
144 
149  inline bool DeliveryOptionsHasBeenSet() const { return m_deliveryOptionsHasBeenSet; }
150 
155  inline void SetDeliveryOptions(const DeliveryOptions& value) { m_deliveryOptionsHasBeenSet = true; m_deliveryOptions = value; }
156 
161  inline void SetDeliveryOptions(DeliveryOptions&& value) { m_deliveryOptionsHasBeenSet = true; m_deliveryOptions = std::move(value); }
162 
167  inline CreateConfigurationSetRequest& WithDeliveryOptions(const DeliveryOptions& value) { SetDeliveryOptions(value); return *this;}
168 
173  inline CreateConfigurationSetRequest& WithDeliveryOptions(DeliveryOptions&& value) { SetDeliveryOptions(std::move(value)); return *this;}
174 
175 
180  inline const ReputationOptions& GetReputationOptions() const{ return m_reputationOptions; }
181 
186  inline bool ReputationOptionsHasBeenSet() const { return m_reputationOptionsHasBeenSet; }
187 
192  inline void SetReputationOptions(const ReputationOptions& value) { m_reputationOptionsHasBeenSet = true; m_reputationOptions = value; }
193 
198  inline void SetReputationOptions(ReputationOptions&& value) { m_reputationOptionsHasBeenSet = true; m_reputationOptions = std::move(value); }
199 
204  inline CreateConfigurationSetRequest& WithReputationOptions(const ReputationOptions& value) { SetReputationOptions(value); return *this;}
205 
210  inline CreateConfigurationSetRequest& WithReputationOptions(ReputationOptions&& value) { SetReputationOptions(std::move(value)); return *this;}
211 
212 
217  inline const SendingOptions& GetSendingOptions() const{ return m_sendingOptions; }
218 
223  inline bool SendingOptionsHasBeenSet() const { return m_sendingOptionsHasBeenSet; }
224 
229  inline void SetSendingOptions(const SendingOptions& value) { m_sendingOptionsHasBeenSet = true; m_sendingOptions = value; }
230 
235  inline void SetSendingOptions(SendingOptions&& value) { m_sendingOptionsHasBeenSet = true; m_sendingOptions = std::move(value); }
236 
241  inline CreateConfigurationSetRequest& WithSendingOptions(const SendingOptions& value) { SetSendingOptions(value); return *this;}
242 
247  inline CreateConfigurationSetRequest& WithSendingOptions(SendingOptions&& value) { SetSendingOptions(std::move(value)); return *this;}
248 
249 
254  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
255 
260  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
261 
266  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
267 
272  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
273 
278  inline CreateConfigurationSetRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
279 
284  inline CreateConfigurationSetRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
285 
290  inline CreateConfigurationSetRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
291 
296  inline CreateConfigurationSetRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
297 
298 
299 
300  inline const SuppressionOptions& GetSuppressionOptions() const{ return m_suppressionOptions; }
301 
302 
303  inline bool SuppressionOptionsHasBeenSet() const { return m_suppressionOptionsHasBeenSet; }
304 
305 
306  inline void SetSuppressionOptions(const SuppressionOptions& value) { m_suppressionOptionsHasBeenSet = true; m_suppressionOptions = value; }
307 
308 
309  inline void SetSuppressionOptions(SuppressionOptions&& value) { m_suppressionOptionsHasBeenSet = true; m_suppressionOptions = std::move(value); }
310 
311 
312  inline CreateConfigurationSetRequest& WithSuppressionOptions(const SuppressionOptions& value) { SetSuppressionOptions(value); return *this;}
313 
314 
315  inline CreateConfigurationSetRequest& WithSuppressionOptions(SuppressionOptions&& value) { SetSuppressionOptions(std::move(value)); return *this;}
316 
317  private:
318 
319  Aws::String m_configurationSetName;
320  bool m_configurationSetNameHasBeenSet;
321 
322  TrackingOptions m_trackingOptions;
323  bool m_trackingOptionsHasBeenSet;
324 
325  DeliveryOptions m_deliveryOptions;
326  bool m_deliveryOptionsHasBeenSet;
327 
328  ReputationOptions m_reputationOptions;
329  bool m_reputationOptionsHasBeenSet;
330 
331  SendingOptions m_sendingOptions;
332  bool m_sendingOptionsHasBeenSet;
333 
334  Aws::Vector<Tag> m_tags;
335  bool m_tagsHasBeenSet;
336 
337  SuppressionOptions m_suppressionOptions;
338  bool m_suppressionOptionsHasBeenSet;
339  };
340 
341 } // namespace Model
342 } // namespace SESV2
343 } // namespace Aws
Aws::SESV2::Model::CreateConfigurationSetRequest::AddTags
CreateConfigurationSetRequest & AddTags(Tag &&value)
Definition: CreateConfigurationSetRequest.h:296
Aws::SESV2::Model::CreateConfigurationSetRequest::WithConfigurationSetName
CreateConfigurationSetRequest & WithConfigurationSetName(const char *value)
Definition: CreateConfigurationSetRequest.h:99
ReputationOptions.h
Aws::SESV2::Model::CreateConfigurationSetRequest::GetSendingOptions
const SendingOptions & GetSendingOptions() const
Definition: CreateConfigurationSetRequest.h:217
Aws::SESV2::Model::CreateConfigurationSetRequest::GetTrackingOptions
const TrackingOptions & GetTrackingOptions() const
Definition: CreateConfigurationSetRequest.h:106
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::CreateConfigurationSetRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateConfigurationSetRequest.h:260
Aws::SESV2::Model::CreateConfigurationSetRequest::GetSuppressionOptions
const SuppressionOptions & GetSuppressionOptions() const
Definition: CreateConfigurationSetRequest.h:300
Aws::SESV2::Model::CreateConfigurationSetRequest::TrackingOptionsHasBeenSet
bool TrackingOptionsHasBeenSet() const
Definition: CreateConfigurationSetRequest.h:112
Aws::SESV2::Model::CreateConfigurationSetRequest::GetConfigurationSetName
const Aws::String & GetConfigurationSetName() const
Definition: CreateConfigurationSetRequest.h:50
Aws::SESV2::Model::CreateConfigurationSetRequest::DeliveryOptionsHasBeenSet
bool DeliveryOptionsHasBeenSet() const
Definition: CreateConfigurationSetRequest.h:149
Aws::SESV2::Model::CreateConfigurationSetRequest::GetDeliveryOptions
const DeliveryOptions & GetDeliveryOptions() const
Definition: CreateConfigurationSetRequest.h:143
Aws::SESV2::Model::CreateConfigurationSetRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SESV2::Model::CreateConfigurationSetRequest::SendingOptionsHasBeenSet
bool SendingOptionsHasBeenSet() const
Definition: CreateConfigurationSetRequest.h:223
Aws::SESV2::Model::CreateConfigurationSetRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateConfigurationSetRequest.h:266
Aws::SESV2::Model::CreateConfigurationSetRequest::WithDeliveryOptions
CreateConfigurationSetRequest & WithDeliveryOptions(const DeliveryOptions &value)
Definition: CreateConfigurationSetRequest.h:167
Aws::SESV2::Model::TrackingOptions
Definition: TrackingOptions.h:38
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SESV2::Model::CreateConfigurationSetRequest::SetTrackingOptions
void SetTrackingOptions(const TrackingOptions &value)
Definition: CreateConfigurationSetRequest.h:118
Aws::SESV2::Model::CreateConfigurationSetRequest::SetSuppressionOptions
void SetSuppressionOptions(const SuppressionOptions &value)
Definition: CreateConfigurationSetRequest.h:306
Tag.h
Aws::SESV2::Model::CreateConfigurationSetRequest::WithConfigurationSetName
CreateConfigurationSetRequest & WithConfigurationSetName(Aws::String &&value)
Definition: CreateConfigurationSetRequest.h:92
AWSVector.h
Aws::SESV2::Model::CreateConfigurationSetRequest::WithSuppressionOptions
CreateConfigurationSetRequest & WithSuppressionOptions(SuppressionOptions &&value)
Definition: CreateConfigurationSetRequest.h:315
Aws::SESV2::Model::CreateConfigurationSetRequest::SetSendingOptions
void SetSendingOptions(SendingOptions &&value)
Definition: CreateConfigurationSetRequest.h:235
Aws::SESV2::Model::CreateConfigurationSetRequest::WithConfigurationSetName
CreateConfigurationSetRequest & WithConfigurationSetName(const Aws::String &value)
Definition: CreateConfigurationSetRequest.h:85
Aws::SESV2::Model::SendingOptions
Definition: SendingOptions.h:32
Aws::SESV2::Model::CreateConfigurationSetRequest::WithTrackingOptions
CreateConfigurationSetRequest & WithTrackingOptions(TrackingOptions &&value)
Definition: CreateConfigurationSetRequest.h:136
Aws::SESV2::Model::ReputationOptions
Definition: ReputationOptions.h:34
Aws::SESV2::Model::CreateConfigurationSetRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateConfigurationSetRequest.h:254
Aws::SESV2::Model::CreateConfigurationSetRequest::SetReputationOptions
void SetReputationOptions(const ReputationOptions &value)
Definition: CreateConfigurationSetRequest.h:192
DeliveryOptions.h
Aws::SESV2::Model::CreateConfigurationSetRequest::WithDeliveryOptions
CreateConfigurationSetRequest & WithDeliveryOptions(DeliveryOptions &&value)
Definition: CreateConfigurationSetRequest.h:173
Aws::SESV2::Model::SuppressionOptions
Definition: SuppressionOptions.h:34
TrackingOptions.h
Aws::SESV2::Model::DeliveryOptions
Definition: DeliveryOptions.h:34
Aws::SESV2::Model::CreateConfigurationSetRequest::SetConfigurationSetName
void SetConfigurationSetName(const Aws::String &value)
Definition: CreateConfigurationSetRequest.h:64
Aws::SESV2::Model::CreateConfigurationSetRequest::SetSendingOptions
void SetSendingOptions(const SendingOptions &value)
Definition: CreateConfigurationSetRequest.h:229
Aws::SESV2::Model::CreateConfigurationSetRequest::SetConfigurationSetName
void SetConfigurationSetName(const char *value)
Definition: CreateConfigurationSetRequest.h:78
Aws::SESV2::Model::CreateConfigurationSetRequest::SetTrackingOptions
void SetTrackingOptions(TrackingOptions &&value)
Definition: CreateConfigurationSetRequest.h:124
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
Aws::SESV2::Model::CreateConfigurationSetRequest::WithSendingOptions
CreateConfigurationSetRequest & WithSendingOptions(SendingOptions &&value)
Definition: CreateConfigurationSetRequest.h:247
Aws::SESV2::Model::CreateConfigurationSetRequest::SetSuppressionOptions
void SetSuppressionOptions(SuppressionOptions &&value)
Definition: CreateConfigurationSetRequest.h:309
AWSString.h
Aws::SESV2::Model::CreateConfigurationSetRequest::SetConfigurationSetName
void SetConfigurationSetName(Aws::String &&value)
Definition: CreateConfigurationSetRequest.h:71
Aws::SESV2::Model::CreateConfigurationSetRequest::SetDeliveryOptions
void SetDeliveryOptions(DeliveryOptions &&value)
Definition: CreateConfigurationSetRequest.h:161
Aws::SESV2::Model::CreateConfigurationSetRequest::SuppressionOptionsHasBeenSet
bool SuppressionOptionsHasBeenSet() const
Definition: CreateConfigurationSetRequest.h:303
SESV2_EXPORTS.h
Aws::SESV2::Model::CreateConfigurationSetRequest::SetReputationOptions
void SetReputationOptions(ReputationOptions &&value)
Definition: CreateConfigurationSetRequest.h:198
Aws::SESV2::Model::CreateConfigurationSetRequest::AddTags
CreateConfigurationSetRequest & AddTags(const Tag &value)
Definition: CreateConfigurationSetRequest.h:290
Aws::SESV2::Model::CreateConfigurationSetRequest::CreateConfigurationSetRequest
CreateConfigurationSetRequest()
Aws::SESV2::Model::CreateConfigurationSetRequest::WithSendingOptions
CreateConfigurationSetRequest & WithSendingOptions(const SendingOptions &value)
Definition: CreateConfigurationSetRequest.h:241
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::CreateConfigurationSetRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateConfigurationSetRequest.h:272
SuppressionOptions.h
Aws::SESV2::Model::CreateConfigurationSetRequest::SetDeliveryOptions
void SetDeliveryOptions(const DeliveryOptions &value)
Definition: CreateConfigurationSetRequest.h:155
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::Tag
Definition: Tag.h:53
Aws::SESV2::Model::CreateConfigurationSetRequest::GetReputationOptions
const ReputationOptions & GetReputationOptions() const
Definition: CreateConfigurationSetRequest.h:180
SESV2Request.h
Aws::SESV2::Model::CreateConfigurationSetRequest::WithSuppressionOptions
CreateConfigurationSetRequest & WithSuppressionOptions(const SuppressionOptions &value)
Definition: CreateConfigurationSetRequest.h:312
SendingOptions.h
Aws::SESV2::Model::CreateConfigurationSetRequest::ReputationOptionsHasBeenSet
bool ReputationOptionsHasBeenSet() const
Definition: CreateConfigurationSetRequest.h:186
Aws::SESV2::Model::CreateConfigurationSetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateConfigurationSetRequest.h:40
Aws::SESV2::Model::CreateConfigurationSetRequest::WithTrackingOptions
CreateConfigurationSetRequest & WithTrackingOptions(const TrackingOptions &value)
Definition: CreateConfigurationSetRequest.h:130
Aws::SESV2::Model::CreateConfigurationSetRequest::WithReputationOptions
CreateConfigurationSetRequest & WithReputationOptions(const ReputationOptions &value)
Definition: CreateConfigurationSetRequest.h:204
Aws::SESV2::Model::CreateConfigurationSetRequest::WithTags
CreateConfigurationSetRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateConfigurationSetRequest.h:284
Aws::SESV2::Model::CreateConfigurationSetRequest
Definition: CreateConfigurationSetRequest.h:32
Aws::SESV2::Model::CreateConfigurationSetRequest::WithTags
CreateConfigurationSetRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateConfigurationSetRequest.h:278
Aws::SESV2::Model::CreateConfigurationSetRequest::WithReputationOptions
CreateConfigurationSetRequest & WithReputationOptions(ReputationOptions &&value)
Definition: CreateConfigurationSetRequest.h:210
Aws::SESV2::Model::CreateConfigurationSetRequest::ConfigurationSetNameHasBeenSet
bool ConfigurationSetNameHasBeenSet() const
Definition: CreateConfigurationSetRequest.h:57