AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeliveryStreamDescription.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/firehose/model/DeliveryStreamStatus.h>
10#include <aws/firehose/model/FailureDescription.h>
11#include <aws/firehose/model/DeliveryStreamEncryptionConfiguration.h>
12#include <aws/firehose/model/DeliveryStreamType.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/firehose/model/SourceDescription.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/firehose/model/DestinationDescription.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace Firehose
30{
31namespace Model
32{
33
40 {
41 public:
42 AWS_FIREHOSE_API DeliveryStreamDescription() = default;
45 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetDeliveryStreamName() const { return m_deliveryStreamName; }
53 inline bool DeliveryStreamNameHasBeenSet() const { return m_deliveryStreamNameHasBeenSet; }
54 template<typename DeliveryStreamNameT = Aws::String>
55 void SetDeliveryStreamName(DeliveryStreamNameT&& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = std::forward<DeliveryStreamNameT>(value); }
56 template<typename DeliveryStreamNameT = Aws::String>
57 DeliveryStreamDescription& WithDeliveryStreamName(DeliveryStreamNameT&& value) { SetDeliveryStreamName(std::forward<DeliveryStreamNameT>(value)); return *this;}
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) { m_deliveryStreamARNHasBeenSet = true; m_deliveryStreamARN = std::forward<DeliveryStreamARNT>(value); }
71 template<typename DeliveryStreamARNT = Aws::String>
72 DeliveryStreamDescription& WithDeliveryStreamARN(DeliveryStreamARNT&& value) { SetDeliveryStreamARN(std::forward<DeliveryStreamARNT>(value)); return *this;}
74
76
82 inline DeliveryStreamStatus GetDeliveryStreamStatus() const { return m_deliveryStreamStatus; }
83 inline bool DeliveryStreamStatusHasBeenSet() const { return m_deliveryStreamStatusHasBeenSet; }
84 inline void SetDeliveryStreamStatus(DeliveryStreamStatus value) { m_deliveryStreamStatusHasBeenSet = true; m_deliveryStreamStatus = value; }
87
89
94 inline const FailureDescription& GetFailureDescription() const { return m_failureDescription; }
95 inline bool FailureDescriptionHasBeenSet() const { return m_failureDescriptionHasBeenSet; }
96 template<typename FailureDescriptionT = FailureDescription>
97 void SetFailureDescription(FailureDescriptionT&& value) { m_failureDescriptionHasBeenSet = true; m_failureDescription = std::forward<FailureDescriptionT>(value); }
98 template<typename FailureDescriptionT = FailureDescription>
99 DeliveryStreamDescription& WithFailureDescription(FailureDescriptionT&& value) { SetFailureDescription(std::forward<FailureDescriptionT>(value)); return *this;}
101
103
107 inline const DeliveryStreamEncryptionConfiguration& GetDeliveryStreamEncryptionConfiguration() const { return m_deliveryStreamEncryptionConfiguration; }
108 inline bool DeliveryStreamEncryptionConfigurationHasBeenSet() const { return m_deliveryStreamEncryptionConfigurationHasBeenSet; }
109 template<typename DeliveryStreamEncryptionConfigurationT = DeliveryStreamEncryptionConfiguration>
110 void SetDeliveryStreamEncryptionConfiguration(DeliveryStreamEncryptionConfigurationT&& value) { m_deliveryStreamEncryptionConfigurationHasBeenSet = true; m_deliveryStreamEncryptionConfiguration = std::forward<DeliveryStreamEncryptionConfigurationT>(value); }
111 template<typename DeliveryStreamEncryptionConfigurationT = DeliveryStreamEncryptionConfiguration>
112 DeliveryStreamDescription& WithDeliveryStreamEncryptionConfiguration(DeliveryStreamEncryptionConfigurationT&& value) { SetDeliveryStreamEncryptionConfiguration(std::forward<DeliveryStreamEncryptionConfigurationT>(value)); return *this;}
114
116
122 inline DeliveryStreamType GetDeliveryStreamType() const { return m_deliveryStreamType; }
123 inline bool DeliveryStreamTypeHasBeenSet() const { return m_deliveryStreamTypeHasBeenSet; }
124 inline void SetDeliveryStreamType(DeliveryStreamType value) { m_deliveryStreamTypeHasBeenSet = true; m_deliveryStreamType = value; }
127
129
135 inline const Aws::String& GetVersionId() const { return m_versionId; }
136 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
137 template<typename VersionIdT = Aws::String>
138 void SetVersionId(VersionIdT&& value) { m_versionIdHasBeenSet = true; m_versionId = std::forward<VersionIdT>(value); }
139 template<typename VersionIdT = Aws::String>
140 DeliveryStreamDescription& WithVersionId(VersionIdT&& value) { SetVersionId(std::forward<VersionIdT>(value)); return *this;}
142
144
147 inline const Aws::Utils::DateTime& GetCreateTimestamp() const { return m_createTimestamp; }
148 inline bool CreateTimestampHasBeenSet() const { return m_createTimestampHasBeenSet; }
149 template<typename CreateTimestampT = Aws::Utils::DateTime>
150 void SetCreateTimestamp(CreateTimestampT&& value) { m_createTimestampHasBeenSet = true; m_createTimestamp = std::forward<CreateTimestampT>(value); }
151 template<typename CreateTimestampT = Aws::Utils::DateTime>
152 DeliveryStreamDescription& WithCreateTimestamp(CreateTimestampT&& value) { SetCreateTimestamp(std::forward<CreateTimestampT>(value)); return *this;}
154
156
159 inline const Aws::Utils::DateTime& GetLastUpdateTimestamp() const { return m_lastUpdateTimestamp; }
160 inline bool LastUpdateTimestampHasBeenSet() const { return m_lastUpdateTimestampHasBeenSet; }
161 template<typename LastUpdateTimestampT = Aws::Utils::DateTime>
162 void SetLastUpdateTimestamp(LastUpdateTimestampT&& value) { m_lastUpdateTimestampHasBeenSet = true; m_lastUpdateTimestamp = std::forward<LastUpdateTimestampT>(value); }
163 template<typename LastUpdateTimestampT = Aws::Utils::DateTime>
164 DeliveryStreamDescription& WithLastUpdateTimestamp(LastUpdateTimestampT&& value) { SetLastUpdateTimestamp(std::forward<LastUpdateTimestampT>(value)); return *this;}
166
168
173 inline const SourceDescription& GetSource() const { return m_source; }
174 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
175 template<typename SourceT = SourceDescription>
176 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
177 template<typename SourceT = SourceDescription>
178 DeliveryStreamDescription& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
180
182
185 inline const Aws::Vector<DestinationDescription>& GetDestinations() const { return m_destinations; }
186 inline bool DestinationsHasBeenSet() const { return m_destinationsHasBeenSet; }
187 template<typename DestinationsT = Aws::Vector<DestinationDescription>>
188 void SetDestinations(DestinationsT&& value) { m_destinationsHasBeenSet = true; m_destinations = std::forward<DestinationsT>(value); }
189 template<typename DestinationsT = Aws::Vector<DestinationDescription>>
190 DeliveryStreamDescription& WithDestinations(DestinationsT&& value) { SetDestinations(std::forward<DestinationsT>(value)); return *this;}
191 template<typename DestinationsT = DestinationDescription>
192 DeliveryStreamDescription& AddDestinations(DestinationsT&& value) { m_destinationsHasBeenSet = true; m_destinations.emplace_back(std::forward<DestinationsT>(value)); return *this; }
194
196
199 inline bool GetHasMoreDestinations() const { return m_hasMoreDestinations; }
200 inline bool HasMoreDestinationsHasBeenSet() const { return m_hasMoreDestinationsHasBeenSet; }
201 inline void SetHasMoreDestinations(bool value) { m_hasMoreDestinationsHasBeenSet = true; m_hasMoreDestinations = value; }
204 private:
205
206 Aws::String m_deliveryStreamName;
207 bool m_deliveryStreamNameHasBeenSet = false;
208
209 Aws::String m_deliveryStreamARN;
210 bool m_deliveryStreamARNHasBeenSet = false;
211
213 bool m_deliveryStreamStatusHasBeenSet = false;
214
215 FailureDescription m_failureDescription;
216 bool m_failureDescriptionHasBeenSet = false;
217
218 DeliveryStreamEncryptionConfiguration m_deliveryStreamEncryptionConfiguration;
219 bool m_deliveryStreamEncryptionConfigurationHasBeenSet = false;
220
222 bool m_deliveryStreamTypeHasBeenSet = false;
223
224 Aws::String m_versionId;
225 bool m_versionIdHasBeenSet = false;
226
227 Aws::Utils::DateTime m_createTimestamp{};
228 bool m_createTimestampHasBeenSet = false;
229
230 Aws::Utils::DateTime m_lastUpdateTimestamp{};
231 bool m_lastUpdateTimestampHasBeenSet = false;
232
233 SourceDescription m_source;
234 bool m_sourceHasBeenSet = false;
235
237 bool m_destinationsHasBeenSet = false;
238
239 bool m_hasMoreDestinations{false};
240 bool m_hasMoreDestinationsHasBeenSet = false;
241 };
242
243} // namespace Model
244} // namespace Firehose
245} // 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
const FailureDescription & GetFailureDescription() 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