AWS SDK for C++  1.8.95
AWS SDK for C++
DeliveryStreamDescription.h
Go to the documentation of this file.
1 
6 #pragma once
17 #include <utility>
18 
19 namespace Aws
20 {
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26  class JsonView;
27 } // namespace Json
28 } // namespace Utils
29 namespace Firehose
30 {
31 namespace Model
32 {
33 
40  {
41  public:
45  Aws::Utils::Json::JsonValue Jsonize() const;
46 
47 
51  inline const Aws::String& GetDeliveryStreamName() const{ return m_deliveryStreamName; }
52 
56  inline bool DeliveryStreamNameHasBeenSet() const { return m_deliveryStreamNameHasBeenSet; }
57 
61  inline void SetDeliveryStreamName(const Aws::String& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = value; }
62 
66  inline void SetDeliveryStreamName(Aws::String&& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = std::move(value); }
67 
71  inline void SetDeliveryStreamName(const char* value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName.assign(value); }
72 
76  inline DeliveryStreamDescription& WithDeliveryStreamName(const Aws::String& value) { SetDeliveryStreamName(value); return *this;}
77 
81  inline DeliveryStreamDescription& WithDeliveryStreamName(Aws::String&& value) { SetDeliveryStreamName(std::move(value)); return *this;}
82 
86  inline DeliveryStreamDescription& WithDeliveryStreamName(const char* value) { SetDeliveryStreamName(value); return *this;}
87 
88 
95  inline const Aws::String& GetDeliveryStreamARN() const{ return m_deliveryStreamARN; }
96 
103  inline bool DeliveryStreamARNHasBeenSet() const { return m_deliveryStreamARNHasBeenSet; }
104 
111  inline void SetDeliveryStreamARN(const Aws::String& value) { m_deliveryStreamARNHasBeenSet = true; m_deliveryStreamARN = value; }
112 
119  inline void SetDeliveryStreamARN(Aws::String&& value) { m_deliveryStreamARNHasBeenSet = true; m_deliveryStreamARN = std::move(value); }
120 
127  inline void SetDeliveryStreamARN(const char* value) { m_deliveryStreamARNHasBeenSet = true; m_deliveryStreamARN.assign(value); }
128 
135  inline DeliveryStreamDescription& WithDeliveryStreamARN(const Aws::String& value) { SetDeliveryStreamARN(value); return *this;}
136 
143  inline DeliveryStreamDescription& WithDeliveryStreamARN(Aws::String&& value) { SetDeliveryStreamARN(std::move(value)); return *this;}
144 
151  inline DeliveryStreamDescription& WithDeliveryStreamARN(const char* value) { SetDeliveryStreamARN(value); return *this;}
152 
153 
160  inline const DeliveryStreamStatus& GetDeliveryStreamStatus() const{ return m_deliveryStreamStatus; }
161 
168  inline bool DeliveryStreamStatusHasBeenSet() const { return m_deliveryStreamStatusHasBeenSet; }
169 
176  inline void SetDeliveryStreamStatus(const DeliveryStreamStatus& value) { m_deliveryStreamStatusHasBeenSet = true; m_deliveryStreamStatus = value; }
177 
184  inline void SetDeliveryStreamStatus(DeliveryStreamStatus&& value) { m_deliveryStreamStatusHasBeenSet = true; m_deliveryStreamStatus = std::move(value); }
185 
192  inline DeliveryStreamDescription& WithDeliveryStreamStatus(const DeliveryStreamStatus& value) { SetDeliveryStreamStatus(value); return *this;}
193 
200  inline DeliveryStreamDescription& WithDeliveryStreamStatus(DeliveryStreamStatus&& value) { SetDeliveryStreamStatus(std::move(value)); return *this;}
201 
202 
208  inline const FailureDescription& GetFailureDescription() const{ return m_failureDescription; }
209 
215  inline bool FailureDescriptionHasBeenSet() const { return m_failureDescriptionHasBeenSet; }
216 
222  inline void SetFailureDescription(const FailureDescription& value) { m_failureDescriptionHasBeenSet = true; m_failureDescription = value; }
223 
229  inline void SetFailureDescription(FailureDescription&& value) { m_failureDescriptionHasBeenSet = true; m_failureDescription = std::move(value); }
230 
236  inline DeliveryStreamDescription& WithFailureDescription(const FailureDescription& value) { SetFailureDescription(value); return *this;}
237 
243  inline DeliveryStreamDescription& WithFailureDescription(FailureDescription&& value) { SetFailureDescription(std::move(value)); return *this;}
244 
245 
250  inline const DeliveryStreamEncryptionConfiguration& GetDeliveryStreamEncryptionConfiguration() const{ return m_deliveryStreamEncryptionConfiguration; }
251 
256  inline bool DeliveryStreamEncryptionConfigurationHasBeenSet() const { return m_deliveryStreamEncryptionConfigurationHasBeenSet; }
257 
262  inline void SetDeliveryStreamEncryptionConfiguration(const DeliveryStreamEncryptionConfiguration& value) { m_deliveryStreamEncryptionConfigurationHasBeenSet = true; m_deliveryStreamEncryptionConfiguration = value; }
263 
268  inline void SetDeliveryStreamEncryptionConfiguration(DeliveryStreamEncryptionConfiguration&& value) { m_deliveryStreamEncryptionConfigurationHasBeenSet = true; m_deliveryStreamEncryptionConfiguration = std::move(value); }
269 
274  inline DeliveryStreamDescription& WithDeliveryStreamEncryptionConfiguration(const DeliveryStreamEncryptionConfiguration& value) { SetDeliveryStreamEncryptionConfiguration(value); return *this;}
275 
280  inline DeliveryStreamDescription& WithDeliveryStreamEncryptionConfiguration(DeliveryStreamEncryptionConfiguration&& value) { SetDeliveryStreamEncryptionConfiguration(std::move(value)); return *this;}
281 
282 
289  inline const DeliveryStreamType& GetDeliveryStreamType() const{ return m_deliveryStreamType; }
290 
297  inline bool DeliveryStreamTypeHasBeenSet() const { return m_deliveryStreamTypeHasBeenSet; }
298 
305  inline void SetDeliveryStreamType(const DeliveryStreamType& value) { m_deliveryStreamTypeHasBeenSet = true; m_deliveryStreamType = value; }
306 
313  inline void SetDeliveryStreamType(DeliveryStreamType&& value) { m_deliveryStreamTypeHasBeenSet = true; m_deliveryStreamType = std::move(value); }
314 
321  inline DeliveryStreamDescription& WithDeliveryStreamType(const DeliveryStreamType& value) { SetDeliveryStreamType(value); return *this;}
322 
329  inline DeliveryStreamDescription& WithDeliveryStreamType(DeliveryStreamType&& value) { SetDeliveryStreamType(std::move(value)); return *this;}
330 
331 
338  inline const Aws::String& GetVersionId() const{ return m_versionId; }
339 
346  inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
347 
354  inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; }
355 
362  inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); }
363 
370  inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); }
371 
378  inline DeliveryStreamDescription& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
379 
386  inline DeliveryStreamDescription& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
387 
394  inline DeliveryStreamDescription& WithVersionId(const char* value) { SetVersionId(value); return *this;}
395 
396 
400  inline const Aws::Utils::DateTime& GetCreateTimestamp() const{ return m_createTimestamp; }
401 
405  inline bool CreateTimestampHasBeenSet() const { return m_createTimestampHasBeenSet; }
406 
410  inline void SetCreateTimestamp(const Aws::Utils::DateTime& value) { m_createTimestampHasBeenSet = true; m_createTimestamp = value; }
411 
415  inline void SetCreateTimestamp(Aws::Utils::DateTime&& value) { m_createTimestampHasBeenSet = true; m_createTimestamp = std::move(value); }
416 
420  inline DeliveryStreamDescription& WithCreateTimestamp(const Aws::Utils::DateTime& value) { SetCreateTimestamp(value); return *this;}
421 
425  inline DeliveryStreamDescription& WithCreateTimestamp(Aws::Utils::DateTime&& value) { SetCreateTimestamp(std::move(value)); return *this;}
426 
427 
431  inline const Aws::Utils::DateTime& GetLastUpdateTimestamp() const{ return m_lastUpdateTimestamp; }
432 
436  inline bool LastUpdateTimestampHasBeenSet() const { return m_lastUpdateTimestampHasBeenSet; }
437 
441  inline void SetLastUpdateTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdateTimestampHasBeenSet = true; m_lastUpdateTimestamp = value; }
442 
446  inline void SetLastUpdateTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdateTimestampHasBeenSet = true; m_lastUpdateTimestamp = std::move(value); }
447 
451  inline DeliveryStreamDescription& WithLastUpdateTimestamp(const Aws::Utils::DateTime& value) { SetLastUpdateTimestamp(value); return *this;}
452 
456  inline DeliveryStreamDescription& WithLastUpdateTimestamp(Aws::Utils::DateTime&& value) { SetLastUpdateTimestamp(std::move(value)); return *this;}
457 
458 
464  inline const SourceDescription& GetSource() const{ return m_source; }
465 
471  inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
472 
478  inline void SetSource(const SourceDescription& value) { m_sourceHasBeenSet = true; m_source = value; }
479 
485  inline void SetSource(SourceDescription&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
486 
492  inline DeliveryStreamDescription& WithSource(const SourceDescription& value) { SetSource(value); return *this;}
493 
499  inline DeliveryStreamDescription& WithSource(SourceDescription&& value) { SetSource(std::move(value)); return *this;}
500 
501 
505  inline const Aws::Vector<DestinationDescription>& GetDestinations() const{ return m_destinations; }
506 
510  inline bool DestinationsHasBeenSet() const { return m_destinationsHasBeenSet; }
511 
515  inline void SetDestinations(const Aws::Vector<DestinationDescription>& value) { m_destinationsHasBeenSet = true; m_destinations = value; }
516 
520  inline void SetDestinations(Aws::Vector<DestinationDescription>&& value) { m_destinationsHasBeenSet = true; m_destinations = std::move(value); }
521 
525  inline DeliveryStreamDescription& WithDestinations(const Aws::Vector<DestinationDescription>& value) { SetDestinations(value); return *this;}
526 
530  inline DeliveryStreamDescription& WithDestinations(Aws::Vector<DestinationDescription>&& value) { SetDestinations(std::move(value)); return *this;}
531 
535  inline DeliveryStreamDescription& AddDestinations(const DestinationDescription& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(value); return *this; }
536 
540  inline DeliveryStreamDescription& AddDestinations(DestinationDescription&& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(std::move(value)); return *this; }
541 
542 
546  inline bool GetHasMoreDestinations() const{ return m_hasMoreDestinations; }
547 
551  inline bool HasMoreDestinationsHasBeenSet() const { return m_hasMoreDestinationsHasBeenSet; }
552 
556  inline void SetHasMoreDestinations(bool value) { m_hasMoreDestinationsHasBeenSet = true; m_hasMoreDestinations = value; }
557 
561  inline DeliveryStreamDescription& WithHasMoreDestinations(bool value) { SetHasMoreDestinations(value); return *this;}
562 
563  private:
564 
565  Aws::String m_deliveryStreamName;
566  bool m_deliveryStreamNameHasBeenSet;
567 
568  Aws::String m_deliveryStreamARN;
569  bool m_deliveryStreamARNHasBeenSet;
570 
571  DeliveryStreamStatus m_deliveryStreamStatus;
572  bool m_deliveryStreamStatusHasBeenSet;
573 
574  FailureDescription m_failureDescription;
575  bool m_failureDescriptionHasBeenSet;
576 
577  DeliveryStreamEncryptionConfiguration m_deliveryStreamEncryptionConfiguration;
578  bool m_deliveryStreamEncryptionConfigurationHasBeenSet;
579 
580  DeliveryStreamType m_deliveryStreamType;
581  bool m_deliveryStreamTypeHasBeenSet;
582 
583  Aws::String m_versionId;
584  bool m_versionIdHasBeenSet;
585 
586  Aws::Utils::DateTime m_createTimestamp;
587  bool m_createTimestampHasBeenSet;
588 
589  Aws::Utils::DateTime m_lastUpdateTimestamp;
590  bool m_lastUpdateTimestampHasBeenSet;
591 
592  SourceDescription m_source;
593  bool m_sourceHasBeenSet;
594 
596  bool m_destinationsHasBeenSet;
597 
598  bool m_hasMoreDestinations;
599  bool m_hasMoreDestinationsHasBeenSet;
600  };
601 
602 } // namespace Model
603 } // namespace Firehose
604 } // namespace Aws
DeliveryStreamDescription & WithHasMoreDestinations(bool value)
DeliveryStreamDescription & WithDeliveryStreamType(DeliveryStreamType &&value)
DeliveryStreamDescription & WithDeliveryStreamStatus(DeliveryStreamStatus &&value)
DeliveryStreamDescription & WithDeliveryStreamName(const char *value)
DeliveryStreamDescription & WithDeliveryStreamARN(const char *value)
void SetDeliveryStreamStatus(const DeliveryStreamStatus &value)
void SetDeliveryStreamEncryptionConfiguration(const DeliveryStreamEncryptionConfiguration &value)
#define AWS_FIREHOSE_API
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
DeliveryStreamDescription & WithDestinations(Aws::Vector< DestinationDescription > &&value)
void SetDeliveryStreamType(const DeliveryStreamType &value)
DeliveryStreamDescription & WithVersionId(const char *value)
const Aws::Utils::DateTime & GetLastUpdateTimestamp() const
DeliveryStreamDescription & WithSource(SourceDescription &&value)
DeliveryStreamDescription & WithDeliveryStreamName(const Aws::String &value)
void SetLastUpdateTimestamp(Aws::Utils::DateTime &&value)
DeliveryStreamDescription & WithDeliveryStreamName(Aws::String &&value)
const DeliveryStreamStatus & GetDeliveryStreamStatus() const
DeliveryStreamDescription & WithFailureDescription(FailureDescription &&value)
DeliveryStreamDescription & WithDeliveryStreamARN(Aws::String &&value)
DeliveryStreamDescription & WithDeliveryStreamEncryptionConfiguration(DeliveryStreamEncryptionConfiguration &&value)
void SetDestinations(Aws::Vector< DestinationDescription > &&value)
DeliveryStreamDescription & WithDeliveryStreamARN(const Aws::String &value)
const DeliveryStreamType & GetDeliveryStreamType() const
DeliveryStreamDescription & WithDeliveryStreamType(const DeliveryStreamType &value)
void SetLastUpdateTimestamp(const Aws::Utils::DateTime &value)
DeliveryStreamDescription & AddDestinations(const DestinationDescription &value)
DeliveryStreamDescription & WithCreateTimestamp(Aws::Utils::DateTime &&value)
DeliveryStreamDescription & WithVersionId(const Aws::String &value)
void SetDeliveryStreamEncryptionConfiguration(DeliveryStreamEncryptionConfiguration &&value)
const DeliveryStreamEncryptionConfiguration & GetDeliveryStreamEncryptionConfiguration() const
DeliveryStreamDescription & WithLastUpdateTimestamp(Aws::Utils::DateTime &&value)
void SetDestinations(const Aws::Vector< DestinationDescription > &value)
DeliveryStreamDescription & WithLastUpdateTimestamp(const Aws::Utils::DateTime &value)
DeliveryStreamDescription & WithSource(const SourceDescription &value)
DeliveryStreamDescription & WithDestinations(const Aws::Vector< DestinationDescription > &value)
void SetFailureDescription(const FailureDescription &value)
DeliveryStreamDescription & WithCreateTimestamp(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
const Aws::Vector< DestinationDescription > & GetDestinations() const
void SetDeliveryStreamStatus(DeliveryStreamStatus &&value)
DeliveryStreamDescription & WithDeliveryStreamEncryptionConfiguration(const DeliveryStreamEncryptionConfiguration &value)
DeliveryStreamDescription & WithDeliveryStreamStatus(const DeliveryStreamStatus &value)
DeliveryStreamDescription & WithFailureDescription(const FailureDescription &value)
void SetCreateTimestamp(const Aws::Utils::DateTime &value)
DeliveryStreamDescription & WithVersionId(Aws::String &&value)
const FailureDescription & GetFailureDescription() const
const Aws::Utils::DateTime & GetCreateTimestamp() const
DeliveryStreamDescription & AddDestinations(DestinationDescription &&value)