AWS SDK for C++

AWS SDK for C++ Version 1.11.766

Loading...
Searching...
No Matches
DescribeConfigurationSetResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/email/SES_EXPORTS.h>
10#include <aws/email/model/ConfigurationSet.h>
11#include <aws/email/model/DeliveryOptions.h>
12#include <aws/email/model/EventDestination.h>
13#include <aws/email/model/ReputationOptions.h>
14#include <aws/email/model/ResponseMetadata.h>
15#include <aws/email/model/TrackingOptions.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Xml {
25class XmlDocument;
26} // namespace Xml
27} // namespace Utils
28namespace SES {
29namespace Model {
40 public:
41 AWS_SES_API DescribeConfigurationSetResult() = default;
44
46
50 inline const ConfigurationSet& GetConfigurationSet() const { return m_configurationSet; }
51 template <typename ConfigurationSetT = ConfigurationSet>
52 void SetConfigurationSet(ConfigurationSetT&& value) {
53 m_configurationSetHasBeenSet = true;
54 m_configurationSet = std::forward<ConfigurationSetT>(value);
55 }
56 template <typename ConfigurationSetT = ConfigurationSet>
58 SetConfigurationSet(std::forward<ConfigurationSetT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::Vector<EventDestination>& GetEventDestinations() const { return m_eventDestinations; }
68 template <typename EventDestinationsT = Aws::Vector<EventDestination>>
69 void SetEventDestinations(EventDestinationsT&& value) {
70 m_eventDestinationsHasBeenSet = true;
71 m_eventDestinations = std::forward<EventDestinationsT>(value);
72 }
73 template <typename EventDestinationsT = Aws::Vector<EventDestination>>
75 SetEventDestinations(std::forward<EventDestinationsT>(value));
76 return *this;
77 }
78 template <typename EventDestinationsT = EventDestination>
80 m_eventDestinationsHasBeenSet = true;
81 m_eventDestinations.emplace_back(std::forward<EventDestinationsT>(value));
82 return *this;
83 }
85
87
91 inline const TrackingOptions& GetTrackingOptions() const { return m_trackingOptions; }
92 template <typename TrackingOptionsT = TrackingOptions>
93 void SetTrackingOptions(TrackingOptionsT&& value) {
94 m_trackingOptionsHasBeenSet = true;
95 m_trackingOptions = std::forward<TrackingOptionsT>(value);
96 }
97 template <typename TrackingOptionsT = TrackingOptions>
99 SetTrackingOptions(std::forward<TrackingOptionsT>(value));
100 return *this;
101 }
103
105
106 inline const DeliveryOptions& GetDeliveryOptions() const { return m_deliveryOptions; }
107 template <typename DeliveryOptionsT = DeliveryOptions>
108 void SetDeliveryOptions(DeliveryOptionsT&& value) {
109 m_deliveryOptionsHasBeenSet = true;
110 m_deliveryOptions = std::forward<DeliveryOptionsT>(value);
111 }
112 template <typename DeliveryOptionsT = DeliveryOptions>
114 SetDeliveryOptions(std::forward<DeliveryOptionsT>(value));
115 return *this;
116 }
118
120
124 inline const ReputationOptions& GetReputationOptions() const { return m_reputationOptions; }
125 template <typename ReputationOptionsT = ReputationOptions>
126 void SetReputationOptions(ReputationOptionsT&& value) {
127 m_reputationOptionsHasBeenSet = true;
128 m_reputationOptions = std::forward<ReputationOptionsT>(value);
129 }
130 template <typename ReputationOptionsT = ReputationOptions>
132 SetReputationOptions(std::forward<ReputationOptionsT>(value));
133 return *this;
134 }
136
138
139 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
140 template <typename ResponseMetadataT = ResponseMetadata>
141 void SetResponseMetadata(ResponseMetadataT&& value) {
142 m_responseMetadataHasBeenSet = true;
143 m_responseMetadata = std::forward<ResponseMetadataT>(value);
144 }
145 template <typename ResponseMetadataT = ResponseMetadata>
147 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
148 return *this;
149 }
151 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
152
153 private:
154 ConfigurationSet m_configurationSet;
155
156 Aws::Vector<EventDestination> m_eventDestinations;
157
158 TrackingOptions m_trackingOptions;
159
160 DeliveryOptions m_deliveryOptions;
161
162 ReputationOptions m_reputationOptions;
163
164 ResponseMetadata m_responseMetadata;
165 Aws::Http::HttpResponseCode m_HttpResponseCode;
166 bool m_configurationSetHasBeenSet = false;
167 bool m_eventDestinationsHasBeenSet = false;
168 bool m_trackingOptionsHasBeenSet = false;
169 bool m_deliveryOptionsHasBeenSet = false;
170 bool m_reputationOptionsHasBeenSet = false;
171 bool m_responseMetadataHasBeenSet = false;
172};
173
174} // namespace Model
175} // namespace SES
176} // namespace Aws
DescribeConfigurationSetResult & WithEventDestinations(EventDestinationsT &&value)
AWS_SES_API DescribeConfigurationSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_SES_API DescribeConfigurationSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeConfigurationSetResult & WithTrackingOptions(TrackingOptionsT &&value)
const Aws::Vector< EventDestination > & GetEventDestinations() const
DescribeConfigurationSetResult & WithReputationOptions(ReputationOptionsT &&value)
DescribeConfigurationSetResult & WithResponseMetadata(ResponseMetadataT &&value)
DescribeConfigurationSetResult & WithDeliveryOptions(DeliveryOptionsT &&value)
DescribeConfigurationSetResult & AddEventDestinations(EventDestinationsT &&value)
DescribeConfigurationSetResult & WithConfigurationSet(ConfigurationSetT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument