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>
50 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
74 inline void SetWindowSize(
int value) { m_windowSizeHasBeenSet =
true; m_windowSize = value; }
84 inline void SetDetectSchema(
bool value) { m_detectSchemaHasBeenSet =
true; m_detectSchema = value; }
103 bool m_nameHasBeenSet =
false;
106 bool m_streamingOptionsHasBeenSet =
false;
109 bool m_windowSizeHasBeenSet =
false;
112 bool m_detectSchemaHasBeenSet =
false;
115 bool m_dataPreviewOptionsHasBeenSet =
false;
AWS_GLUE_API DirectKafkaSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStreamingOptions(const KafkaStreamingSourceOptions &value)
DirectKafkaSource & WithDataPreviewOptions(StreamingDataPreviewOptions &&value)
void SetName(const Aws::String &value)
bool WindowSizeHasBeenSet() const
AWS_GLUE_API DirectKafkaSource(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API DirectKafkaSource()
bool StreamingOptionsHasBeenSet() const
DirectKafkaSource & WithDataPreviewOptions(const StreamingDataPreviewOptions &value)
bool NameHasBeenSet() const
DirectKafkaSource & WithWindowSize(int value)
int GetWindowSize() const
void SetDataPreviewOptions(const StreamingDataPreviewOptions &value)
const StreamingDataPreviewOptions & GetDataPreviewOptions() const
DirectKafkaSource & WithStreamingOptions(const KafkaStreamingSourceOptions &value)
DirectKafkaSource & WithStreamingOptions(KafkaStreamingSourceOptions &&value)
const Aws::String & GetName() const
void SetDataPreviewOptions(StreamingDataPreviewOptions &&value)
DirectKafkaSource & WithName(const Aws::String &value)
void SetDetectSchema(bool value)
bool GetDetectSchema() const
DirectKafkaSource & WithDetectSchema(bool value)
void SetWindowSize(int value)
const KafkaStreamingSourceOptions & GetStreamingOptions() const
void SetName(const char *value)
bool DetectSchemaHasBeenSet() const
bool DataPreviewOptionsHasBeenSet() const
DirectKafkaSource & WithName(const char *value)
void SetName(Aws::String &&value)
DirectKafkaSource & WithName(Aws::String &&value)
void SetStreamingOptions(KafkaStreamingSourceOptions &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue