AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
InputUpdate.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
9#include <aws/kinesisanalytics/model/InputParallelismUpdate.h>
10#include <aws/kinesisanalytics/model/InputProcessingConfigurationUpdate.h>
11#include <aws/kinesisanalytics/model/InputSchemaUpdate.h>
12#include <aws/kinesisanalytics/model/KinesisFirehoseInputUpdate.h>
13#include <aws/kinesisanalytics/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 KinesisAnalytics {
25namespace Model {
26
34 public:
35 AWS_KINESISANALYTICS_API InputUpdate() = default;
36 AWS_KINESISANALYTICS_API InputUpdate(Aws::Utils::Json::JsonView jsonValue);
37 AWS_KINESISANALYTICS_API InputUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetInputId() const { return m_inputId; }
45 inline bool InputIdHasBeenSet() const { return m_inputIdHasBeenSet; }
46 template <typename InputIdT = Aws::String>
47 void SetInputId(InputIdT&& value) {
48 m_inputIdHasBeenSet = true;
49 m_inputId = std::forward<InputIdT>(value);
50 }
51 template <typename InputIdT = Aws::String>
52 InputUpdate& WithInputId(InputIdT&& value) {
53 SetInputId(std::forward<InputIdT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::String& GetNamePrefixUpdate() const { return m_namePrefixUpdate; }
64 inline bool NamePrefixUpdateHasBeenSet() const { return m_namePrefixUpdateHasBeenSet; }
65 template <typename NamePrefixUpdateT = Aws::String>
66 void SetNamePrefixUpdate(NamePrefixUpdateT&& value) {
67 m_namePrefixUpdateHasBeenSet = true;
68 m_namePrefixUpdate = std::forward<NamePrefixUpdateT>(value);
69 }
70 template <typename NamePrefixUpdateT = Aws::String>
71 InputUpdate& WithNamePrefixUpdate(NamePrefixUpdateT&& value) {
72 SetNamePrefixUpdate(std::forward<NamePrefixUpdateT>(value));
73 return *this;
74 }
76
78
82 return m_inputProcessingConfigurationUpdate;
83 }
84 inline bool InputProcessingConfigurationUpdateHasBeenSet() const { return m_inputProcessingConfigurationUpdateHasBeenSet; }
85 template <typename InputProcessingConfigurationUpdateT = InputProcessingConfigurationUpdate>
86 void SetInputProcessingConfigurationUpdate(InputProcessingConfigurationUpdateT&& value) {
87 m_inputProcessingConfigurationUpdateHasBeenSet = true;
88 m_inputProcessingConfigurationUpdate = std::forward<InputProcessingConfigurationUpdateT>(value);
89 }
90 template <typename InputProcessingConfigurationUpdateT = InputProcessingConfigurationUpdate>
91 InputUpdate& WithInputProcessingConfigurationUpdate(InputProcessingConfigurationUpdateT&& value) {
92 SetInputProcessingConfigurationUpdate(std::forward<InputProcessingConfigurationUpdateT>(value));
93 return *this;
94 }
96
98
102 inline const KinesisStreamsInputUpdate& GetKinesisStreamsInputUpdate() const { return m_kinesisStreamsInputUpdate; }
103 inline bool KinesisStreamsInputUpdateHasBeenSet() const { return m_kinesisStreamsInputUpdateHasBeenSet; }
104 template <typename KinesisStreamsInputUpdateT = KinesisStreamsInputUpdate>
105 void SetKinesisStreamsInputUpdate(KinesisStreamsInputUpdateT&& value) {
106 m_kinesisStreamsInputUpdateHasBeenSet = true;
107 m_kinesisStreamsInputUpdate = std::forward<KinesisStreamsInputUpdateT>(value);
108 }
109 template <typename KinesisStreamsInputUpdateT = KinesisStreamsInputUpdate>
110 InputUpdate& WithKinesisStreamsInputUpdate(KinesisStreamsInputUpdateT&& value) {
111 SetKinesisStreamsInputUpdate(std::forward<KinesisStreamsInputUpdateT>(value));
112 return *this;
113 }
115
117
121 inline const KinesisFirehoseInputUpdate& GetKinesisFirehoseInputUpdate() const { return m_kinesisFirehoseInputUpdate; }
122 inline bool KinesisFirehoseInputUpdateHasBeenSet() const { return m_kinesisFirehoseInputUpdateHasBeenSet; }
123 template <typename KinesisFirehoseInputUpdateT = KinesisFirehoseInputUpdate>
124 void SetKinesisFirehoseInputUpdate(KinesisFirehoseInputUpdateT&& value) {
125 m_kinesisFirehoseInputUpdateHasBeenSet = true;
126 m_kinesisFirehoseInputUpdate = std::forward<KinesisFirehoseInputUpdateT>(value);
127 }
128 template <typename KinesisFirehoseInputUpdateT = KinesisFirehoseInputUpdate>
129 InputUpdate& WithKinesisFirehoseInputUpdate(KinesisFirehoseInputUpdateT&& value) {
130 SetKinesisFirehoseInputUpdate(std::forward<KinesisFirehoseInputUpdateT>(value));
131 return *this;
132 }
134
136
141 inline const InputSchemaUpdate& GetInputSchemaUpdate() const { return m_inputSchemaUpdate; }
142 inline bool InputSchemaUpdateHasBeenSet() const { return m_inputSchemaUpdateHasBeenSet; }
143 template <typename InputSchemaUpdateT = InputSchemaUpdate>
144 void SetInputSchemaUpdate(InputSchemaUpdateT&& value) {
145 m_inputSchemaUpdateHasBeenSet = true;
146 m_inputSchemaUpdate = std::forward<InputSchemaUpdateT>(value);
147 }
148 template <typename InputSchemaUpdateT = InputSchemaUpdate>
149 InputUpdate& WithInputSchemaUpdate(InputSchemaUpdateT&& value) {
150 SetInputSchemaUpdate(std::forward<InputSchemaUpdateT>(value));
151 return *this;
152 }
154
156
160 inline const InputParallelismUpdate& GetInputParallelismUpdate() const { return m_inputParallelismUpdate; }
161 inline bool InputParallelismUpdateHasBeenSet() const { return m_inputParallelismUpdateHasBeenSet; }
162 template <typename InputParallelismUpdateT = InputParallelismUpdate>
163 void SetInputParallelismUpdate(InputParallelismUpdateT&& value) {
164 m_inputParallelismUpdateHasBeenSet = true;
165 m_inputParallelismUpdate = std::forward<InputParallelismUpdateT>(value);
166 }
167 template <typename InputParallelismUpdateT = InputParallelismUpdate>
168 InputUpdate& WithInputParallelismUpdate(InputParallelismUpdateT&& value) {
169 SetInputParallelismUpdate(std::forward<InputParallelismUpdateT>(value));
170 return *this;
171 }
173 private:
174 Aws::String m_inputId;
175
176 Aws::String m_namePrefixUpdate;
177
178 InputProcessingConfigurationUpdate m_inputProcessingConfigurationUpdate;
179
180 KinesisStreamsInputUpdate m_kinesisStreamsInputUpdate;
181
182 KinesisFirehoseInputUpdate m_kinesisFirehoseInputUpdate;
183
184 InputSchemaUpdate m_inputSchemaUpdate;
185
186 InputParallelismUpdate m_inputParallelismUpdate;
187 bool m_inputIdHasBeenSet = false;
188 bool m_namePrefixUpdateHasBeenSet = false;
189 bool m_inputProcessingConfigurationUpdateHasBeenSet = false;
190 bool m_kinesisStreamsInputUpdateHasBeenSet = false;
191 bool m_kinesisFirehoseInputUpdateHasBeenSet = false;
192 bool m_inputSchemaUpdateHasBeenSet = false;
193 bool m_inputParallelismUpdateHasBeenSet = false;
194};
195
196} // namespace Model
197} // namespace KinesisAnalytics
198} // namespace Aws
const InputSchemaUpdate & GetInputSchemaUpdate() const
InputUpdate & WithInputSchemaUpdate(InputSchemaUpdateT &&value)
void SetInputProcessingConfigurationUpdate(InputProcessingConfigurationUpdateT &&value)
Definition InputUpdate.h:86
InputUpdate & WithNamePrefixUpdate(NamePrefixUpdateT &&value)
Definition InputUpdate.h:71
const InputProcessingConfigurationUpdate & GetInputProcessingConfigurationUpdate() const
Definition InputUpdate.h:81
void SetNamePrefixUpdate(NamePrefixUpdateT &&value)
Definition InputUpdate.h:66
const InputParallelismUpdate & GetInputParallelismUpdate() const
void SetInputSchemaUpdate(InputSchemaUpdateT &&value)
void SetKinesisFirehoseInputUpdate(KinesisFirehoseInputUpdateT &&value)
AWS_KINESISANALYTICS_API InputUpdate(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetNamePrefixUpdate() const
Definition InputUpdate.h:63
AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInputParallelismUpdate(InputParallelismUpdateT &&value)
InputUpdate & WithInputParallelismUpdate(InputParallelismUpdateT &&value)
const Aws::String & GetInputId() const
Definition InputUpdate.h:44
void SetKinesisStreamsInputUpdate(KinesisStreamsInputUpdateT &&value)
const KinesisFirehoseInputUpdate & GetKinesisFirehoseInputUpdate() const
AWS_KINESISANALYTICS_API InputUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
InputUpdate & WithKinesisFirehoseInputUpdate(KinesisFirehoseInputUpdateT &&value)
InputUpdate & WithInputProcessingConfigurationUpdate(InputProcessingConfigurationUpdateT &&value)
Definition InputUpdate.h:91
InputUpdate & WithKinesisStreamsInputUpdate(KinesisStreamsInputUpdateT &&value)
const KinesisStreamsInputUpdate & GetKinesisStreamsInputUpdate() const
AWS_KINESISANALYTICS_API InputUpdate()=default
InputUpdate & WithInputId(InputIdT &&value)
Definition InputUpdate.h:52
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue