7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9#include <aws/glue/model/KinesisStreamingSourceOptions.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 = KinesisStreamingSourceOptions>
131 m_streamingOptionsHasBeenSet =
true;
132 m_streamingOptions = std::forward<StreamingOptionsT>(value);
134 template <
typename StreamingOptionsT = KinesisStreamingSourceOptions>
147 template <
typename DataPreviewOptionsT = StreamingDataPreviewOptions>
149 m_dataPreviewOptionsHasBeenSet =
true;
150 m_dataPreviewOptions = std::forward<DataPreviewOptionsT>(value);
152 template <
typename DataPreviewOptionsT = StreamingDataPreviewOptions>
160 bool m_nameHasBeenSet =
false;
163 bool m_windowSizeHasBeenSet =
false;
165 bool m_detectSchema{
false};
166 bool m_detectSchemaHasBeenSet =
false;
169 bool m_tableHasBeenSet =
false;
172 bool m_databaseHasBeenSet =
false;
174 KinesisStreamingSourceOptions m_streamingOptions;
175 bool m_streamingOptionsHasBeenSet =
false;
177 StreamingDataPreviewOptions m_dataPreviewOptions;
178 bool m_dataPreviewOptionsHasBeenSet =
false;
CatalogKinesisSource & WithDataPreviewOptions(DataPreviewOptionsT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
bool GetDetectSchema() const
bool StreamingOptionsHasBeenSet() const
void SetDatabase(DatabaseT &&value)
void SetDataPreviewOptions(DataPreviewOptionsT &&value)
void SetStreamingOptions(StreamingOptionsT &&value)
void SetName(NameT &&value)
CatalogKinesisSource & WithTable(TableT &&value)
bool NameHasBeenSet() const
const StreamingDataPreviewOptions & GetDataPreviewOptions() const
bool DatabaseHasBeenSet() const
CatalogKinesisSource & WithName(NameT &&value)
const Aws::String & GetDatabase() const
CatalogKinesisSource & WithDetectSchema(bool value)
CatalogKinesisSource & WithWindowSize(int value)
CatalogKinesisSource & WithStreamingOptions(StreamingOptionsT &&value)
AWS_GLUE_API CatalogKinesisSource(Aws::Utils::Json::JsonView jsonValue)
void SetWindowSize(int value)
const KinesisStreamingSourceOptions & GetStreamingOptions() const
bool DataPreviewOptionsHasBeenSet() const
bool TableHasBeenSet() const
CatalogKinesisSource & WithDatabase(DatabaseT &&value)
const Aws::String & GetName() const
int GetWindowSize() const
AWS_GLUE_API CatalogKinesisSource()=default
AWS_GLUE_API CatalogKinesisSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDetectSchema(bool value)
bool WindowSizeHasBeenSet() const
const Aws::String & GetTable() const
void SetTable(TableT &&value)
bool DetectSchemaHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue