AWS SDK for C++

AWS SDK for C++ Version 1.11.757

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/pinpoint-email/PinpointEmail_EXPORTS.h>
11#include <aws/pinpoint-email/model/DeliveryOptions.h>
12#include <aws/pinpoint-email/model/ReputationOptions.h>
13#include <aws/pinpoint-email/model/SendingOptions.h>
14#include <aws/pinpoint-email/model/Tag.h>
15#include <aws/pinpoint-email/model/TrackingOptions.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace PinpointEmail {
29namespace Model {
36 public:
37 AWS_PINPOINTEMAIL_API GetConfigurationSetResult() = default;
40
42
45 inline const Aws::String& GetConfigurationSetName() const { return m_configurationSetName; }
46 template <typename ConfigurationSetNameT = Aws::String>
47 void SetConfigurationSetName(ConfigurationSetNameT&& value) {
48 m_configurationSetNameHasBeenSet = true;
49 m_configurationSetName = std::forward<ConfigurationSetNameT>(value);
50 }
51 template <typename ConfigurationSetNameT = Aws::String>
52 GetConfigurationSetResult& WithConfigurationSetName(ConfigurationSetNameT&& value) {
53 SetConfigurationSetName(std::forward<ConfigurationSetNameT>(value));
54 return *this;
55 }
57
59
63 inline const TrackingOptions& GetTrackingOptions() const { return m_trackingOptions; }
64 template <typename TrackingOptionsT = TrackingOptions>
65 void SetTrackingOptions(TrackingOptionsT&& value) {
66 m_trackingOptionsHasBeenSet = true;
67 m_trackingOptions = std::forward<TrackingOptionsT>(value);
68 }
69 template <typename TrackingOptionsT = TrackingOptions>
71 SetTrackingOptions(std::forward<TrackingOptionsT>(value));
72 return *this;
73 }
75
77
81 inline const DeliveryOptions& GetDeliveryOptions() const { return m_deliveryOptions; }
82 template <typename DeliveryOptionsT = DeliveryOptions>
83 void SetDeliveryOptions(DeliveryOptionsT&& value) {
84 m_deliveryOptionsHasBeenSet = true;
85 m_deliveryOptions = std::forward<DeliveryOptionsT>(value);
86 }
87 template <typename DeliveryOptionsT = DeliveryOptions>
89 SetDeliveryOptions(std::forward<DeliveryOptionsT>(value));
90 return *this;
91 }
93
95
99 inline const ReputationOptions& GetReputationOptions() const { return m_reputationOptions; }
100 template <typename ReputationOptionsT = ReputationOptions>
101 void SetReputationOptions(ReputationOptionsT&& value) {
102 m_reputationOptionsHasBeenSet = true;
103 m_reputationOptions = std::forward<ReputationOptionsT>(value);
104 }
105 template <typename ReputationOptionsT = ReputationOptions>
107 SetReputationOptions(std::forward<ReputationOptionsT>(value));
108 return *this;
109 }
111
113
117 inline const SendingOptions& GetSendingOptions() const { return m_sendingOptions; }
118 template <typename SendingOptionsT = SendingOptions>
119 void SetSendingOptions(SendingOptionsT&& value) {
120 m_sendingOptionsHasBeenSet = true;
121 m_sendingOptions = std::forward<SendingOptionsT>(value);
122 }
123 template <typename SendingOptionsT = SendingOptions>
125 SetSendingOptions(std::forward<SendingOptionsT>(value));
126 return *this;
127 }
129
131
135 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
136 template <typename TagsT = Aws::Vector<Tag>>
137 void SetTags(TagsT&& value) {
138 m_tagsHasBeenSet = true;
139 m_tags = std::forward<TagsT>(value);
140 }
141 template <typename TagsT = Aws::Vector<Tag>>
143 SetTags(std::forward<TagsT>(value));
144 return *this;
145 }
146 template <typename TagsT = Tag>
148 m_tagsHasBeenSet = true;
149 m_tags.emplace_back(std::forward<TagsT>(value));
150 return *this;
151 }
153
155
156 inline const Aws::String& GetRequestId() const { return m_requestId; }
157 template <typename RequestIdT = Aws::String>
158 void SetRequestId(RequestIdT&& value) {
159 m_requestIdHasBeenSet = true;
160 m_requestId = std::forward<RequestIdT>(value);
161 }
162 template <typename RequestIdT = Aws::String>
164 SetRequestId(std::forward<RequestIdT>(value));
165 return *this;
166 }
168 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
169
170 private:
171 Aws::String m_configurationSetName;
172
173 TrackingOptions m_trackingOptions;
174
175 DeliveryOptions m_deliveryOptions;
176
177 ReputationOptions m_reputationOptions;
178
179 SendingOptions m_sendingOptions;
180
181 Aws::Vector<Tag> m_tags;
182
183 Aws::String m_requestId;
184 Aws::Http::HttpResponseCode m_HttpResponseCode;
185 bool m_configurationSetNameHasBeenSet = false;
186 bool m_trackingOptionsHasBeenSet = false;
187 bool m_deliveryOptionsHasBeenSet = false;
188 bool m_reputationOptionsHasBeenSet = false;
189 bool m_sendingOptionsHasBeenSet = false;
190 bool m_tagsHasBeenSet = false;
191 bool m_requestIdHasBeenSet = false;
192};
193
194} // namespace Model
195} // namespace PinpointEmail
196} // namespace Aws
GetConfigurationSetResult & WithTags(TagsT &&value)
GetConfigurationSetResult & WithRequestId(RequestIdT &&value)
AWS_PINPOINTEMAIL_API GetConfigurationSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetConfigurationSetResult & WithSendingOptions(SendingOptionsT &&value)
GetConfigurationSetResult & WithDeliveryOptions(DeliveryOptionsT &&value)
GetConfigurationSetResult & WithTrackingOptions(TrackingOptionsT &&value)
AWS_PINPOINTEMAIL_API GetConfigurationSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetConfigurationSetResult & WithReputationOptions(ReputationOptionsT &&value)
GetConfigurationSetResult & WithConfigurationSetName(ConfigurationSetNameT &&value)
AWS_PINPOINTEMAIL_API GetConfigurationSetResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue