AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DeliveryStreamDescription.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/firehose/Firehose_EXPORTS.h>
11#include <aws/firehose/model/DeliveryStreamEncryptionConfiguration.h>
12#include <aws/firehose/model/DeliveryStreamStatus.h>
13#include <aws/firehose/model/DeliveryStreamType.h>
14#include <aws/firehose/model/DestinationDescription.h>
15#include <aws/firehose/model/FailureDescription.h>
16#include <aws/firehose/model/SourceDescription.h>
17
18#include <utility>
19
20namespace Aws {
21namespace Utils {
22namespace Json {
23class JsonValue;
24class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Firehose {
28namespace Model {
29
36 public:
37 AWS_FIREHOSE_API DeliveryStreamDescription() = default;
40 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
46 inline const Aws::String& GetDeliveryStreamName() const { return m_deliveryStreamName; }
47 inline bool DeliveryStreamNameHasBeenSet() const { return m_deliveryStreamNameHasBeenSet; }
48 template <typename DeliveryStreamNameT = Aws::String>
49 void SetDeliveryStreamName(DeliveryStreamNameT&& value) {
50 m_deliveryStreamNameHasBeenSet = true;
51 m_deliveryStreamName = std::forward<DeliveryStreamNameT>(value);
52 }
53 template <typename DeliveryStreamNameT = Aws::String>
54 DeliveryStreamDescription& WithDeliveryStreamName(DeliveryStreamNameT&& value) {
55 SetDeliveryStreamName(std::forward<DeliveryStreamNameT>(value));
56 return *this;
57 }
59
61
67 inline const Aws::String& GetDeliveryStreamARN() const { return m_deliveryStreamARN; }
68 inline bool DeliveryStreamARNHasBeenSet() const { return m_deliveryStreamARNHasBeenSet; }
69 template <typename DeliveryStreamARNT = Aws::String>
70 void SetDeliveryStreamARN(DeliveryStreamARNT&& value) {
71 m_deliveryStreamARNHasBeenSet = true;
72 m_deliveryStreamARN = std::forward<DeliveryStreamARNT>(value);
73 }
74 template <typename DeliveryStreamARNT = Aws::String>
75 DeliveryStreamDescription& WithDeliveryStreamARN(DeliveryStreamARNT&& value) {
76 SetDeliveryStreamARN(std::forward<DeliveryStreamARNT>(value));
77 return *this;
78 }
80
82
88 inline DeliveryStreamStatus GetDeliveryStreamStatus() const { return m_deliveryStreamStatus; }
89 inline bool DeliveryStreamStatusHasBeenSet() const { return m_deliveryStreamStatusHasBeenSet; }
91 m_deliveryStreamStatusHasBeenSet = true;
92 m_deliveryStreamStatus = value;
93 }
96 return *this;
97 }
99
101
106 inline const FailureDescription& GetFailureDescription() const { return m_failureDescription; }
107 inline bool FailureDescriptionHasBeenSet() const { return m_failureDescriptionHasBeenSet; }
108 template <typename FailureDescriptionT = FailureDescription>
109 void SetFailureDescription(FailureDescriptionT&& value) {
110 m_failureDescriptionHasBeenSet = true;
111 m_failureDescription = std::forward<FailureDescriptionT>(value);
112 }
113 template <typename FailureDescriptionT = FailureDescription>
114 DeliveryStreamDescription& WithFailureDescription(FailureDescriptionT&& value) {
115 SetFailureDescription(std::forward<FailureDescriptionT>(value));
116 return *this;
117 }
119
121
126 return m_deliveryStreamEncryptionConfiguration;
127 }
128 inline bool DeliveryStreamEncryptionConfigurationHasBeenSet() const { return m_deliveryStreamEncryptionConfigurationHasBeenSet; }
129 template <typename DeliveryStreamEncryptionConfigurationT = DeliveryStreamEncryptionConfiguration>
130 void SetDeliveryStreamEncryptionConfiguration(DeliveryStreamEncryptionConfigurationT&& value) {
131 m_deliveryStreamEncryptionConfigurationHasBeenSet = true;
132 m_deliveryStreamEncryptionConfiguration = std::forward<DeliveryStreamEncryptionConfigurationT>(value);
133 }
134 template <typename DeliveryStreamEncryptionConfigurationT = DeliveryStreamEncryptionConfiguration>
135 DeliveryStreamDescription& WithDeliveryStreamEncryptionConfiguration(DeliveryStreamEncryptionConfigurationT&& value) {
136 SetDeliveryStreamEncryptionConfiguration(std::forward<DeliveryStreamEncryptionConfigurationT>(value));
137 return *this;
138 }
140
142
148 inline DeliveryStreamType GetDeliveryStreamType() const { return m_deliveryStreamType; }
149 inline bool DeliveryStreamTypeHasBeenSet() const { return m_deliveryStreamTypeHasBeenSet; }
151 m_deliveryStreamTypeHasBeenSet = true;
152 m_deliveryStreamType = value;
153 }
156 return *this;
157 }
159
161
167 inline const Aws::String& GetVersionId() const { return m_versionId; }
168 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
169 template <typename VersionIdT = Aws::String>
170 void SetVersionId(VersionIdT&& value) {
171 m_versionIdHasBeenSet = true;
172 m_versionId = std::forward<VersionIdT>(value);
173 }
174 template <typename VersionIdT = Aws::String>
176 SetVersionId(std::forward<VersionIdT>(value));
177 return *this;
178 }
180
182
185 inline const Aws::Utils::DateTime& GetCreateTimestamp() const { return m_createTimestamp; }
186 inline bool CreateTimestampHasBeenSet() const { return m_createTimestampHasBeenSet; }
187 template <typename CreateTimestampT = Aws::Utils::DateTime>
188 void SetCreateTimestamp(CreateTimestampT&& value) {
189 m_createTimestampHasBeenSet = true;
190 m_createTimestamp = std::forward<CreateTimestampT>(value);
191 }
192 template <typename CreateTimestampT = Aws::Utils::DateTime>
194 SetCreateTimestamp(std::forward<CreateTimestampT>(value));
195 return *this;
196 }
198
200
203 inline const Aws::Utils::DateTime& GetLastUpdateTimestamp() const { return m_lastUpdateTimestamp; }
204 inline bool LastUpdateTimestampHasBeenSet() const { return m_lastUpdateTimestampHasBeenSet; }
205 template <typename LastUpdateTimestampT = Aws::Utils::DateTime>
206 void SetLastUpdateTimestamp(LastUpdateTimestampT&& value) {
207 m_lastUpdateTimestampHasBeenSet = true;
208 m_lastUpdateTimestamp = std::forward<LastUpdateTimestampT>(value);
209 }
210 template <typename LastUpdateTimestampT = Aws::Utils::DateTime>
211 DeliveryStreamDescription& WithLastUpdateTimestamp(LastUpdateTimestampT&& value) {
212 SetLastUpdateTimestamp(std::forward<LastUpdateTimestampT>(value));
213 return *this;
214 }
216
218
223 inline const SourceDescription& GetSource() const { return m_source; }
224 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
225 template <typename SourceT = SourceDescription>
226 void SetSource(SourceT&& value) {
227 m_sourceHasBeenSet = true;
228 m_source = std::forward<SourceT>(value);
229 }
230 template <typename SourceT = SourceDescription>
232 SetSource(std::forward<SourceT>(value));
233 return *this;
234 }
236
238
241 inline const Aws::Vector<DestinationDescription>& GetDestinations() const { return m_destinations; }
242 inline bool DestinationsHasBeenSet() const { return m_destinationsHasBeenSet; }
243 template <typename DestinationsT = Aws::Vector<DestinationDescription>>
244 void SetDestinations(DestinationsT&& value) {
245 m_destinationsHasBeenSet = true;
246 m_destinations = std::forward<DestinationsT>(value);
247 }
248 template <typename DestinationsT = Aws::Vector<DestinationDescription>>
250 SetDestinations(std::forward<DestinationsT>(value));
251 return *this;
252 }
253 template <typename DestinationsT = DestinationDescription>
255 m_destinationsHasBeenSet = true;
256 m_destinations.emplace_back(std::forward<DestinationsT>(value));
257 return *this;
258 }
260
262
265 inline bool GetHasMoreDestinations() const { return m_hasMoreDestinations; }
266 inline bool HasMoreDestinationsHasBeenSet() const { return m_hasMoreDestinationsHasBeenSet; }
267 inline void SetHasMoreDestinations(bool value) {
268 m_hasMoreDestinationsHasBeenSet = true;
269 m_hasMoreDestinations = value;
270 }
273 return *this;
274 }
276 private:
277 Aws::String m_deliveryStreamName;
278
279 Aws::String m_deliveryStreamARN;
280
282
283 FailureDescription m_failureDescription;
284
285 DeliveryStreamEncryptionConfiguration m_deliveryStreamEncryptionConfiguration;
286
288
289 Aws::String m_versionId;
290
291 Aws::Utils::DateTime m_createTimestamp{};
292
293 Aws::Utils::DateTime m_lastUpdateTimestamp{};
294
295 SourceDescription m_source;
296
298
299 bool m_hasMoreDestinations{false};
300 bool m_deliveryStreamNameHasBeenSet = false;
301 bool m_deliveryStreamARNHasBeenSet = false;
302 bool m_deliveryStreamStatusHasBeenSet = false;
303 bool m_failureDescriptionHasBeenSet = false;
304 bool m_deliveryStreamEncryptionConfigurationHasBeenSet = false;
305 bool m_deliveryStreamTypeHasBeenSet = false;
306 bool m_versionIdHasBeenSet = false;
307 bool m_createTimestampHasBeenSet = false;
308 bool m_lastUpdateTimestampHasBeenSet = false;
309 bool m_sourceHasBeenSet = false;
310 bool m_destinationsHasBeenSet = false;
311 bool m_hasMoreDestinationsHasBeenSet = false;
312};
313
314} // namespace Model
315} // namespace Firehose
316} // namespace Aws
DeliveryStreamDescription & WithDeliveryStreamARN(DeliveryStreamARNT &&value)
void SetDeliveryStreamEncryptionConfiguration(DeliveryStreamEncryptionConfigurationT &&value)
void SetLastUpdateTimestamp(LastUpdateTimestampT &&value)
DeliveryStreamDescription & WithCreateTimestamp(CreateTimestampT &&value)
DeliveryStreamDescription & WithSource(SourceT &&value)
DeliveryStreamDescription & WithDeliveryStreamStatus(DeliveryStreamStatus value)
AWS_FIREHOSE_API DeliveryStreamDescription()=default
DeliveryStreamDescription & WithFailureDescription(FailureDescriptionT &&value)
DeliveryStreamDescription & AddDestinations(DestinationsT &&value)
DeliveryStreamDescription & WithHasMoreDestinations(bool value)
DeliveryStreamDescription & WithDeliveryStreamName(DeliveryStreamNameT &&value)
const Aws::Vector< DestinationDescription > & GetDestinations() const
DeliveryStreamDescription & WithDestinations(DestinationsT &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
DeliveryStreamDescription & WithDeliveryStreamType(DeliveryStreamType value)
const Aws::Utils::DateTime & GetCreateTimestamp() const
const DeliveryStreamEncryptionConfiguration & GetDeliveryStreamEncryptionConfiguration() const
DeliveryStreamDescription & WithVersionId(VersionIdT &&value)
DeliveryStreamDescription & WithLastUpdateTimestamp(LastUpdateTimestampT &&value)
AWS_FIREHOSE_API DeliveryStreamDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
DeliveryStreamDescription & WithDeliveryStreamEncryptionConfiguration(DeliveryStreamEncryptionConfigurationT &&value)
const Aws::Utils::DateTime & GetLastUpdateTimestamp() const
AWS_FIREHOSE_API DeliveryStreamDescription(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue