AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DirectKinesisSource.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
34 {
35 public:
36 AWS_GLUE_API DirectKinesisSource();
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline DirectKinesisSource& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline DirectKinesisSource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline DirectKinesisSource& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline int GetWindowSize() const{ return m_windowSize; }
61 inline bool WindowSizeHasBeenSet() const { return m_windowSizeHasBeenSet; }
62 inline void SetWindowSize(int value) { m_windowSizeHasBeenSet = true; m_windowSize = value; }
63 inline DirectKinesisSource& WithWindowSize(int value) { SetWindowSize(value); return *this;}
65
67
70 inline bool GetDetectSchema() const{ return m_detectSchema; }
71 inline bool DetectSchemaHasBeenSet() const { return m_detectSchemaHasBeenSet; }
72 inline void SetDetectSchema(bool value) { m_detectSchemaHasBeenSet = true; m_detectSchema = value; }
73 inline DirectKinesisSource& WithDetectSchema(bool value) { SetDetectSchema(value); return *this;}
75
77
80 inline const KinesisStreamingSourceOptions& GetStreamingOptions() const{ return m_streamingOptions; }
81 inline bool StreamingOptionsHasBeenSet() const { return m_streamingOptionsHasBeenSet; }
82 inline void SetStreamingOptions(const KinesisStreamingSourceOptions& value) { m_streamingOptionsHasBeenSet = true; m_streamingOptions = value; }
83 inline void SetStreamingOptions(KinesisStreamingSourceOptions&& value) { m_streamingOptionsHasBeenSet = true; m_streamingOptions = std::move(value); }
87
89
92 inline const StreamingDataPreviewOptions& GetDataPreviewOptions() const{ return m_dataPreviewOptions; }
93 inline bool DataPreviewOptionsHasBeenSet() const { return m_dataPreviewOptionsHasBeenSet; }
94 inline void SetDataPreviewOptions(const StreamingDataPreviewOptions& value) { m_dataPreviewOptionsHasBeenSet = true; m_dataPreviewOptions = value; }
95 inline void SetDataPreviewOptions(StreamingDataPreviewOptions&& value) { m_dataPreviewOptionsHasBeenSet = true; m_dataPreviewOptions = std::move(value); }
99 private:
100
101 Aws::String m_name;
102 bool m_nameHasBeenSet = false;
103
104 int m_windowSize;
105 bool m_windowSizeHasBeenSet = false;
106
107 bool m_detectSchema;
108 bool m_detectSchemaHasBeenSet = false;
109
110 KinesisStreamingSourceOptions m_streamingOptions;
111 bool m_streamingOptionsHasBeenSet = false;
112
113 StreamingDataPreviewOptions m_dataPreviewOptions;
114 bool m_dataPreviewOptionsHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace Glue
119} // namespace Aws
const KinesisStreamingSourceOptions & GetStreamingOptions() const
void SetStreamingOptions(KinesisStreamingSourceOptions &&value)
const StreamingDataPreviewOptions & GetDataPreviewOptions() const
AWS_GLUE_API DirectKinesisSource(Aws::Utils::Json::JsonView jsonValue)
DirectKinesisSource & WithName(const char *value)
void SetDataPreviewOptions(const StreamingDataPreviewOptions &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDataPreviewOptions(StreamingDataPreviewOptions &&value)
void SetName(const Aws::String &value)
DirectKinesisSource & WithDetectSchema(bool value)
DirectKinesisSource & WithDataPreviewOptions(StreamingDataPreviewOptions &&value)
DirectKinesisSource & WithStreamingOptions(const KinesisStreamingSourceOptions &value)
DirectKinesisSource & WithDataPreviewOptions(const StreamingDataPreviewOptions &value)
DirectKinesisSource & WithStreamingOptions(KinesisStreamingSourceOptions &&value)
DirectKinesisSource & WithName(const Aws::String &value)
AWS_GLUE_API DirectKinesisSource & operator=(Aws::Utils::Json::JsonView jsonValue)
DirectKinesisSource & WithWindowSize(int value)
DirectKinesisSource & WithName(Aws::String &&value)
void SetStreamingOptions(const KinesisStreamingSourceOptions &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue