AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateConfigurationSetRequest.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/sesv2/SESV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sesv2/model/TrackingOptions.h>
11#include <aws/sesv2/model/DeliveryOptions.h>
12#include <aws/sesv2/model/ReputationOptions.h>
13#include <aws/sesv2/model/SendingOptions.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/sesv2/model/SuppressionOptions.h>
16#include <aws/sesv2/model/VdmOptions.h>
17#include <aws/sesv2/model/Tag.h>
18#include <utility>
19
20namespace Aws
21{
22namespace SESV2
23{
24namespace Model
25{
26
33 {
34 public:
36
37 // Service request name is the Operation name which will send this request out,
38 // each operation should has unique request name, so that we can get operation's name from this request.
39 // Note: this is not true for response, multiple operations may have the same response name,
40 // so we can not get operation's name from response.
41 inline virtual const char* GetServiceRequestName() const override { return "CreateConfigurationSet"; }
42
43 AWS_SESV2_API Aws::String SerializePayload() const override;
44
45
47
52 inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; }
53 inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
54 inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; }
55 inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); }
56 inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); }
59 inline CreateConfigurationSetRequest& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;}
61
63
67 inline const TrackingOptions& GetTrackingOptions() const{ return m_trackingOptions; }
68 inline bool TrackingOptionsHasBeenSet() const { return m_trackingOptionsHasBeenSet; }
69 inline void SetTrackingOptions(const TrackingOptions& value) { m_trackingOptionsHasBeenSet = true; m_trackingOptions = value; }
70 inline void SetTrackingOptions(TrackingOptions&& value) { m_trackingOptionsHasBeenSet = true; m_trackingOptions = std::move(value); }
72 inline CreateConfigurationSetRequest& WithTrackingOptions(TrackingOptions&& value) { SetTrackingOptions(std::move(value)); return *this;}
74
76
80 inline const DeliveryOptions& GetDeliveryOptions() const{ return m_deliveryOptions; }
81 inline bool DeliveryOptionsHasBeenSet() const { return m_deliveryOptionsHasBeenSet; }
82 inline void SetDeliveryOptions(const DeliveryOptions& value) { m_deliveryOptionsHasBeenSet = true; m_deliveryOptions = value; }
83 inline void SetDeliveryOptions(DeliveryOptions&& value) { m_deliveryOptionsHasBeenSet = true; m_deliveryOptions = std::move(value); }
85 inline CreateConfigurationSetRequest& WithDeliveryOptions(DeliveryOptions&& value) { SetDeliveryOptions(std::move(value)); return *this;}
87
89
93 inline const ReputationOptions& GetReputationOptions() const{ return m_reputationOptions; }
94 inline bool ReputationOptionsHasBeenSet() const { return m_reputationOptionsHasBeenSet; }
95 inline void SetReputationOptions(const ReputationOptions& value) { m_reputationOptionsHasBeenSet = true; m_reputationOptions = value; }
96 inline void SetReputationOptions(ReputationOptions&& value) { m_reputationOptionsHasBeenSet = true; m_reputationOptions = std::move(value); }
100
102
106 inline const SendingOptions& GetSendingOptions() const{ return m_sendingOptions; }
107 inline bool SendingOptionsHasBeenSet() const { return m_sendingOptionsHasBeenSet; }
108 inline void SetSendingOptions(const SendingOptions& value) { m_sendingOptionsHasBeenSet = true; m_sendingOptions = value; }
109 inline void SetSendingOptions(SendingOptions&& value) { m_sendingOptionsHasBeenSet = true; m_sendingOptions = std::move(value); }
111 inline CreateConfigurationSetRequest& WithSendingOptions(SendingOptions&& value) { SetSendingOptions(std::move(value)); return *this;}
113
115
119 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
120 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
121 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
122 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
123 inline CreateConfigurationSetRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
124 inline CreateConfigurationSetRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
125 inline CreateConfigurationSetRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
126 inline CreateConfigurationSetRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
128
130
131 inline const SuppressionOptions& GetSuppressionOptions() const{ return m_suppressionOptions; }
132 inline bool SuppressionOptionsHasBeenSet() const { return m_suppressionOptionsHasBeenSet; }
133 inline void SetSuppressionOptions(const SuppressionOptions& value) { m_suppressionOptionsHasBeenSet = true; m_suppressionOptions = value; }
134 inline void SetSuppressionOptions(SuppressionOptions&& value) { m_suppressionOptionsHasBeenSet = true; m_suppressionOptions = std::move(value); }
138
140
144 inline const VdmOptions& GetVdmOptions() const{ return m_vdmOptions; }
145 inline bool VdmOptionsHasBeenSet() const { return m_vdmOptionsHasBeenSet; }
146 inline void SetVdmOptions(const VdmOptions& value) { m_vdmOptionsHasBeenSet = true; m_vdmOptions = value; }
147 inline void SetVdmOptions(VdmOptions&& value) { m_vdmOptionsHasBeenSet = true; m_vdmOptions = std::move(value); }
148 inline CreateConfigurationSetRequest& WithVdmOptions(const VdmOptions& value) { SetVdmOptions(value); return *this;}
149 inline CreateConfigurationSetRequest& WithVdmOptions(VdmOptions&& value) { SetVdmOptions(std::move(value)); return *this;}
151 private:
152
153 Aws::String m_configurationSetName;
154 bool m_configurationSetNameHasBeenSet = false;
155
156 TrackingOptions m_trackingOptions;
157 bool m_trackingOptionsHasBeenSet = false;
158
159 DeliveryOptions m_deliveryOptions;
160 bool m_deliveryOptionsHasBeenSet = false;
161
162 ReputationOptions m_reputationOptions;
163 bool m_reputationOptionsHasBeenSet = false;
164
165 SendingOptions m_sendingOptions;
166 bool m_sendingOptionsHasBeenSet = false;
167
168 Aws::Vector<Tag> m_tags;
169 bool m_tagsHasBeenSet = false;
170
171 SuppressionOptions m_suppressionOptions;
172 bool m_suppressionOptionsHasBeenSet = false;
173
174 VdmOptions m_vdmOptions;
175 bool m_vdmOptionsHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace SESV2
180} // namespace Aws
CreateConfigurationSetRequest & WithConfigurationSetName(const char *value)
CreateConfigurationSetRequest & WithConfigurationSetName(Aws::String &&value)
CreateConfigurationSetRequest & WithVdmOptions(VdmOptions &&value)
CreateConfigurationSetRequest & WithTags(Aws::Vector< Tag > &&value)
CreateConfigurationSetRequest & WithTags(const Aws::Vector< Tag > &value)
CreateConfigurationSetRequest & WithReputationOptions(const ReputationOptions &value)
CreateConfigurationSetRequest & WithSuppressionOptions(SuppressionOptions &&value)
CreateConfigurationSetRequest & WithConfigurationSetName(const Aws::String &value)
CreateConfigurationSetRequest & AddTags(Tag &&value)
CreateConfigurationSetRequest & WithReputationOptions(ReputationOptions &&value)
CreateConfigurationSetRequest & WithTrackingOptions(const TrackingOptions &value)
CreateConfigurationSetRequest & WithVdmOptions(const VdmOptions &value)
AWS_SESV2_API Aws::String SerializePayload() const override
CreateConfigurationSetRequest & WithTrackingOptions(TrackingOptions &&value)
CreateConfigurationSetRequest & WithDeliveryOptions(DeliveryOptions &&value)
virtual const char * GetServiceRequestName() const override
CreateConfigurationSetRequest & AddTags(const Tag &value)
CreateConfigurationSetRequest & WithSendingOptions(SendingOptions &&value)
CreateConfigurationSetRequest & WithDeliveryOptions(const DeliveryOptions &value)
CreateConfigurationSetRequest & WithSendingOptions(const SendingOptions &value)
CreateConfigurationSetRequest & WithSuppressionOptions(const SuppressionOptions &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector