AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Input.h
1
6#pragma once
7#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kinesisanalytics/model/InputProcessingConfiguration.h>
10#include <aws/kinesisanalytics/model/KinesisStreamsInput.h>
11#include <aws/kinesisanalytics/model/KinesisFirehoseInput.h>
12#include <aws/kinesisanalytics/model/InputParallelism.h>
13#include <aws/kinesisanalytics/model/SourceSchema.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace KinesisAnalytics
27{
28namespace Model
29{
30
40 class Input
41 {
42 public:
43 AWS_KINESISANALYTICS_API Input();
44 AWS_KINESISANALYTICS_API Input(Aws::Utils::Json::JsonView jsonValue);
45 AWS_KINESISANALYTICS_API Input& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
57 inline const Aws::String& GetNamePrefix() const{ return m_namePrefix; }
58 inline bool NamePrefixHasBeenSet() const { return m_namePrefixHasBeenSet; }
59 inline void SetNamePrefix(const Aws::String& value) { m_namePrefixHasBeenSet = true; m_namePrefix = value; }
60 inline void SetNamePrefix(Aws::String&& value) { m_namePrefixHasBeenSet = true; m_namePrefix = std::move(value); }
61 inline void SetNamePrefix(const char* value) { m_namePrefixHasBeenSet = true; m_namePrefix.assign(value); }
62 inline Input& WithNamePrefix(const Aws::String& value) { SetNamePrefix(value); return *this;}
63 inline Input& WithNamePrefix(Aws::String&& value) { SetNamePrefix(std::move(value)); return *this;}
64 inline Input& WithNamePrefix(const char* value) { SetNamePrefix(value); return *this;}
66
68
76 inline const InputProcessingConfiguration& GetInputProcessingConfiguration() const{ return m_inputProcessingConfiguration; }
77 inline bool InputProcessingConfigurationHasBeenSet() const { return m_inputProcessingConfigurationHasBeenSet; }
78 inline void SetInputProcessingConfiguration(const InputProcessingConfiguration& value) { m_inputProcessingConfigurationHasBeenSet = true; m_inputProcessingConfiguration = value; }
79 inline void SetInputProcessingConfiguration(InputProcessingConfiguration&& value) { m_inputProcessingConfigurationHasBeenSet = true; m_inputProcessingConfiguration = std::move(value); }
83
85
92 inline const KinesisStreamsInput& GetKinesisStreamsInput() const{ return m_kinesisStreamsInput; }
93 inline bool KinesisStreamsInputHasBeenSet() const { return m_kinesisStreamsInputHasBeenSet; }
94 inline void SetKinesisStreamsInput(const KinesisStreamsInput& value) { m_kinesisStreamsInputHasBeenSet = true; m_kinesisStreamsInput = value; }
95 inline void SetKinesisStreamsInput(KinesisStreamsInput&& value) { m_kinesisStreamsInputHasBeenSet = true; m_kinesisStreamsInput = std::move(value); }
96 inline Input& WithKinesisStreamsInput(const KinesisStreamsInput& value) { SetKinesisStreamsInput(value); return *this;}
97 inline Input& WithKinesisStreamsInput(KinesisStreamsInput&& value) { SetKinesisStreamsInput(std::move(value)); return *this;}
99
101
108 inline const KinesisFirehoseInput& GetKinesisFirehoseInput() const{ return m_kinesisFirehoseInput; }
109 inline bool KinesisFirehoseInputHasBeenSet() const { return m_kinesisFirehoseInputHasBeenSet; }
110 inline void SetKinesisFirehoseInput(const KinesisFirehoseInput& value) { m_kinesisFirehoseInputHasBeenSet = true; m_kinesisFirehoseInput = value; }
111 inline void SetKinesisFirehoseInput(KinesisFirehoseInput&& value) { m_kinesisFirehoseInputHasBeenSet = true; m_kinesisFirehoseInput = std::move(value); }
112 inline Input& WithKinesisFirehoseInput(const KinesisFirehoseInput& value) { SetKinesisFirehoseInput(value); return *this;}
113 inline Input& WithKinesisFirehoseInput(KinesisFirehoseInput&& value) { SetKinesisFirehoseInput(std::move(value)); return *this;}
115
117
123 inline const InputParallelism& GetInputParallelism() const{ return m_inputParallelism; }
124 inline bool InputParallelismHasBeenSet() const { return m_inputParallelismHasBeenSet; }
125 inline void SetInputParallelism(const InputParallelism& value) { m_inputParallelismHasBeenSet = true; m_inputParallelism = value; }
126 inline void SetInputParallelism(InputParallelism&& value) { m_inputParallelismHasBeenSet = true; m_inputParallelism = std::move(value); }
127 inline Input& WithInputParallelism(const InputParallelism& value) { SetInputParallelism(value); return *this;}
128 inline Input& WithInputParallelism(InputParallelism&& value) { SetInputParallelism(std::move(value)); return *this;}
130
132
138 inline const SourceSchema& GetInputSchema() const{ return m_inputSchema; }
139 inline bool InputSchemaHasBeenSet() const { return m_inputSchemaHasBeenSet; }
140 inline void SetInputSchema(const SourceSchema& value) { m_inputSchemaHasBeenSet = true; m_inputSchema = value; }
141 inline void SetInputSchema(SourceSchema&& value) { m_inputSchemaHasBeenSet = true; m_inputSchema = std::move(value); }
142 inline Input& WithInputSchema(const SourceSchema& value) { SetInputSchema(value); return *this;}
143 inline Input& WithInputSchema(SourceSchema&& value) { SetInputSchema(std::move(value)); return *this;}
145 private:
146
147 Aws::String m_namePrefix;
148 bool m_namePrefixHasBeenSet = false;
149
150 InputProcessingConfiguration m_inputProcessingConfiguration;
151 bool m_inputProcessingConfigurationHasBeenSet = false;
152
153 KinesisStreamsInput m_kinesisStreamsInput;
154 bool m_kinesisStreamsInputHasBeenSet = false;
155
156 KinesisFirehoseInput m_kinesisFirehoseInput;
157 bool m_kinesisFirehoseInputHasBeenSet = false;
158
159 InputParallelism m_inputParallelism;
160 bool m_inputParallelismHasBeenSet = false;
161
162 SourceSchema m_inputSchema;
163 bool m_inputSchemaHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace KinesisAnalytics
168} // namespace Aws
void SetKinesisStreamsInput(const KinesisStreamsInput &value)
Definition Input.h:94
void SetKinesisStreamsInput(KinesisStreamsInput &&value)
Definition Input.h:95
bool KinesisStreamsInputHasBeenSet() const
Definition Input.h:93
void SetInputSchema(SourceSchema &&value)
Definition Input.h:141
const KinesisStreamsInput & GetKinesisStreamsInput() const
Definition Input.h:92
AWS_KINESISANALYTICS_API Input(Aws::Utils::Json::JsonView jsonValue)
Input & WithInputProcessingConfiguration(InputProcessingConfiguration &&value)
Definition Input.h:81
Input & WithNamePrefix(const Aws::String &value)
Definition Input.h:62
Input & WithKinesisStreamsInput(KinesisStreamsInput &&value)
Definition Input.h:97
AWS_KINESISANALYTICS_API Input()
Input & WithKinesisFirehoseInput(KinesisFirehoseInput &&value)
Definition Input.h:113
void SetKinesisFirehoseInput(const KinesisFirehoseInput &value)
Definition Input.h:110
const Aws::String & GetNamePrefix() const
Definition Input.h:57
Input & WithKinesisFirehoseInput(const KinesisFirehoseInput &value)
Definition Input.h:112
const KinesisFirehoseInput & GetKinesisFirehoseInput() const
Definition Input.h:108
Input & WithNamePrefix(Aws::String &&value)
Definition Input.h:63
void SetInputSchema(const SourceSchema &value)
Definition Input.h:140
AWS_KINESISANALYTICS_API Input & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNamePrefix(const char *value)
Definition Input.h:61
bool KinesisFirehoseInputHasBeenSet() const
Definition Input.h:109
Input & WithInputProcessingConfiguration(const InputProcessingConfiguration &value)
Definition Input.h:80
void SetKinesisFirehoseInput(KinesisFirehoseInput &&value)
Definition Input.h:111
bool InputProcessingConfigurationHasBeenSet() const
Definition Input.h:77
const InputProcessingConfiguration & GetInputProcessingConfiguration() const
Definition Input.h:76
void SetInputProcessingConfiguration(const InputProcessingConfiguration &value)
Definition Input.h:78
Input & WithInputSchema(const SourceSchema &value)
Definition Input.h:142
void SetNamePrefix(const Aws::String &value)
Definition Input.h:59
void SetInputParallelism(InputParallelism &&value)
Definition Input.h:126
void SetNamePrefix(Aws::String &&value)
Definition Input.h:60
const InputParallelism & GetInputParallelism() const
Definition Input.h:123
AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
Input & WithKinesisStreamsInput(const KinesisStreamsInput &value)
Definition Input.h:96
Input & WithNamePrefix(const char *value)
Definition Input.h:64
const SourceSchema & GetInputSchema() const
Definition Input.h:138
bool InputParallelismHasBeenSet() const
Definition Input.h:124
void SetInputParallelism(const InputParallelism &value)
Definition Input.h:125
Input & WithInputParallelism(const InputParallelism &value)
Definition Input.h:127
Input & WithInputSchema(SourceSchema &&value)
Definition Input.h:143
Input & WithInputParallelism(InputParallelism &&value)
Definition Input.h:128
void SetInputProcessingConfiguration(InputProcessingConfiguration &&value)
Definition Input.h:79
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue