7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/KinesisStreamingSourceOptions.h>
10#include <aws/glue/model/StreamingDataPreviewOptions.h>
50 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
62 inline void SetWindowSize(
int value) { m_windowSizeHasBeenSet =
true; m_windowSize = value; }
72 inline void SetDetectSchema(
bool value) { m_detectSchemaHasBeenSet =
true; m_detectSchema = value; }
102 bool m_nameHasBeenSet =
false;
105 bool m_windowSizeHasBeenSet =
false;
108 bool m_detectSchemaHasBeenSet =
false;
111 bool m_streamingOptionsHasBeenSet =
false;
114 bool m_dataPreviewOptionsHasBeenSet =
false;
const KinesisStreamingSourceOptions & GetStreamingOptions() const
void SetStreamingOptions(KinesisStreamingSourceOptions &&value)
void SetName(Aws::String &&value)
const StreamingDataPreviewOptions & GetDataPreviewOptions() const
AWS_GLUE_API DirectKinesisSource(Aws::Utils::Json::JsonView jsonValue)
bool StreamingOptionsHasBeenSet() const
AWS_GLUE_API DirectKinesisSource()
bool NameHasBeenSet() const
DirectKinesisSource & WithName(const char *value)
void SetDataPreviewOptions(const StreamingDataPreviewOptions &value)
int GetWindowSize() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDataPreviewOptions(StreamingDataPreviewOptions &&value)
const Aws::String & GetName() const
void SetName(const Aws::String &value)
bool WindowSizeHasBeenSet() const
DirectKinesisSource & WithDetectSchema(bool value)
DirectKinesisSource & WithDataPreviewOptions(StreamingDataPreviewOptions &&value)
DirectKinesisSource & WithStreamingOptions(const KinesisStreamingSourceOptions &value)
DirectKinesisSource & WithDataPreviewOptions(const StreamingDataPreviewOptions &value)
void SetWindowSize(int value)
void SetDetectSchema(bool value)
DirectKinesisSource & WithStreamingOptions(KinesisStreamingSourceOptions &&value)
DirectKinesisSource & WithName(const Aws::String &value)
AWS_GLUE_API DirectKinesisSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const char *value)
DirectKinesisSource & WithWindowSize(int value)
bool GetDetectSchema() const
DirectKinesisSource & WithName(Aws::String &&value)
bool DetectSchemaHasBeenSet() const
void SetStreamingOptions(const KinesisStreamingSourceOptions &value)
bool DataPreviewOptionsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue