AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDeliveryStreamName(const Aws::String& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = value; }
55 inline void SetDeliveryStreamName(Aws::String&& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = std::move(value); }
56 inline void SetDeliveryStreamName(const char* value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName.assign(value); }
58 inline DeliveryStreamDescription& WithDeliveryStreamName(Aws::String&& value) { SetDeliveryStreamName(std::move(value)); return *this;}
59 inline DeliveryStreamDescription& WithDeliveryStreamName(const char* value) { SetDeliveryStreamName(value); return *this;}
61
63
69 inline const Aws::String& GetDeliveryStreamARN() const{ return m_deliveryStreamARN; }
70 inline bool DeliveryStreamARNHasBeenSet() const { return m_deliveryStreamARNHasBeenSet; }
71 inline void SetDeliveryStreamARN(const Aws::String& value) { m_deliveryStreamARNHasBeenSet = true; m_deliveryStreamARN = value; }
72 inline void SetDeliveryStreamARN(Aws::String&& value) { m_deliveryStreamARNHasBeenSet = true; m_deliveryStreamARN = std::move(value); }
73 inline void SetDeliveryStreamARN(const char* value) { m_deliveryStreamARNHasBeenSet = true; m_deliveryStreamARN.assign(value); }
75 inline DeliveryStreamDescription& WithDeliveryStreamARN(Aws::String&& value) { SetDeliveryStreamARN(std::move(value)); return *this;}
76 inline DeliveryStreamDescription& WithDeliveryStreamARN(const char* value) { SetDeliveryStreamARN(value); return *this;}
78
80
86 inline const DeliveryStreamStatus& GetDeliveryStreamStatus() const{ return m_deliveryStreamStatus; }
87 inline bool DeliveryStreamStatusHasBeenSet() const { return m_deliveryStreamStatusHasBeenSet; }
88 inline void SetDeliveryStreamStatus(const DeliveryStreamStatus& value) { m_deliveryStreamStatusHasBeenSet = true; m_deliveryStreamStatus = value; }
89 inline void SetDeliveryStreamStatus(DeliveryStreamStatus&& value) { m_deliveryStreamStatusHasBeenSet = true; m_deliveryStreamStatus = std::move(value); }
93
95
100 inline const FailureDescription& GetFailureDescription() const{ return m_failureDescription; }
101 inline bool FailureDescriptionHasBeenSet() const { return m_failureDescriptionHasBeenSet; }
102 inline void SetFailureDescription(const FailureDescription& value) { m_failureDescriptionHasBeenSet = true; m_failureDescription = value; }
103 inline void SetFailureDescription(FailureDescription&& value) { m_failureDescriptionHasBeenSet = true; m_failureDescription = std::move(value); }
107
109
113 inline const DeliveryStreamEncryptionConfiguration& GetDeliveryStreamEncryptionConfiguration() const{ return m_deliveryStreamEncryptionConfiguration; }
114 inline bool DeliveryStreamEncryptionConfigurationHasBeenSet() const { return m_deliveryStreamEncryptionConfigurationHasBeenSet; }
115 inline void SetDeliveryStreamEncryptionConfiguration(const DeliveryStreamEncryptionConfiguration& value) { m_deliveryStreamEncryptionConfigurationHasBeenSet = true; m_deliveryStreamEncryptionConfiguration = value; }
116 inline void SetDeliveryStreamEncryptionConfiguration(DeliveryStreamEncryptionConfiguration&& value) { m_deliveryStreamEncryptionConfigurationHasBeenSet = true; m_deliveryStreamEncryptionConfiguration = std::move(value); }
120
122
128 inline const DeliveryStreamType& GetDeliveryStreamType() const{ return m_deliveryStreamType; }
129 inline bool DeliveryStreamTypeHasBeenSet() const { return m_deliveryStreamTypeHasBeenSet; }
130 inline void SetDeliveryStreamType(const DeliveryStreamType& value) { m_deliveryStreamTypeHasBeenSet = true; m_deliveryStreamType = value; }
131 inline void SetDeliveryStreamType(DeliveryStreamType&& value) { m_deliveryStreamTypeHasBeenSet = true; m_deliveryStreamType = std::move(value); }
135
137
143 inline const Aws::String& GetVersionId() const{ return m_versionId; }
144 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
145 inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; }
146 inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); }
147 inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); }
148 inline DeliveryStreamDescription& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
149 inline DeliveryStreamDescription& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
150 inline DeliveryStreamDescription& WithVersionId(const char* value) { SetVersionId(value); return *this;}
152
154
157 inline const Aws::Utils::DateTime& GetCreateTimestamp() const{ return m_createTimestamp; }
158 inline bool CreateTimestampHasBeenSet() const { return m_createTimestampHasBeenSet; }
159 inline void SetCreateTimestamp(const Aws::Utils::DateTime& value) { m_createTimestampHasBeenSet = true; m_createTimestamp = value; }
160 inline void SetCreateTimestamp(Aws::Utils::DateTime&& value) { m_createTimestampHasBeenSet = true; m_createTimestamp = std::move(value); }
164
166
169 inline const Aws::Utils::DateTime& GetLastUpdateTimestamp() const{ return m_lastUpdateTimestamp; }
170 inline bool LastUpdateTimestampHasBeenSet() const { return m_lastUpdateTimestampHasBeenSet; }
171 inline void SetLastUpdateTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdateTimestampHasBeenSet = true; m_lastUpdateTimestamp = value; }
172 inline void SetLastUpdateTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdateTimestampHasBeenSet = true; m_lastUpdateTimestamp = std::move(value); }
176
178
183 inline const SourceDescription& GetSource() const{ return m_source; }
184 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
185 inline void SetSource(const SourceDescription& value) { m_sourceHasBeenSet = true; m_source = value; }
186 inline void SetSource(SourceDescription&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
187 inline DeliveryStreamDescription& WithSource(const SourceDescription& value) { SetSource(value); return *this;}
188 inline DeliveryStreamDescription& WithSource(SourceDescription&& value) { SetSource(std::move(value)); return *this;}
190
192
195 inline const Aws::Vector<DestinationDescription>& GetDestinations() const{ return m_destinations; }
196 inline bool DestinationsHasBeenSet() const { return m_destinationsHasBeenSet; }
197 inline void SetDestinations(const Aws::Vector<DestinationDescription>& value) { m_destinationsHasBeenSet = true; m_destinations = value; }
198 inline void SetDestinations(Aws::Vector<DestinationDescription>&& value) { m_destinationsHasBeenSet = true; m_destinations = std::move(value); }
201 inline DeliveryStreamDescription& AddDestinations(const DestinationDescription& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(value); return *this; }
202 inline DeliveryStreamDescription& AddDestinations(DestinationDescription&& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(std::move(value)); return *this; }
204
206
209 inline bool GetHasMoreDestinations() const{ return m_hasMoreDestinations; }
210 inline bool HasMoreDestinationsHasBeenSet() const { return m_hasMoreDestinationsHasBeenSet; }
211 inline void SetHasMoreDestinations(bool value) { m_hasMoreDestinationsHasBeenSet = true; m_hasMoreDestinations = value; }
214 private:
215
216 Aws::String m_deliveryStreamName;
217 bool m_deliveryStreamNameHasBeenSet = false;
218
219 Aws::String m_deliveryStreamARN;
220 bool m_deliveryStreamARNHasBeenSet = false;
221
222 DeliveryStreamStatus m_deliveryStreamStatus;
223 bool m_deliveryStreamStatusHasBeenSet = false;
224
225 FailureDescription m_failureDescription;
226 bool m_failureDescriptionHasBeenSet = false;
227
228 DeliveryStreamEncryptionConfiguration m_deliveryStreamEncryptionConfiguration;
229 bool m_deliveryStreamEncryptionConfigurationHasBeenSet = false;
230
231 DeliveryStreamType m_deliveryStreamType;
232 bool m_deliveryStreamTypeHasBeenSet = false;
233
234 Aws::String m_versionId;
235 bool m_versionIdHasBeenSet = false;
236
237 Aws::Utils::DateTime m_createTimestamp;
238 bool m_createTimestampHasBeenSet = false;
239
240 Aws::Utils::DateTime m_lastUpdateTimestamp;
241 bool m_lastUpdateTimestampHasBeenSet = false;
242
243 SourceDescription m_source;
244 bool m_sourceHasBeenSet = false;
245
247 bool m_destinationsHasBeenSet = false;
248
249 bool m_hasMoreDestinations;
250 bool m_hasMoreDestinationsHasBeenSet = false;
251 };
252
253} // namespace Model
254} // namespace Firehose
255} // namespace Aws
DeliveryStreamDescription & WithDeliveryStreamType(DeliveryStreamType &&value)
void SetDeliveryStreamStatus(DeliveryStreamStatus &&value)
void SetDeliveryStreamEncryptionConfiguration(const DeliveryStreamEncryptionConfiguration &value)
DeliveryStreamDescription & WithDeliveryStreamStatus(DeliveryStreamStatus &&value)
DeliveryStreamDescription & WithLastUpdateTimestamp(Aws::Utils::DateTime &&value)
DeliveryStreamDescription & WithFailureDescription(const FailureDescription &value)
void SetDeliveryStreamEncryptionConfiguration(DeliveryStreamEncryptionConfiguration &&value)
DeliveryStreamDescription & WithDeliveryStreamName(Aws::String &&value)
DeliveryStreamDescription & WithVersionId(const char *value)
void SetCreateTimestamp(const Aws::Utils::DateTime &value)
DeliveryStreamDescription & WithDeliveryStreamARN(Aws::String &&value)
DeliveryStreamDescription & WithDestinations(const Aws::Vector< DestinationDescription > &value)
DeliveryStreamDescription & WithDeliveryStreamName(const char *value)
DeliveryStreamDescription & WithCreateTimestamp(const Aws::Utils::DateTime &value)
DeliveryStreamDescription & AddDestinations(const DestinationDescription &value)
DeliveryStreamDescription & WithDeliveryStreamARN(const char *value)
DeliveryStreamDescription & WithVersionId(const Aws::String &value)
void SetDeliveryStreamStatus(const DeliveryStreamStatus &value)
DeliveryStreamDescription & WithHasMoreDestinations(bool value)
DeliveryStreamDescription & WithDeliveryStreamEncryptionConfiguration(DeliveryStreamEncryptionConfiguration &&value)
DeliveryStreamDescription & WithDeliveryStreamEncryptionConfiguration(const DeliveryStreamEncryptionConfiguration &value)
void SetLastUpdateTimestamp(const Aws::Utils::DateTime &value)
DeliveryStreamDescription & WithDeliveryStreamStatus(const DeliveryStreamStatus &value)
const Aws::Vector< DestinationDescription > & GetDestinations() const
DeliveryStreamDescription & WithDeliveryStreamName(const Aws::String &value)
void SetDestinations(Aws::Vector< DestinationDescription > &&value)
DeliveryStreamDescription & AddDestinations(DestinationDescription &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastUpdateTimestamp(Aws::Utils::DateTime &&value)
DeliveryStreamDescription & WithVersionId(Aws::String &&value)
DeliveryStreamDescription & WithFailureDescription(FailureDescription &&value)
const Aws::Utils::DateTime & GetCreateTimestamp() const
const DeliveryStreamEncryptionConfiguration & GetDeliveryStreamEncryptionConfiguration() const
void SetFailureDescription(const FailureDescription &value)
void SetDeliveryStreamType(const DeliveryStreamType &value)
DeliveryStreamDescription & WithCreateTimestamp(Aws::Utils::DateTime &&value)
DeliveryStreamDescription & WithDeliveryStreamType(const DeliveryStreamType &value)
AWS_FIREHOSE_API DeliveryStreamDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastUpdateTimestamp() const
DeliveryStreamDescription & WithSource(const SourceDescription &value)
DeliveryStreamDescription & WithSource(SourceDescription &&value)
DeliveryStreamDescription & WithDeliveryStreamARN(const Aws::String &value)
DeliveryStreamDescription & WithDestinations(Aws::Vector< DestinationDescription > &&value)
DeliveryStreamDescription & WithLastUpdateTimestamp(const Aws::Utils::DateTime &value)
const DeliveryStreamStatus & GetDeliveryStreamStatus() const
AWS_FIREHOSE_API DeliveryStreamDescription(Aws::Utils::Json::JsonView jsonValue)
void SetDestinations(const Aws::Vector< DestinationDescription > &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