AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
GetConfigurationSetResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 {
24template <typename RESULT_TYPE>
25class AmazonWebServiceResult;
26
27namespace Utils {
28namespace Json {
29class JsonValue;
30} // namespace Json
31} // namespace Utils
32namespace SESV2 {
33namespace Model {
40 public:
41 AWS_SESV2_API GetConfigurationSetResult() = default;
44
46
49 inline const Aws::String& GetConfigurationSetName() const { return m_configurationSetName; }
50 template <typename ConfigurationSetNameT = Aws::String>
51 void SetConfigurationSetName(ConfigurationSetNameT&& value) {
52 m_configurationSetNameHasBeenSet = true;
53 m_configurationSetName = std::forward<ConfigurationSetNameT>(value);
54 }
55 template <typename ConfigurationSetNameT = Aws::String>
56 GetConfigurationSetResult& WithConfigurationSetName(ConfigurationSetNameT&& value) {
57 SetConfigurationSetName(std::forward<ConfigurationSetNameT>(value));
58 return *this;
59 }
61
63
67 inline const TrackingOptions& GetTrackingOptions() const { return m_trackingOptions; }
68 template <typename TrackingOptionsT = TrackingOptions>
69 void SetTrackingOptions(TrackingOptionsT&& value) {
70 m_trackingOptionsHasBeenSet = true;
71 m_trackingOptions = std::forward<TrackingOptionsT>(value);
72 }
73 template <typename TrackingOptionsT = TrackingOptions>
75 SetTrackingOptions(std::forward<TrackingOptionsT>(value));
76 return *this;
77 }
79
81
85 inline const DeliveryOptions& GetDeliveryOptions() const { return m_deliveryOptions; }
86 template <typename DeliveryOptionsT = DeliveryOptions>
87 void SetDeliveryOptions(DeliveryOptionsT&& value) {
88 m_deliveryOptionsHasBeenSet = true;
89 m_deliveryOptions = std::forward<DeliveryOptionsT>(value);
90 }
91 template <typename DeliveryOptionsT = DeliveryOptions>
93 SetDeliveryOptions(std::forward<DeliveryOptionsT>(value));
94 return *this;
95 }
97
99
103 inline const ReputationOptions& GetReputationOptions() const { return m_reputationOptions; }
104 template <typename ReputationOptionsT = ReputationOptions>
105 void SetReputationOptions(ReputationOptionsT&& value) {
106 m_reputationOptionsHasBeenSet = true;
107 m_reputationOptions = std::forward<ReputationOptionsT>(value);
108 }
109 template <typename ReputationOptionsT = ReputationOptions>
111 SetReputationOptions(std::forward<ReputationOptionsT>(value));
112 return *this;
113 }
115
117
121 inline const SendingOptions& GetSendingOptions() const { return m_sendingOptions; }
122 template <typename SendingOptionsT = SendingOptions>
123 void SetSendingOptions(SendingOptionsT&& value) {
124 m_sendingOptionsHasBeenSet = true;
125 m_sendingOptions = std::forward<SendingOptionsT>(value);
126 }
127 template <typename SendingOptionsT = SendingOptions>
129 SetSendingOptions(std::forward<SendingOptionsT>(value));
130 return *this;
131 }
133
135
139 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
140 template <typename TagsT = Aws::Vector<Tag>>
141 void SetTags(TagsT&& value) {
142 m_tagsHasBeenSet = true;
143 m_tags = std::forward<TagsT>(value);
144 }
145 template <typename TagsT = Aws::Vector<Tag>>
147 SetTags(std::forward<TagsT>(value));
148 return *this;
149 }
150 template <typename TagsT = Tag>
152 m_tagsHasBeenSet = true;
153 m_tags.emplace_back(std::forward<TagsT>(value));
154 return *this;
155 }
157
159
163 inline const SuppressionOptions& GetSuppressionOptions() const { return m_suppressionOptions; }
164 template <typename SuppressionOptionsT = SuppressionOptions>
165 void SetSuppressionOptions(SuppressionOptionsT&& value) {
166 m_suppressionOptionsHasBeenSet = true;
167 m_suppressionOptions = std::forward<SuppressionOptionsT>(value);
168 }
169 template <typename SuppressionOptionsT = SuppressionOptions>
170 GetConfigurationSetResult& WithSuppressionOptions(SuppressionOptionsT&& value) {
171 SetSuppressionOptions(std::forward<SuppressionOptionsT>(value));
172 return *this;
173 }
175
177
181 inline const VdmOptions& GetVdmOptions() const { return m_vdmOptions; }
182 template <typename VdmOptionsT = VdmOptions>
183 void SetVdmOptions(VdmOptionsT&& value) {
184 m_vdmOptionsHasBeenSet = true;
185 m_vdmOptions = std::forward<VdmOptionsT>(value);
186 }
187 template <typename VdmOptionsT = VdmOptions>
189 SetVdmOptions(std::forward<VdmOptionsT>(value));
190 return *this;
191 }
193
195
199 inline const ArchivingOptions& GetArchivingOptions() const { return m_archivingOptions; }
200 template <typename ArchivingOptionsT = ArchivingOptions>
201 void SetArchivingOptions(ArchivingOptionsT&& value) {
202 m_archivingOptionsHasBeenSet = true;
203 m_archivingOptions = std::forward<ArchivingOptionsT>(value);
204 }
205 template <typename ArchivingOptionsT = ArchivingOptions>
207 SetArchivingOptions(std::forward<ArchivingOptionsT>(value));
208 return *this;
209 }
211
213
218 inline const MessageSecurityOptions& GetMessageSecurityOptions() const { return m_messageSecurityOptions; }
219 template <typename MessageSecurityOptionsT = MessageSecurityOptions>
220 void SetMessageSecurityOptions(MessageSecurityOptionsT&& value) {
221 m_messageSecurityOptionsHasBeenSet = true;
222 m_messageSecurityOptions = std::forward<MessageSecurityOptionsT>(value);
223 }
224 template <typename MessageSecurityOptionsT = MessageSecurityOptions>
225 GetConfigurationSetResult& WithMessageSecurityOptions(MessageSecurityOptionsT&& value) {
226 SetMessageSecurityOptions(std::forward<MessageSecurityOptionsT>(value));
227 return *this;
228 }
230
232
233 inline const Aws::String& GetRequestId() const { return m_requestId; }
234 template <typename RequestIdT = Aws::String>
235 void SetRequestId(RequestIdT&& value) {
236 m_requestIdHasBeenSet = true;
237 m_requestId = std::forward<RequestIdT>(value);
238 }
239 template <typename RequestIdT = Aws::String>
241 SetRequestId(std::forward<RequestIdT>(value));
242 return *this;
243 }
245 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
246
247 private:
248 Aws::String m_configurationSetName;
249
250 TrackingOptions m_trackingOptions;
251
252 DeliveryOptions m_deliveryOptions;
253
254 ReputationOptions m_reputationOptions;
255
256 SendingOptions m_sendingOptions;
257
258 Aws::Vector<Tag> m_tags;
259
260 SuppressionOptions m_suppressionOptions;
261
262 VdmOptions m_vdmOptions;
263
264 ArchivingOptions m_archivingOptions;
265
266 MessageSecurityOptions m_messageSecurityOptions;
267
268 Aws::String m_requestId;
269 Aws::Http::HttpResponseCode m_HttpResponseCode;
270 bool m_configurationSetNameHasBeenSet = false;
271 bool m_trackingOptionsHasBeenSet = false;
272 bool m_deliveryOptionsHasBeenSet = false;
273 bool m_reputationOptionsHasBeenSet = false;
274 bool m_sendingOptionsHasBeenSet = false;
275 bool m_tagsHasBeenSet = false;
276 bool m_suppressionOptionsHasBeenSet = false;
277 bool m_vdmOptionsHasBeenSet = false;
278 bool m_archivingOptionsHasBeenSet = false;
279 bool m_messageSecurityOptionsHasBeenSet = false;
280 bool m_requestIdHasBeenSet = false;
281};
282
283} // namespace Model
284} // namespace SESV2
285} // namespace Aws
AWS_SESV2_API GetConfigurationSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const MessageSecurityOptions & GetMessageSecurityOptions() const
AWS_SESV2_API GetConfigurationSetResult()=default
GetConfigurationSetResult & WithConfigurationSetName(ConfigurationSetNameT &&value)
void SetConfigurationSetName(ConfigurationSetNameT &&value)
GetConfigurationSetResult & WithMessageSecurityOptions(MessageSecurityOptionsT &&value)
const SuppressionOptions & GetSuppressionOptions() const
GetConfigurationSetResult & WithSendingOptions(SendingOptionsT &&value)
GetConfigurationSetResult & WithTrackingOptions(TrackingOptionsT &&value)
GetConfigurationSetResult & WithSuppressionOptions(SuppressionOptionsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetMessageSecurityOptions(MessageSecurityOptionsT &&value)
GetConfigurationSetResult & WithArchivingOptions(ArchivingOptionsT &&value)
GetConfigurationSetResult & WithTags(TagsT &&value)
GetConfigurationSetResult & WithVdmOptions(VdmOptionsT &&value)
GetConfigurationSetResult & WithDeliveryOptions(DeliveryOptionsT &&value)
const ReputationOptions & GetReputationOptions() const
void SetSuppressionOptions(SuppressionOptionsT &&value)
AWS_SESV2_API GetConfigurationSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetConfigurationSetResult & WithReputationOptions(ReputationOptionsT &&value)
GetConfigurationSetResult & AddTags(TagsT &&value)
GetConfigurationSetResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue