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>
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
61 m_windowSizeHasBeenSet =
true;
77 m_detectSchemaHasBeenSet =
true;
78 m_detectSchema = value;
92 template <
typename StreamingOptionsT = KinesisStreamingSourceOptions>
94 m_streamingOptionsHasBeenSet =
true;
95 m_streamingOptions = std::forward<StreamingOptionsT>(value);
97 template <
typename StreamingOptionsT = KinesisStreamingSourceOptions>
110 template <
typename DataPreviewOptionsT = StreamingDataPreviewOptions>
112 m_dataPreviewOptionsHasBeenSet =
true;
113 m_dataPreviewOptions = std::forward<DataPreviewOptionsT>(value);
115 template <
typename DataPreviewOptionsT = StreamingDataPreviewOptions>
126 bool m_detectSchema{
false};
128 KinesisStreamingSourceOptions m_streamingOptions;
130 StreamingDataPreviewOptions m_dataPreviewOptions;
131 bool m_nameHasBeenSet =
false;
132 bool m_windowSizeHasBeenSet =
false;
133 bool m_detectSchemaHasBeenSet =
false;
134 bool m_streamingOptionsHasBeenSet =
false;
135 bool m_dataPreviewOptionsHasBeenSet =
false;
const KinesisStreamingSourceOptions & GetStreamingOptions() const
DirectKinesisSource & WithName(NameT &&value)
const StreamingDataPreviewOptions & GetDataPreviewOptions() const
AWS_GLUE_API DirectKinesisSource(Aws::Utils::Json::JsonView jsonValue)
bool StreamingOptionsHasBeenSet() const
AWS_GLUE_API DirectKinesisSource()=default
bool NameHasBeenSet() const
DirectKinesisSource & WithStreamingOptions(StreamingOptionsT &&value)
int GetWindowSize() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
bool WindowSizeHasBeenSet() const
DirectKinesisSource & WithDetectSchema(bool value)
DirectKinesisSource & WithDataPreviewOptions(DataPreviewOptionsT &&value)
void SetWindowSize(int value)
void SetDetectSchema(bool value)
void SetDataPreviewOptions(DataPreviewOptionsT &&value)
void SetStreamingOptions(StreamingOptionsT &&value)
AWS_GLUE_API DirectKinesisSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
DirectKinesisSource & WithWindowSize(int value)
bool GetDetectSchema() const
bool DetectSchemaHasBeenSet() const
bool DataPreviewOptionsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue