7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9#include <aws/glue/model/KafkaStreamingSourceOptions.h>
10#include <aws/glue/model/StreamingDataPreviewOptions.h>
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
62 m_windowSizeHasBeenSet =
true;
78 m_detectSchemaHasBeenSet =
true;
79 m_detectSchema = value;
93 template <
typename TableT = Aws::String>
95 m_tableHasBeenSet =
true;
96 m_table = std::forward<TableT>(value);
98 template <
typename TableT = Aws::String>
100 SetTable(std::forward<TableT>(value));
111 template <
typename DatabaseT = Aws::String>
113 m_databaseHasBeenSet =
true;
114 m_database = std::forward<DatabaseT>(value);
116 template <
typename DatabaseT = Aws::String>
129 template <
typename StreamingOptionsT = KafkaStreamingSourceOptions>
131 m_streamingOptionsHasBeenSet =
true;
132 m_streamingOptions = std::forward<StreamingOptionsT>(value);
134 template <
typename StreamingOptionsT = KafkaStreamingSourceOptions>
148 template <
typename DataPreviewOptionsT = StreamingDataPreviewOptions>
150 m_dataPreviewOptionsHasBeenSet =
true;
151 m_dataPreviewOptions = std::forward<DataPreviewOptionsT>(value);
153 template <
typename DataPreviewOptionsT = StreamingDataPreviewOptions>
164 bool m_detectSchema{
false};
170 KafkaStreamingSourceOptions m_streamingOptions;
172 StreamingDataPreviewOptions m_dataPreviewOptions;
173 bool m_nameHasBeenSet =
false;
174 bool m_windowSizeHasBeenSet =
false;
175 bool m_detectSchemaHasBeenSet =
false;
176 bool m_tableHasBeenSet =
false;
177 bool m_databaseHasBeenSet =
false;
178 bool m_streamingOptionsHasBeenSet =
false;
179 bool m_dataPreviewOptionsHasBeenSet =
false;
bool DatabaseHasBeenSet() const
bool GetDetectSchema() const
CatalogKafkaSource & WithStreamingOptions(StreamingOptionsT &&value)
bool WindowSizeHasBeenSet() const
void SetTable(TableT &&value)
bool DetectSchemaHasBeenSet() const
const Aws::String & GetDatabase() const
const KafkaStreamingSourceOptions & GetStreamingOptions() const
AWS_GLUE_API CatalogKafkaSource(Aws::Utils::Json::JsonView jsonValue)
bool DataPreviewOptionsHasBeenSet() const
bool NameHasBeenSet() const
void SetDataPreviewOptions(DataPreviewOptionsT &&value)
bool TableHasBeenSet() const
CatalogKafkaSource & WithName(NameT &&value)
void SetName(NameT &&value)
CatalogKafkaSource & WithTable(TableT &&value)
int GetWindowSize() const
void SetStreamingOptions(StreamingOptionsT &&value)
CatalogKafkaSource & WithDatabase(DatabaseT &&value)
void SetWindowSize(int value)
const StreamingDataPreviewOptions & GetDataPreviewOptions() const
const Aws::String & GetTable() const
CatalogKafkaSource & WithDataPreviewOptions(DataPreviewOptionsT &&value)
void SetDatabase(DatabaseT &&value)
CatalogKafkaSource & WithWindowSize(int value)
CatalogKafkaSource & WithDetectSchema(bool value)
AWS_GLUE_API CatalogKafkaSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API CatalogKafkaSource()=default
void SetDetectSchema(bool value)
bool StreamingOptionsHasBeenSet() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue