AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InputDescription.h
1
6#pragma once
7#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/kinesisanalytics/model/InputProcessingConfigurationDescription.h>
11#include <aws/kinesisanalytics/model/KinesisStreamsInputDescription.h>
12#include <aws/kinesisanalytics/model/KinesisFirehoseInputDescription.h>
13#include <aws/kinesisanalytics/model/SourceSchema.h>
14#include <aws/kinesisanalytics/model/InputParallelism.h>
15#include <aws/kinesisanalytics/model/InputStartingPositionConfiguration.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace KinesisAnalytics
29{
30namespace Model
31{
32
41 {
42 public:
43 AWS_KINESISANALYTICS_API InputDescription();
44 AWS_KINESISANALYTICS_API InputDescription(Aws::Utils::Json::JsonView jsonValue);
45 AWS_KINESISANALYTICS_API InputDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
55 inline const Aws::String& GetInputId() const{ return m_inputId; }
56 inline bool InputIdHasBeenSet() const { return m_inputIdHasBeenSet; }
57 inline void SetInputId(const Aws::String& value) { m_inputIdHasBeenSet = true; m_inputId = value; }
58 inline void SetInputId(Aws::String&& value) { m_inputIdHasBeenSet = true; m_inputId = std::move(value); }
59 inline void SetInputId(const char* value) { m_inputIdHasBeenSet = true; m_inputId.assign(value); }
60 inline InputDescription& WithInputId(const Aws::String& value) { SetInputId(value); return *this;}
61 inline InputDescription& WithInputId(Aws::String&& value) { SetInputId(std::move(value)); return *this;}
62 inline InputDescription& WithInputId(const char* value) { SetInputId(value); return *this;}
64
66
69 inline const Aws::String& GetNamePrefix() const{ return m_namePrefix; }
70 inline bool NamePrefixHasBeenSet() const { return m_namePrefixHasBeenSet; }
71 inline void SetNamePrefix(const Aws::String& value) { m_namePrefixHasBeenSet = true; m_namePrefix = value; }
72 inline void SetNamePrefix(Aws::String&& value) { m_namePrefixHasBeenSet = true; m_namePrefix = std::move(value); }
73 inline void SetNamePrefix(const char* value) { m_namePrefixHasBeenSet = true; m_namePrefix.assign(value); }
74 inline InputDescription& WithNamePrefix(const Aws::String& value) { SetNamePrefix(value); return *this;}
75 inline InputDescription& WithNamePrefix(Aws::String&& value) { SetNamePrefix(std::move(value)); return *this;}
76 inline InputDescription& WithNamePrefix(const char* value) { SetNamePrefix(value); return *this;}
78
80
84 inline const Aws::Vector<Aws::String>& GetInAppStreamNames() const{ return m_inAppStreamNames; }
85 inline bool InAppStreamNamesHasBeenSet() const { return m_inAppStreamNamesHasBeenSet; }
86 inline void SetInAppStreamNames(const Aws::Vector<Aws::String>& value) { m_inAppStreamNamesHasBeenSet = true; m_inAppStreamNames = value; }
87 inline void SetInAppStreamNames(Aws::Vector<Aws::String>&& value) { m_inAppStreamNamesHasBeenSet = true; m_inAppStreamNames = std::move(value); }
89 inline InputDescription& WithInAppStreamNames(Aws::Vector<Aws::String>&& value) { SetInAppStreamNames(std::move(value)); return *this;}
90 inline InputDescription& AddInAppStreamNames(const Aws::String& value) { m_inAppStreamNamesHasBeenSet = true; m_inAppStreamNames.push_back(value); return *this; }
91 inline InputDescription& AddInAppStreamNames(Aws::String&& value) { m_inAppStreamNamesHasBeenSet = true; m_inAppStreamNames.push_back(std::move(value)); return *this; }
92 inline InputDescription& AddInAppStreamNames(const char* value) { m_inAppStreamNamesHasBeenSet = true; m_inAppStreamNames.push_back(value); return *this; }
94
96
100 inline const InputProcessingConfigurationDescription& GetInputProcessingConfigurationDescription() const{ return m_inputProcessingConfigurationDescription; }
101 inline bool InputProcessingConfigurationDescriptionHasBeenSet() const { return m_inputProcessingConfigurationDescriptionHasBeenSet; }
102 inline void SetInputProcessingConfigurationDescription(const InputProcessingConfigurationDescription& value) { m_inputProcessingConfigurationDescriptionHasBeenSet = true; m_inputProcessingConfigurationDescription = value; }
103 inline void SetInputProcessingConfigurationDescription(InputProcessingConfigurationDescription&& value) { m_inputProcessingConfigurationDescriptionHasBeenSet = true; m_inputProcessingConfigurationDescription = std::move(value); }
107
109
114 inline const KinesisStreamsInputDescription& GetKinesisStreamsInputDescription() const{ return m_kinesisStreamsInputDescription; }
115 inline bool KinesisStreamsInputDescriptionHasBeenSet() const { return m_kinesisStreamsInputDescriptionHasBeenSet; }
116 inline void SetKinesisStreamsInputDescription(const KinesisStreamsInputDescription& value) { m_kinesisStreamsInputDescriptionHasBeenSet = true; m_kinesisStreamsInputDescription = value; }
117 inline void SetKinesisStreamsInputDescription(KinesisStreamsInputDescription&& value) { m_kinesisStreamsInputDescriptionHasBeenSet = true; m_kinesisStreamsInputDescription = std::move(value); }
121
123
128 inline const KinesisFirehoseInputDescription& GetKinesisFirehoseInputDescription() const{ return m_kinesisFirehoseInputDescription; }
129 inline bool KinesisFirehoseInputDescriptionHasBeenSet() const { return m_kinesisFirehoseInputDescriptionHasBeenSet; }
130 inline void SetKinesisFirehoseInputDescription(const KinesisFirehoseInputDescription& value) { m_kinesisFirehoseInputDescriptionHasBeenSet = true; m_kinesisFirehoseInputDescription = value; }
131 inline void SetKinesisFirehoseInputDescription(KinesisFirehoseInputDescription&& value) { m_kinesisFirehoseInputDescriptionHasBeenSet = true; m_kinesisFirehoseInputDescription = std::move(value); }
135
137
142 inline const SourceSchema& GetInputSchema() const{ return m_inputSchema; }
143 inline bool InputSchemaHasBeenSet() const { return m_inputSchemaHasBeenSet; }
144 inline void SetInputSchema(const SourceSchema& value) { m_inputSchemaHasBeenSet = true; m_inputSchema = value; }
145 inline void SetInputSchema(SourceSchema&& value) { m_inputSchemaHasBeenSet = true; m_inputSchema = std::move(value); }
146 inline InputDescription& WithInputSchema(const SourceSchema& value) { SetInputSchema(value); return *this;}
147 inline InputDescription& WithInputSchema(SourceSchema&& value) { SetInputSchema(std::move(value)); return *this;}
149
151
155 inline const InputParallelism& GetInputParallelism() const{ return m_inputParallelism; }
156 inline bool InputParallelismHasBeenSet() const { return m_inputParallelismHasBeenSet; }
157 inline void SetInputParallelism(const InputParallelism& value) { m_inputParallelismHasBeenSet = true; m_inputParallelism = value; }
158 inline void SetInputParallelism(InputParallelism&& value) { m_inputParallelismHasBeenSet = true; m_inputParallelism = std::move(value); }
159 inline InputDescription& WithInputParallelism(const InputParallelism& value) { SetInputParallelism(value); return *this;}
160 inline InputDescription& WithInputParallelism(InputParallelism&& value) { SetInputParallelism(std::move(value)); return *this;}
162
164
168 inline const InputStartingPositionConfiguration& GetInputStartingPositionConfiguration() const{ return m_inputStartingPositionConfiguration; }
169 inline bool InputStartingPositionConfigurationHasBeenSet() const { return m_inputStartingPositionConfigurationHasBeenSet; }
170 inline void SetInputStartingPositionConfiguration(const InputStartingPositionConfiguration& value) { m_inputStartingPositionConfigurationHasBeenSet = true; m_inputStartingPositionConfiguration = value; }
171 inline void SetInputStartingPositionConfiguration(InputStartingPositionConfiguration&& value) { m_inputStartingPositionConfigurationHasBeenSet = true; m_inputStartingPositionConfiguration = std::move(value); }
175 private:
176
177 Aws::String m_inputId;
178 bool m_inputIdHasBeenSet = false;
179
180 Aws::String m_namePrefix;
181 bool m_namePrefixHasBeenSet = false;
182
183 Aws::Vector<Aws::String> m_inAppStreamNames;
184 bool m_inAppStreamNamesHasBeenSet = false;
185
186 InputProcessingConfigurationDescription m_inputProcessingConfigurationDescription;
187 bool m_inputProcessingConfigurationDescriptionHasBeenSet = false;
188
189 KinesisStreamsInputDescription m_kinesisStreamsInputDescription;
190 bool m_kinesisStreamsInputDescriptionHasBeenSet = false;
191
192 KinesisFirehoseInputDescription m_kinesisFirehoseInputDescription;
193 bool m_kinesisFirehoseInputDescriptionHasBeenSet = false;
194
195 SourceSchema m_inputSchema;
196 bool m_inputSchemaHasBeenSet = false;
197
198 InputParallelism m_inputParallelism;
199 bool m_inputParallelismHasBeenSet = false;
200
201 InputStartingPositionConfiguration m_inputStartingPositionConfiguration;
202 bool m_inputStartingPositionConfigurationHasBeenSet = false;
203 };
204
205} // namespace Model
206} // namespace KinesisAnalytics
207} // namespace Aws
AWS_KINESISANALYTICS_API InputDescription(Aws::Utils::Json::JsonView jsonValue)
void SetInAppStreamNames(const Aws::Vector< Aws::String > &value)
void SetInputParallelism(const InputParallelism &value)
void SetInputProcessingConfigurationDescription(InputProcessingConfigurationDescription &&value)
void SetKinesisStreamsInputDescription(KinesisStreamsInputDescription &&value)
void SetInputParallelism(InputParallelism &&value)
InputDescription & WithInputParallelism(const InputParallelism &value)
const KinesisStreamsInputDescription & GetKinesisStreamsInputDescription() const
InputDescription & WithInAppStreamNames(Aws::Vector< Aws::String > &&value)
InputDescription & WithInputProcessingConfigurationDescription(InputProcessingConfigurationDescription &&value)
InputDescription & WithInputParallelism(InputParallelism &&value)
InputDescription & WithInAppStreamNames(const Aws::Vector< Aws::String > &value)
InputDescription & WithInputId(const Aws::String &value)
InputDescription & WithInputStartingPositionConfiguration(InputStartingPositionConfiguration &&value)
void SetInputStartingPositionConfiguration(const InputStartingPositionConfiguration &value)
const InputProcessingConfigurationDescription & GetInputProcessingConfigurationDescription() const
InputDescription & WithInputProcessingConfigurationDescription(const InputProcessingConfigurationDescription &value)
InputDescription & WithKinesisStreamsInputDescription(KinesisStreamsInputDescription &&value)
const Aws::Vector< Aws::String > & GetInAppStreamNames() const
InputDescription & WithNamePrefix(Aws::String &&value)
AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISANALYTICS_API InputDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICS_API InputDescription()
InputDescription & WithNamePrefix(const Aws::String &value)
void SetKinesisFirehoseInputDescription(const KinesisFirehoseInputDescription &value)
InputDescription & AddInAppStreamNames(Aws::String &&value)
void SetInputProcessingConfigurationDescription(const InputProcessingConfigurationDescription &value)
InputDescription & WithKinesisFirehoseInputDescription(const KinesisFirehoseInputDescription &value)
void SetInAppStreamNames(Aws::Vector< Aws::String > &&value)
InputDescription & AddInAppStreamNames(const char *value)
InputDescription & WithInputSchema(SourceSchema &&value)
void SetInputStartingPositionConfiguration(InputStartingPositionConfiguration &&value)
const KinesisFirehoseInputDescription & GetKinesisFirehoseInputDescription() const
const InputStartingPositionConfiguration & GetInputStartingPositionConfiguration() const
InputDescription & WithNamePrefix(const char *value)
InputDescription & WithInputId(const char *value)
void SetKinesisFirehoseInputDescription(KinesisFirehoseInputDescription &&value)
InputDescription & WithInputStartingPositionConfiguration(const InputStartingPositionConfiguration &value)
InputDescription & WithKinesisStreamsInputDescription(const KinesisStreamsInputDescription &value)
const InputParallelism & GetInputParallelism() const
void SetInputSchema(const SourceSchema &value)
InputDescription & WithKinesisFirehoseInputDescription(KinesisFirehoseInputDescription &&value)
void SetNamePrefix(const Aws::String &value)
InputDescription & WithInputId(Aws::String &&value)
void SetKinesisStreamsInputDescription(const KinesisStreamsInputDescription &value)
InputDescription & AddInAppStreamNames(const Aws::String &value)
InputDescription & WithInputSchema(const SourceSchema &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue