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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/kinesisanalyticsv2/model/InputProcessingConfigurationDescription.h>
11#include <aws/kinesisanalyticsv2/model/KinesisStreamsInputDescription.h>
12#include <aws/kinesisanalyticsv2/model/KinesisFirehoseInputDescription.h>
13#include <aws/kinesisanalyticsv2/model/SourceSchema.h>
14#include <aws/kinesisanalyticsv2/model/InputParallelism.h>
15#include <aws/kinesisanalyticsv2/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 KinesisAnalyticsV2
29{
30namespace Model
31{
32
40 {
41 public:
42 AWS_KINESISANALYTICSV2_API InputDescription();
43 AWS_KINESISANALYTICSV2_API InputDescription(Aws::Utils::Json::JsonView jsonValue);
44 AWS_KINESISANALYTICSV2_API InputDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
54 inline const Aws::String& GetInputId() const{ return m_inputId; }
55 inline bool InputIdHasBeenSet() const { return m_inputIdHasBeenSet; }
56 inline void SetInputId(const Aws::String& value) { m_inputIdHasBeenSet = true; m_inputId = value; }
57 inline void SetInputId(Aws::String&& value) { m_inputIdHasBeenSet = true; m_inputId = std::move(value); }
58 inline void SetInputId(const char* value) { m_inputIdHasBeenSet = true; m_inputId.assign(value); }
59 inline InputDescription& WithInputId(const Aws::String& value) { SetInputId(value); return *this;}
60 inline InputDescription& WithInputId(Aws::String&& value) { SetInputId(std::move(value)); return *this;}
61 inline InputDescription& WithInputId(const char* value) { SetInputId(value); return *this;}
63
65
68 inline const Aws::String& GetNamePrefix() const{ return m_namePrefix; }
69 inline bool NamePrefixHasBeenSet() const { return m_namePrefixHasBeenSet; }
70 inline void SetNamePrefix(const Aws::String& value) { m_namePrefixHasBeenSet = true; m_namePrefix = value; }
71 inline void SetNamePrefix(Aws::String&& value) { m_namePrefixHasBeenSet = true; m_namePrefix = std::move(value); }
72 inline void SetNamePrefix(const char* value) { m_namePrefixHasBeenSet = true; m_namePrefix.assign(value); }
73 inline InputDescription& WithNamePrefix(const Aws::String& value) { SetNamePrefix(value); return *this;}
74 inline InputDescription& WithNamePrefix(Aws::String&& value) { SetNamePrefix(std::move(value)); return *this;}
75 inline InputDescription& WithNamePrefix(const char* value) { SetNamePrefix(value); return *this;}
77
79
83 inline const Aws::Vector<Aws::String>& GetInAppStreamNames() const{ return m_inAppStreamNames; }
84 inline bool InAppStreamNamesHasBeenSet() const { return m_inAppStreamNamesHasBeenSet; }
85 inline void SetInAppStreamNames(const Aws::Vector<Aws::String>& value) { m_inAppStreamNamesHasBeenSet = true; m_inAppStreamNames = value; }
86 inline void SetInAppStreamNames(Aws::Vector<Aws::String>&& value) { m_inAppStreamNamesHasBeenSet = true; m_inAppStreamNames = std::move(value); }
88 inline InputDescription& WithInAppStreamNames(Aws::Vector<Aws::String>&& value) { SetInAppStreamNames(std::move(value)); return *this;}
89 inline InputDescription& AddInAppStreamNames(const Aws::String& value) { m_inAppStreamNamesHasBeenSet = true; m_inAppStreamNames.push_back(value); return *this; }
90 inline InputDescription& AddInAppStreamNames(Aws::String&& value) { m_inAppStreamNamesHasBeenSet = true; m_inAppStreamNames.push_back(std::move(value)); return *this; }
91 inline InputDescription& AddInAppStreamNames(const char* value) { m_inAppStreamNamesHasBeenSet = true; m_inAppStreamNames.push_back(value); return *this; }
93
95
99 inline const InputProcessingConfigurationDescription& GetInputProcessingConfigurationDescription() const{ return m_inputProcessingConfigurationDescription; }
100 inline bool InputProcessingConfigurationDescriptionHasBeenSet() const { return m_inputProcessingConfigurationDescriptionHasBeenSet; }
101 inline void SetInputProcessingConfigurationDescription(const InputProcessingConfigurationDescription& value) { m_inputProcessingConfigurationDescriptionHasBeenSet = true; m_inputProcessingConfigurationDescription = value; }
102 inline void SetInputProcessingConfigurationDescription(InputProcessingConfigurationDescription&& value) { m_inputProcessingConfigurationDescriptionHasBeenSet = true; m_inputProcessingConfigurationDescription = std::move(value); }
106
108
112 inline const KinesisStreamsInputDescription& GetKinesisStreamsInputDescription() const{ return m_kinesisStreamsInputDescription; }
113 inline bool KinesisStreamsInputDescriptionHasBeenSet() const { return m_kinesisStreamsInputDescriptionHasBeenSet; }
114 inline void SetKinesisStreamsInputDescription(const KinesisStreamsInputDescription& value) { m_kinesisStreamsInputDescriptionHasBeenSet = true; m_kinesisStreamsInputDescription = value; }
115 inline void SetKinesisStreamsInputDescription(KinesisStreamsInputDescription&& value) { m_kinesisStreamsInputDescriptionHasBeenSet = true; m_kinesisStreamsInputDescription = std::move(value); }
119
121
125 inline const KinesisFirehoseInputDescription& GetKinesisFirehoseInputDescription() const{ return m_kinesisFirehoseInputDescription; }
126 inline bool KinesisFirehoseInputDescriptionHasBeenSet() const { return m_kinesisFirehoseInputDescriptionHasBeenSet; }
127 inline void SetKinesisFirehoseInputDescription(const KinesisFirehoseInputDescription& value) { m_kinesisFirehoseInputDescriptionHasBeenSet = true; m_kinesisFirehoseInputDescription = value; }
128 inline void SetKinesisFirehoseInputDescription(KinesisFirehoseInputDescription&& value) { m_kinesisFirehoseInputDescriptionHasBeenSet = true; m_kinesisFirehoseInputDescription = std::move(value); }
132
134
139 inline const SourceSchema& GetInputSchema() const{ return m_inputSchema; }
140 inline bool InputSchemaHasBeenSet() const { return m_inputSchemaHasBeenSet; }
141 inline void SetInputSchema(const SourceSchema& value) { m_inputSchemaHasBeenSet = true; m_inputSchema = value; }
142 inline void SetInputSchema(SourceSchema&& value) { m_inputSchemaHasBeenSet = true; m_inputSchema = std::move(value); }
143 inline InputDescription& WithInputSchema(const SourceSchema& value) { SetInputSchema(value); return *this;}
144 inline InputDescription& WithInputSchema(SourceSchema&& value) { SetInputSchema(std::move(value)); return *this;}
146
148
152 inline const InputParallelism& GetInputParallelism() const{ return m_inputParallelism; }
153 inline bool InputParallelismHasBeenSet() const { return m_inputParallelismHasBeenSet; }
154 inline void SetInputParallelism(const InputParallelism& value) { m_inputParallelismHasBeenSet = true; m_inputParallelism = value; }
155 inline void SetInputParallelism(InputParallelism&& value) { m_inputParallelismHasBeenSet = true; m_inputParallelism = std::move(value); }
156 inline InputDescription& WithInputParallelism(const InputParallelism& value) { SetInputParallelism(value); return *this;}
157 inline InputDescription& WithInputParallelism(InputParallelism&& value) { SetInputParallelism(std::move(value)); return *this;}
159
161
165 inline const InputStartingPositionConfiguration& GetInputStartingPositionConfiguration() const{ return m_inputStartingPositionConfiguration; }
166 inline bool InputStartingPositionConfigurationHasBeenSet() const { return m_inputStartingPositionConfigurationHasBeenSet; }
167 inline void SetInputStartingPositionConfiguration(const InputStartingPositionConfiguration& value) { m_inputStartingPositionConfigurationHasBeenSet = true; m_inputStartingPositionConfiguration = value; }
168 inline void SetInputStartingPositionConfiguration(InputStartingPositionConfiguration&& value) { m_inputStartingPositionConfigurationHasBeenSet = true; m_inputStartingPositionConfiguration = std::move(value); }
172 private:
173
174 Aws::String m_inputId;
175 bool m_inputIdHasBeenSet = false;
176
177 Aws::String m_namePrefix;
178 bool m_namePrefixHasBeenSet = false;
179
180 Aws::Vector<Aws::String> m_inAppStreamNames;
181 bool m_inAppStreamNamesHasBeenSet = false;
182
183 InputProcessingConfigurationDescription m_inputProcessingConfigurationDescription;
184 bool m_inputProcessingConfigurationDescriptionHasBeenSet = false;
185
186 KinesisStreamsInputDescription m_kinesisStreamsInputDescription;
187 bool m_kinesisStreamsInputDescriptionHasBeenSet = false;
188
189 KinesisFirehoseInputDescription m_kinesisFirehoseInputDescription;
190 bool m_kinesisFirehoseInputDescriptionHasBeenSet = false;
191
192 SourceSchema m_inputSchema;
193 bool m_inputSchemaHasBeenSet = false;
194
195 InputParallelism m_inputParallelism;
196 bool m_inputParallelismHasBeenSet = false;
197
198 InputStartingPositionConfiguration m_inputStartingPositionConfiguration;
199 bool m_inputStartingPositionConfigurationHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace KinesisAnalyticsV2
204} // namespace Aws
AWS_KINESISANALYTICSV2_API InputDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInputStartingPositionConfiguration(const InputStartingPositionConfiguration &value)
InputDescription & WithInputStartingPositionConfiguration(InputStartingPositionConfiguration &&value)
const InputStartingPositionConfiguration & GetInputStartingPositionConfiguration() const
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInputProcessingConfigurationDescription(InputProcessingConfigurationDescription &&value)
InputDescription & WithKinesisFirehoseInputDescription(const KinesisFirehoseInputDescription &value)
AWS_KINESISANALYTICSV2_API InputDescription()
void SetInputProcessingConfigurationDescription(const InputProcessingConfigurationDescription &value)
InputDescription & WithKinesisStreamsInputDescription(KinesisStreamsInputDescription &&value)
void SetKinesisStreamsInputDescription(KinesisStreamsInputDescription &&value)
InputDescription & WithInputProcessingConfigurationDescription(InputProcessingConfigurationDescription &&value)
InputDescription & AddInAppStreamNames(const Aws::String &value)
void SetInputParallelism(const InputParallelism &value)
InputDescription & WithNamePrefix(const char *value)
InputDescription & WithNamePrefix(const Aws::String &value)
void SetInputStartingPositionConfiguration(InputStartingPositionConfiguration &&value)
InputDescription & WithInputParallelism(const InputParallelism &value)
InputDescription & AddInAppStreamNames(const char *value)
void SetInputParallelism(InputParallelism &&value)
const KinesisFirehoseInputDescription & GetKinesisFirehoseInputDescription() const
void SetInAppStreamNames(const Aws::Vector< Aws::String > &value)
InputDescription & WithInputSchema(SourceSchema &&value)
void SetKinesisFirehoseInputDescription(const KinesisFirehoseInputDescription &value)
void SetKinesisFirehoseInputDescription(KinesisFirehoseInputDescription &&value)
void SetKinesisStreamsInputDescription(const KinesisStreamsInputDescription &value)
InputDescription & WithInputId(const char *value)
InputDescription & WithInputId(Aws::String &&value)
InputDescription & AddInAppStreamNames(Aws::String &&value)
InputDescription & WithInAppStreamNames(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetInAppStreamNames() const
InputDescription & WithKinesisFirehoseInputDescription(KinesisFirehoseInputDescription &&value)
InputDescription & WithNamePrefix(Aws::String &&value)
const KinesisStreamsInputDescription & GetKinesisStreamsInputDescription() const
InputDescription & WithInputSchema(const SourceSchema &value)
InputDescription & WithKinesisStreamsInputDescription(const KinesisStreamsInputDescription &value)
InputDescription & WithInAppStreamNames(const Aws::Vector< Aws::String > &value)
void SetInAppStreamNames(Aws::Vector< Aws::String > &&value)
InputDescription & WithInputId(const Aws::String &value)
const InputParallelism & GetInputParallelism() const
InputDescription & WithInputParallelism(InputParallelism &&value)
InputDescription & WithInputStartingPositionConfiguration(const InputStartingPositionConfiguration &value)
InputDescription & WithInputProcessingConfigurationDescription(const InputProcessingConfigurationDescription &value)
const InputProcessingConfigurationDescription & GetInputProcessingConfigurationDescription() const
AWS_KINESISANALYTICSV2_API InputDescription(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue