AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CatalogKinesisSource.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Glue
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GLUE_API CatalogKinesisSource();
41
42
44
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline CatalogKinesisSource& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline CatalogKinesisSource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline CatalogKinesisSource& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline int GetWindowSize() const{ return m_windowSize; }
62 inline bool WindowSizeHasBeenSet() const { return m_windowSizeHasBeenSet; }
63 inline void SetWindowSize(int value) { m_windowSizeHasBeenSet = true; m_windowSize = value; }
64 inline CatalogKinesisSource& WithWindowSize(int value) { SetWindowSize(value); return *this;}
66
68
71 inline bool GetDetectSchema() const{ return m_detectSchema; }
72 inline bool DetectSchemaHasBeenSet() const { return m_detectSchemaHasBeenSet; }
73 inline void SetDetectSchema(bool value) { m_detectSchemaHasBeenSet = true; m_detectSchema = value; }
74 inline CatalogKinesisSource& WithDetectSchema(bool value) { SetDetectSchema(value); return *this;}
76
78
81 inline const Aws::String& GetTable() const{ return m_table; }
82 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
83 inline void SetTable(const Aws::String& value) { m_tableHasBeenSet = true; m_table = value; }
84 inline void SetTable(Aws::String&& value) { m_tableHasBeenSet = true; m_table = std::move(value); }
85 inline void SetTable(const char* value) { m_tableHasBeenSet = true; m_table.assign(value); }
86 inline CatalogKinesisSource& WithTable(const Aws::String& value) { SetTable(value); return *this;}
87 inline CatalogKinesisSource& WithTable(Aws::String&& value) { SetTable(std::move(value)); return *this;}
88 inline CatalogKinesisSource& WithTable(const char* value) { SetTable(value); return *this;}
90
92
95 inline const Aws::String& GetDatabase() const{ return m_database; }
96 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
97 inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; }
98 inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
99 inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); }
100 inline CatalogKinesisSource& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
101 inline CatalogKinesisSource& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
102 inline CatalogKinesisSource& WithDatabase(const char* value) { SetDatabase(value); return *this;}
104
106
109 inline const KinesisStreamingSourceOptions& GetStreamingOptions() const{ return m_streamingOptions; }
110 inline bool StreamingOptionsHasBeenSet() const { return m_streamingOptionsHasBeenSet; }
111 inline void SetStreamingOptions(const KinesisStreamingSourceOptions& value) { m_streamingOptionsHasBeenSet = true; m_streamingOptions = value; }
112 inline void SetStreamingOptions(KinesisStreamingSourceOptions&& value) { m_streamingOptionsHasBeenSet = true; m_streamingOptions = std::move(value); }
116
118
121 inline const StreamingDataPreviewOptions& GetDataPreviewOptions() const{ return m_dataPreviewOptions; }
122 inline bool DataPreviewOptionsHasBeenSet() const { return m_dataPreviewOptionsHasBeenSet; }
123 inline void SetDataPreviewOptions(const StreamingDataPreviewOptions& value) { m_dataPreviewOptionsHasBeenSet = true; m_dataPreviewOptions = value; }
124 inline void SetDataPreviewOptions(StreamingDataPreviewOptions&& value) { m_dataPreviewOptionsHasBeenSet = true; m_dataPreviewOptions = std::move(value); }
128 private:
129
130 Aws::String m_name;
131 bool m_nameHasBeenSet = false;
132
133 int m_windowSize;
134 bool m_windowSizeHasBeenSet = false;
135
136 bool m_detectSchema;
137 bool m_detectSchemaHasBeenSet = false;
138
139 Aws::String m_table;
140 bool m_tableHasBeenSet = false;
141
142 Aws::String m_database;
143 bool m_databaseHasBeenSet = false;
144
145 KinesisStreamingSourceOptions m_streamingOptions;
146 bool m_streamingOptionsHasBeenSet = false;
147
148 StreamingDataPreviewOptions m_dataPreviewOptions;
149 bool m_dataPreviewOptionsHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace Glue
154} // namespace Aws
CatalogKinesisSource & WithName(Aws::String &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
CatalogKinesisSource & WithDatabase(const char *value)
CatalogKinesisSource & WithDataPreviewOptions(const StreamingDataPreviewOptions &value)
void SetName(const Aws::String &value)
void SetDataPreviewOptions(StreamingDataPreviewOptions &&value)
void SetTable(const Aws::String &value)
CatalogKinesisSource & WithTable(const char *value)
const StreamingDataPreviewOptions & GetDataPreviewOptions() const
CatalogKinesisSource & WithTable(const Aws::String &value)
void SetStreamingOptions(const KinesisStreamingSourceOptions &value)
CatalogKinesisSource & WithDetectSchema(bool value)
CatalogKinesisSource & WithWindowSize(int value)
void SetDataPreviewOptions(const StreamingDataPreviewOptions &value)
CatalogKinesisSource & WithStreamingOptions(KinesisStreamingSourceOptions &&value)
CatalogKinesisSource & WithName(const char *value)
AWS_GLUE_API CatalogKinesisSource(Aws::Utils::Json::JsonView jsonValue)
CatalogKinesisSource & WithStreamingOptions(const KinesisStreamingSourceOptions &value)
const KinesisStreamingSourceOptions & GetStreamingOptions() const
CatalogKinesisSource & WithDataPreviewOptions(StreamingDataPreviewOptions &&value)
CatalogKinesisSource & WithDatabase(const Aws::String &value)
CatalogKinesisSource & WithDatabase(Aws::String &&value)
CatalogKinesisSource & WithName(const Aws::String &value)
AWS_GLUE_API CatalogKinesisSource & operator=(Aws::Utils::Json::JsonView jsonValue)
CatalogKinesisSource & WithTable(Aws::String &&value)
void SetDatabase(const Aws::String &value)
void SetStreamingOptions(KinesisStreamingSourceOptions &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue