7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/KafkaStreamingSourceOptions.h>
10#include <aws/glue/model/StreamingDataPreviewOptions.h>
51 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
63 inline void SetWindowSize(
int value) { m_windowSizeHasBeenSet =
true; m_windowSize = value; }
73 inline void SetDetectSchema(
bool value) { m_detectSchemaHasBeenSet =
true; m_detectSchema = value; }
85 inline void SetTable(
const char* value) { m_tableHasBeenSet =
true; m_table.assign(value); }
99 inline void SetDatabase(
const char* value) { m_databaseHasBeenSet =
true; m_database.assign(value); }
132 bool m_nameHasBeenSet =
false;
135 bool m_windowSizeHasBeenSet =
false;
138 bool m_detectSchemaHasBeenSet =
false;
141 bool m_tableHasBeenSet =
false;
144 bool m_databaseHasBeenSet =
false;
147 bool m_streamingOptionsHasBeenSet =
false;
150 bool m_dataPreviewOptionsHasBeenSet =
false;
bool DatabaseHasBeenSet() const
CatalogKafkaSource & WithTable(const Aws::String &value)
AWS_GLUE_API CatalogKafkaSource()
bool GetDetectSchema() const
bool WindowSizeHasBeenSet() const
CatalogKafkaSource & WithDataPreviewOptions(StreamingDataPreviewOptions &&value)
CatalogKafkaSource & WithDatabase(const char *value)
bool DetectSchemaHasBeenSet() const
void SetTable(const char *value)
void SetDatabase(const Aws::String &value)
void SetTable(const Aws::String &value)
const Aws::String & GetDatabase() const
CatalogKafkaSource & WithDatabase(Aws::String &&value)
const KafkaStreamingSourceOptions & GetStreamingOptions() const
AWS_GLUE_API CatalogKafkaSource(Aws::Utils::Json::JsonView jsonValue)
bool DataPreviewOptionsHasBeenSet() const
void SetDatabase(Aws::String &&value)
void SetStreamingOptions(KafkaStreamingSourceOptions &&value)
bool NameHasBeenSet() const
bool TableHasBeenSet() const
void SetName(const Aws::String &value)
void SetDataPreviewOptions(const StreamingDataPreviewOptions &value)
void SetDatabase(const char *value)
int GetWindowSize() const
CatalogKafkaSource & WithStreamingOptions(KafkaStreamingSourceOptions &&value)
void SetTable(Aws::String &&value)
CatalogKafkaSource & WithName(const char *value)
void SetWindowSize(int value)
CatalogKafkaSource & WithName(Aws::String &&value)
CatalogKafkaSource & WithStreamingOptions(const KafkaStreamingSourceOptions &value)
CatalogKafkaSource & WithDataPreviewOptions(const StreamingDataPreviewOptions &value)
const StreamingDataPreviewOptions & GetDataPreviewOptions() const
const Aws::String & GetTable() const
CatalogKafkaSource & WithWindowSize(int value)
CatalogKafkaSource & WithName(const Aws::String &value)
void SetName(const char *value)
CatalogKafkaSource & WithDetectSchema(bool value)
AWS_GLUE_API CatalogKafkaSource & operator=(Aws::Utils::Json::JsonView jsonValue)
CatalogKafkaSource & WithTable(Aws::String &&value)
void SetName(Aws::String &&value)
CatalogKafkaSource & WithTable(const char *value)
void SetDataPreviewOptions(StreamingDataPreviewOptions &&value)
void SetDetectSchema(bool value)
bool StreamingOptionsHasBeenSet() const
CatalogKafkaSource & WithDatabase(const Aws::String &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStreamingOptions(const KafkaStreamingSourceOptions &value)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue