AWS SDK for C++

AWS SDK for C++ Version 1.11.891

Loading...
Searching...
No Matches
S3TablesDestinationDescription.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/kinesis/Kinesis_EXPORTS.h>
9#include <aws/kinesis/model/DeadLetterQueueS3Configuration.h>
10#include <aws/kinesis/model/S3TablesConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Kinesis {
22namespace Model {
23
31 public:
32 AWS_KINESIS_API S3TablesDestinationDescription() = default;
35 AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline int GetDataFreshnessInSeconds() const { return m_dataFreshnessInSeconds; }
42 inline bool DataFreshnessInSecondsHasBeenSet() const { return m_dataFreshnessInSecondsHasBeenSet; }
43 inline void SetDataFreshnessInSeconds(int value) {
44 m_dataFreshnessInSecondsHasBeenSet = true;
45 m_dataFreshnessInSeconds = value;
46 }
49 return *this;
50 }
52
54
57 inline const DeadLetterQueueS3Configuration& GetDeadLetterQueueS3Configuration() const { return m_deadLetterQueueS3Configuration; }
58 inline bool DeadLetterQueueS3ConfigurationHasBeenSet() const { return m_deadLetterQueueS3ConfigurationHasBeenSet; }
59 template <typename DeadLetterQueueS3ConfigurationT = DeadLetterQueueS3Configuration>
60 void SetDeadLetterQueueS3Configuration(DeadLetterQueueS3ConfigurationT&& value) {
61 m_deadLetterQueueS3ConfigurationHasBeenSet = true;
62 m_deadLetterQueueS3Configuration = std::forward<DeadLetterQueueS3ConfigurationT>(value);
63 }
64 template <typename DeadLetterQueueS3ConfigurationT = DeadLetterQueueS3Configuration>
65 S3TablesDestinationDescription& WithDeadLetterQueueS3Configuration(DeadLetterQueueS3ConfigurationT&& value) {
66 SetDeadLetterQueueS3Configuration(std::forward<DeadLetterQueueS3ConfigurationT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::Vector<S3TablesConfiguration>& GetS3TablesConfigurationList() const { return m_s3TablesConfigurationList; }
76 inline bool S3TablesConfigurationListHasBeenSet() const { return m_s3TablesConfigurationListHasBeenSet; }
77 template <typename S3TablesConfigurationListT = Aws::Vector<S3TablesConfiguration>>
78 void SetS3TablesConfigurationList(S3TablesConfigurationListT&& value) {
79 m_s3TablesConfigurationListHasBeenSet = true;
80 m_s3TablesConfigurationList = std::forward<S3TablesConfigurationListT>(value);
81 }
82 template <typename S3TablesConfigurationListT = Aws::Vector<S3TablesConfiguration>>
84 SetS3TablesConfigurationList(std::forward<S3TablesConfigurationListT>(value));
85 return *this;
86 }
87 template <typename S3TablesConfigurationListT = S3TablesConfiguration>
88 S3TablesDestinationDescription& AddS3TablesConfigurationList(S3TablesConfigurationListT&& value) {
89 m_s3TablesConfigurationListHasBeenSet = true;
90 m_s3TablesConfigurationList.emplace_back(std::forward<S3TablesConfigurationListT>(value));
91 return *this;
92 }
94 private:
95 int m_dataFreshnessInSeconds{0};
96
97 DeadLetterQueueS3Configuration m_deadLetterQueueS3Configuration;
98
99 Aws::Vector<S3TablesConfiguration> m_s3TablesConfigurationList;
100 bool m_dataFreshnessInSecondsHasBeenSet = false;
101 bool m_deadLetterQueueS3ConfigurationHasBeenSet = false;
102 bool m_s3TablesConfigurationListHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace Kinesis
107} // namespace Aws
S3TablesDestinationDescription & AddS3TablesConfigurationList(S3TablesConfigurationListT &&value)
const DeadLetterQueueS3Configuration & GetDeadLetterQueueS3Configuration() const
const Aws::Vector< S3TablesConfiguration > & GetS3TablesConfigurationList() const
AWS_KINESIS_API S3TablesDestinationDescription()=default
void SetDeadLetterQueueS3Configuration(DeadLetterQueueS3ConfigurationT &&value)
AWS_KINESIS_API S3TablesDestinationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
S3TablesDestinationDescription & WithS3TablesConfigurationList(S3TablesConfigurationListT &&value)
void SetS3TablesConfigurationList(S3TablesConfigurationListT &&value)
AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const
S3TablesDestinationDescription & WithDeadLetterQueueS3Configuration(DeadLetterQueueS3ConfigurationT &&value)
AWS_KINESIS_API S3TablesDestinationDescription(Aws::Utils::Json::JsonView jsonValue)
S3TablesDestinationDescription & WithDataFreshnessInSeconds(int value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue