AWS SDK for C++

AWS SDK for C++ Version 1.11.891

Loading...
Searching...
No Matches
S3TablesConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kinesis/Kinesis_EXPORTS.h>
9#include <aws/kinesis/model/PartitionSpec.h>
10#include <aws/kinesis/model/S3TablesCompressionType.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 S3TablesConfiguration() = default;
35 AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetTableBucketARN() const { return m_tableBucketARN; }
42 inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; }
43 template <typename TableBucketARNT = Aws::String>
44 void SetTableBucketARN(TableBucketARNT&& value) {
45 m_tableBucketARNHasBeenSet = true;
46 m_tableBucketARN = std::forward<TableBucketARNT>(value);
47 }
48 template <typename TableBucketARNT = Aws::String>
49 S3TablesConfiguration& WithTableBucketARN(TableBucketARNT&& value) {
50 SetTableBucketARN(std::forward<TableBucketARNT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetNamespace() const { return m_namespace; }
60 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
61 template <typename NamespaceT = Aws::String>
62 void SetNamespace(NamespaceT&& value) {
63 m_namespaceHasBeenSet = true;
64 m_namespace = std::forward<NamespaceT>(value);
65 }
66 template <typename NamespaceT = Aws::String>
67 S3TablesConfiguration& WithNamespace(NamespaceT&& value) {
68 SetNamespace(std::forward<NamespaceT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetTableName() const { return m_tableName; }
79 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
80 template <typename TableNameT = Aws::String>
81 void SetTableName(TableNameT&& value) {
82 m_tableNameHasBeenSet = true;
83 m_tableName = std::forward<TableNameT>(value);
84 }
85 template <typename TableNameT = Aws::String>
86 S3TablesConfiguration& WithTableName(TableNameT&& value) {
87 SetTableName(std::forward<TableNameT>(value));
88 return *this;
89 }
91
93
99 inline S3TablesCompressionType GetCompressionType() const { return m_compressionType; }
100 inline bool CompressionTypeHasBeenSet() const { return m_compressionTypeHasBeenSet; }
102 m_compressionTypeHasBeenSet = true;
103 m_compressionType = value;
104 }
106 SetCompressionType(value);
107 return *this;
108 }
110
112
115 inline const PartitionSpec& GetPartitionSpec() const { return m_partitionSpec; }
116 inline bool PartitionSpecHasBeenSet() const { return m_partitionSpecHasBeenSet; }
117 template <typename PartitionSpecT = PartitionSpec>
118 void SetPartitionSpec(PartitionSpecT&& value) {
119 m_partitionSpecHasBeenSet = true;
120 m_partitionSpec = std::forward<PartitionSpecT>(value);
121 }
122 template <typename PartitionSpecT = PartitionSpec>
123 S3TablesConfiguration& WithPartitionSpec(PartitionSpecT&& value) {
124 SetPartitionSpec(std::forward<PartitionSpecT>(value));
125 return *this;
126 }
128 private:
129 Aws::String m_tableBucketARN;
130
131 Aws::String m_namespace;
132
133 Aws::String m_tableName;
134
136
137 PartitionSpec m_partitionSpec;
138 bool m_tableBucketARNHasBeenSet = false;
139 bool m_namespaceHasBeenSet = false;
140 bool m_tableNameHasBeenSet = false;
141 bool m_compressionTypeHasBeenSet = false;
142 bool m_partitionSpecHasBeenSet = false;
143};
144
145} // namespace Model
146} // namespace Kinesis
147} // namespace Aws
S3TablesConfiguration & WithTableBucketARN(TableBucketARNT &&value)
AWS_KINESIS_API S3TablesConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
S3TablesConfiguration & WithPartitionSpec(PartitionSpecT &&value)
void SetTableBucketARN(TableBucketARNT &&value)
AWS_KINESIS_API S3TablesConfiguration()=default
AWS_KINESIS_API S3TablesConfiguration(Aws::Utils::Json::JsonView jsonValue)
S3TablesCompressionType GetCompressionType() const
S3TablesConfiguration & WithCompressionType(S3TablesCompressionType value)
S3TablesConfiguration & WithTableName(TableNameT &&value)
AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCompressionType(S3TablesCompressionType value)
S3TablesConfiguration & WithNamespace(NamespaceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue