AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
InputUpdate.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
9#include <aws/kinesisanalyticsv2/model/InputParallelismUpdate.h>
10#include <aws/kinesisanalyticsv2/model/InputProcessingConfigurationUpdate.h>
11#include <aws/kinesisanalyticsv2/model/InputSchemaUpdate.h>
12#include <aws/kinesisanalyticsv2/model/KinesisFirehoseInputUpdate.h>
13#include <aws/kinesisanalyticsv2/model/KinesisStreamsInputUpdate.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace KinesisAnalyticsV2 {
25namespace Model {
26
35 public:
36 AWS_KINESISANALYTICSV2_API InputUpdate() = default;
37 AWS_KINESISANALYTICSV2_API InputUpdate(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KINESISANALYTICSV2_API InputUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const Aws::String& GetInputId() const { return m_inputId; }
46 inline bool InputIdHasBeenSet() const { return m_inputIdHasBeenSet; }
47 template <typename InputIdT = Aws::String>
48 void SetInputId(InputIdT&& value) {
49 m_inputIdHasBeenSet = true;
50 m_inputId = std::forward<InputIdT>(value);
51 }
52 template <typename InputIdT = Aws::String>
53 InputUpdate& WithInputId(InputIdT&& value) {
54 SetInputId(std::forward<InputIdT>(value));
55 return *this;
56 }
58
60
64 inline const Aws::String& GetNamePrefixUpdate() const { return m_namePrefixUpdate; }
65 inline bool NamePrefixUpdateHasBeenSet() const { return m_namePrefixUpdateHasBeenSet; }
66 template <typename NamePrefixUpdateT = Aws::String>
67 void SetNamePrefixUpdate(NamePrefixUpdateT&& value) {
68 m_namePrefixUpdateHasBeenSet = true;
69 m_namePrefixUpdate = std::forward<NamePrefixUpdateT>(value);
70 }
71 template <typename NamePrefixUpdateT = Aws::String>
72 InputUpdate& WithNamePrefixUpdate(NamePrefixUpdateT&& value) {
73 SetNamePrefixUpdate(std::forward<NamePrefixUpdateT>(value));
74 return *this;
75 }
77
79
83 return m_inputProcessingConfigurationUpdate;
84 }
85 inline bool InputProcessingConfigurationUpdateHasBeenSet() const { return m_inputProcessingConfigurationUpdateHasBeenSet; }
86 template <typename InputProcessingConfigurationUpdateT = InputProcessingConfigurationUpdate>
87 void SetInputProcessingConfigurationUpdate(InputProcessingConfigurationUpdateT&& value) {
88 m_inputProcessingConfigurationUpdateHasBeenSet = true;
89 m_inputProcessingConfigurationUpdate = std::forward<InputProcessingConfigurationUpdateT>(value);
90 }
91 template <typename InputProcessingConfigurationUpdateT = InputProcessingConfigurationUpdate>
92 InputUpdate& WithInputProcessingConfigurationUpdate(InputProcessingConfigurationUpdateT&& value) {
93 SetInputProcessingConfigurationUpdate(std::forward<InputProcessingConfigurationUpdateT>(value));
94 return *this;
95 }
97
99
103 inline const KinesisStreamsInputUpdate& GetKinesisStreamsInputUpdate() const { return m_kinesisStreamsInputUpdate; }
104 inline bool KinesisStreamsInputUpdateHasBeenSet() const { return m_kinesisStreamsInputUpdateHasBeenSet; }
105 template <typename KinesisStreamsInputUpdateT = KinesisStreamsInputUpdate>
106 void SetKinesisStreamsInputUpdate(KinesisStreamsInputUpdateT&& value) {
107 m_kinesisStreamsInputUpdateHasBeenSet = true;
108 m_kinesisStreamsInputUpdate = std::forward<KinesisStreamsInputUpdateT>(value);
109 }
110 template <typename KinesisStreamsInputUpdateT = KinesisStreamsInputUpdate>
111 InputUpdate& WithKinesisStreamsInputUpdate(KinesisStreamsInputUpdateT&& value) {
112 SetKinesisStreamsInputUpdate(std::forward<KinesisStreamsInputUpdateT>(value));
113 return *this;
114 }
116
118
122 inline const KinesisFirehoseInputUpdate& GetKinesisFirehoseInputUpdate() const { return m_kinesisFirehoseInputUpdate; }
123 inline bool KinesisFirehoseInputUpdateHasBeenSet() const { return m_kinesisFirehoseInputUpdateHasBeenSet; }
124 template <typename KinesisFirehoseInputUpdateT = KinesisFirehoseInputUpdate>
125 void SetKinesisFirehoseInputUpdate(KinesisFirehoseInputUpdateT&& value) {
126 m_kinesisFirehoseInputUpdateHasBeenSet = true;
127 m_kinesisFirehoseInputUpdate = std::forward<KinesisFirehoseInputUpdateT>(value);
128 }
129 template <typename KinesisFirehoseInputUpdateT = KinesisFirehoseInputUpdate>
130 InputUpdate& WithKinesisFirehoseInputUpdate(KinesisFirehoseInputUpdateT&& value) {
131 SetKinesisFirehoseInputUpdate(std::forward<KinesisFirehoseInputUpdateT>(value));
132 return *this;
133 }
135
137
142 inline const InputSchemaUpdate& GetInputSchemaUpdate() const { return m_inputSchemaUpdate; }
143 inline bool InputSchemaUpdateHasBeenSet() const { return m_inputSchemaUpdateHasBeenSet; }
144 template <typename InputSchemaUpdateT = InputSchemaUpdate>
145 void SetInputSchemaUpdate(InputSchemaUpdateT&& value) {
146 m_inputSchemaUpdateHasBeenSet = true;
147 m_inputSchemaUpdate = std::forward<InputSchemaUpdateT>(value);
148 }
149 template <typename InputSchemaUpdateT = InputSchemaUpdate>
150 InputUpdate& WithInputSchemaUpdate(InputSchemaUpdateT&& value) {
151 SetInputSchemaUpdate(std::forward<InputSchemaUpdateT>(value));
152 return *this;
153 }
155
157
161 inline const InputParallelismUpdate& GetInputParallelismUpdate() const { return m_inputParallelismUpdate; }
162 inline bool InputParallelismUpdateHasBeenSet() const { return m_inputParallelismUpdateHasBeenSet; }
163 template <typename InputParallelismUpdateT = InputParallelismUpdate>
164 void SetInputParallelismUpdate(InputParallelismUpdateT&& value) {
165 m_inputParallelismUpdateHasBeenSet = true;
166 m_inputParallelismUpdate = std::forward<InputParallelismUpdateT>(value);
167 }
168 template <typename InputParallelismUpdateT = InputParallelismUpdate>
169 InputUpdate& WithInputParallelismUpdate(InputParallelismUpdateT&& value) {
170 SetInputParallelismUpdate(std::forward<InputParallelismUpdateT>(value));
171 return *this;
172 }
174 private:
175 Aws::String m_inputId;
176
177 Aws::String m_namePrefixUpdate;
178
179 InputProcessingConfigurationUpdate m_inputProcessingConfigurationUpdate;
180
181 KinesisStreamsInputUpdate m_kinesisStreamsInputUpdate;
182
183 KinesisFirehoseInputUpdate m_kinesisFirehoseInputUpdate;
184
185 InputSchemaUpdate m_inputSchemaUpdate;
186
187 InputParallelismUpdate m_inputParallelismUpdate;
188 bool m_inputIdHasBeenSet = false;
189 bool m_namePrefixUpdateHasBeenSet = false;
190 bool m_inputProcessingConfigurationUpdateHasBeenSet = false;
191 bool m_kinesisStreamsInputUpdateHasBeenSet = false;
192 bool m_kinesisFirehoseInputUpdateHasBeenSet = false;
193 bool m_inputSchemaUpdateHasBeenSet = false;
194 bool m_inputParallelismUpdateHasBeenSet = false;
195};
196
197} // namespace Model
198} // namespace KinesisAnalyticsV2
199} // namespace Aws
InputUpdate & WithInputSchemaUpdate(InputSchemaUpdateT &&value)
AWS_KINESISANALYTICSV2_API InputUpdate(Aws::Utils::Json::JsonView jsonValue)
void SetNamePrefixUpdate(NamePrefixUpdateT &&value)
Definition InputUpdate.h:67
const KinesisFirehoseInputUpdate & GetKinesisFirehoseInputUpdate() const
void SetInputSchemaUpdate(InputSchemaUpdateT &&value)
InputUpdate & WithKinesisFirehoseInputUpdate(KinesisFirehoseInputUpdateT &&value)
void SetInputProcessingConfigurationUpdate(InputProcessingConfigurationUpdateT &&value)
Definition InputUpdate.h:87
InputUpdate & WithInputId(InputIdT &&value)
Definition InputUpdate.h:53
InputUpdate & WithInputParallelismUpdate(InputParallelismUpdateT &&value)
InputUpdate & WithNamePrefixUpdate(NamePrefixUpdateT &&value)
Definition InputUpdate.h:72
const InputProcessingConfigurationUpdate & GetInputProcessingConfigurationUpdate() const
Definition InputUpdate.h:82
AWS_KINESISANALYTICSV2_API InputUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetNamePrefixUpdate() const
Definition InputUpdate.h:64
void SetKinesisStreamsInputUpdate(KinesisStreamsInputUpdateT &&value)
const InputSchemaUpdate & GetInputSchemaUpdate() const
void SetInputParallelismUpdate(InputParallelismUpdateT &&value)
InputUpdate & WithKinesisStreamsInputUpdate(KinesisStreamsInputUpdateT &&value)
const Aws::String & GetInputId() const
Definition InputUpdate.h:45
void SetKinesisFirehoseInputUpdate(KinesisFirehoseInputUpdateT &&value)
const InputParallelismUpdate & GetInputParallelismUpdate() const
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
const KinesisStreamsInputUpdate & GetKinesisStreamsInputUpdate() const
AWS_KINESISANALYTICSV2_API InputUpdate()=default
InputUpdate & WithInputProcessingConfigurationUpdate(InputProcessingConfigurationUpdateT &&value)
Definition InputUpdate.h:92
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue