AWS SDK for C++

AWS SDK for C++ Version 1.11.888

Loading...
Searching...
No Matches
S3TablesDestinationConfiguration.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 S3TablesDestinationConfiguration() = default;
35 AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline int GetDataFreshnessInSeconds() const { return m_dataFreshnessInSeconds; }
43 inline bool DataFreshnessInSecondsHasBeenSet() const { return m_dataFreshnessInSecondsHasBeenSet; }
44 inline void SetDataFreshnessInSeconds(int value) {
45 m_dataFreshnessInSecondsHasBeenSet = true;
46 m_dataFreshnessInSeconds = value;
47 }
50 return *this;
51 }
53
55
59 inline const DeadLetterQueueS3Configuration& GetDeadLetterQueueS3Configuration() const { return m_deadLetterQueueS3Configuration; }
60 inline bool DeadLetterQueueS3ConfigurationHasBeenSet() const { return m_deadLetterQueueS3ConfigurationHasBeenSet; }
61 template <typename DeadLetterQueueS3ConfigurationT = DeadLetterQueueS3Configuration>
62 void SetDeadLetterQueueS3Configuration(DeadLetterQueueS3ConfigurationT&& value) {
63 m_deadLetterQueueS3ConfigurationHasBeenSet = true;
64 m_deadLetterQueueS3Configuration = std::forward<DeadLetterQueueS3ConfigurationT>(value);
65 }
66 template <typename DeadLetterQueueS3ConfigurationT = DeadLetterQueueS3Configuration>
67 S3TablesDestinationConfiguration& WithDeadLetterQueueS3Configuration(DeadLetterQueueS3ConfigurationT&& value) {
68 SetDeadLetterQueueS3Configuration(std::forward<DeadLetterQueueS3ConfigurationT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::Vector<S3TablesConfiguration>& GetS3TablesConfigurationList() const { return m_s3TablesConfigurationList; }
79 inline bool S3TablesConfigurationListHasBeenSet() const { return m_s3TablesConfigurationListHasBeenSet; }
80 template <typename S3TablesConfigurationListT = Aws::Vector<S3TablesConfiguration>>
81 void SetS3TablesConfigurationList(S3TablesConfigurationListT&& value) {
82 m_s3TablesConfigurationListHasBeenSet = true;
83 m_s3TablesConfigurationList = std::forward<S3TablesConfigurationListT>(value);
84 }
85 template <typename S3TablesConfigurationListT = Aws::Vector<S3TablesConfiguration>>
87 SetS3TablesConfigurationList(std::forward<S3TablesConfigurationListT>(value));
88 return *this;
89 }
90 template <typename S3TablesConfigurationListT = S3TablesConfiguration>
92 m_s3TablesConfigurationListHasBeenSet = true;
93 m_s3TablesConfigurationList.emplace_back(std::forward<S3TablesConfigurationListT>(value));
94 return *this;
95 }
97 private:
98 int m_dataFreshnessInSeconds{0};
99
100 DeadLetterQueueS3Configuration m_deadLetterQueueS3Configuration;
101
102 Aws::Vector<S3TablesConfiguration> m_s3TablesConfigurationList;
103 bool m_dataFreshnessInSecondsHasBeenSet = false;
104 bool m_deadLetterQueueS3ConfigurationHasBeenSet = false;
105 bool m_s3TablesConfigurationListHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace Kinesis
110} // namespace Aws
AWS_KINESIS_API S3TablesDestinationConfiguration()=default
S3TablesDestinationConfiguration & WithDataFreshnessInSeconds(int value)
const Aws::Vector< S3TablesConfiguration > & GetS3TablesConfigurationList() const
void SetDeadLetterQueueS3Configuration(DeadLetterQueueS3ConfigurationT &&value)
AWS_KINESIS_API S3TablesDestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
const DeadLetterQueueS3Configuration & GetDeadLetterQueueS3Configuration() const
S3TablesDestinationConfiguration & AddS3TablesConfigurationList(S3TablesConfigurationListT &&value)
void SetS3TablesConfigurationList(S3TablesConfigurationListT &&value)
S3TablesDestinationConfiguration & WithS3TablesConfigurationList(S3TablesConfigurationListT &&value)
S3TablesDestinationConfiguration & WithDeadLetterQueueS3Configuration(DeadLetterQueueS3ConfigurationT &&value)
AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESIS_API S3TablesDestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue