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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kinesisanalyticsv2/model/InputProcessingConfiguration.h>
10#include <aws/kinesisanalyticsv2/model/KinesisStreamsInput.h>
11#include <aws/kinesisanalyticsv2/model/KinesisFirehoseInput.h>
12#include <aws/kinesisanalyticsv2/model/InputParallelism.h>
13#include <aws/kinesisanalyticsv2/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 KinesisAnalyticsV2
27{
28namespace Model
29{
30
39 class Input
40 {
41 public:
42 AWS_KINESISANALYTICSV2_API Input();
43 AWS_KINESISANALYTICSV2_API Input(Aws::Utils::Json::JsonView jsonValue);
44 AWS_KINESISANALYTICSV2_API Input& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
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
74 inline const InputProcessingConfiguration& GetInputProcessingConfiguration() const{ return m_inputProcessingConfiguration; }
75 inline bool InputProcessingConfigurationHasBeenSet() const { return m_inputProcessingConfigurationHasBeenSet; }
76 inline void SetInputProcessingConfiguration(const InputProcessingConfiguration& value) { m_inputProcessingConfigurationHasBeenSet = true; m_inputProcessingConfiguration = value; }
77 inline void SetInputProcessingConfiguration(InputProcessingConfiguration&& value) { m_inputProcessingConfigurationHasBeenSet = true; m_inputProcessingConfiguration = std::move(value); }
81
83
87 inline const KinesisStreamsInput& GetKinesisStreamsInput() const{ return m_kinesisStreamsInput; }
88 inline bool KinesisStreamsInputHasBeenSet() const { return m_kinesisStreamsInputHasBeenSet; }
89 inline void SetKinesisStreamsInput(const KinesisStreamsInput& value) { m_kinesisStreamsInputHasBeenSet = true; m_kinesisStreamsInput = value; }
90 inline void SetKinesisStreamsInput(KinesisStreamsInput&& value) { m_kinesisStreamsInputHasBeenSet = true; m_kinesisStreamsInput = std::move(value); }
91 inline Input& WithKinesisStreamsInput(const KinesisStreamsInput& value) { SetKinesisStreamsInput(value); return *this;}
92 inline Input& WithKinesisStreamsInput(KinesisStreamsInput&& value) { SetKinesisStreamsInput(std::move(value)); return *this;}
94
96
100 inline const KinesisFirehoseInput& GetKinesisFirehoseInput() const{ return m_kinesisFirehoseInput; }
101 inline bool KinesisFirehoseInputHasBeenSet() const { return m_kinesisFirehoseInputHasBeenSet; }
102 inline void SetKinesisFirehoseInput(const KinesisFirehoseInput& value) { m_kinesisFirehoseInputHasBeenSet = true; m_kinesisFirehoseInput = value; }
103 inline void SetKinesisFirehoseInput(KinesisFirehoseInput&& value) { m_kinesisFirehoseInputHasBeenSet = true; m_kinesisFirehoseInput = std::move(value); }
104 inline Input& WithKinesisFirehoseInput(const KinesisFirehoseInput& value) { SetKinesisFirehoseInput(value); return *this;}
105 inline Input& WithKinesisFirehoseInput(KinesisFirehoseInput&& value) { SetKinesisFirehoseInput(std::move(value)); return *this;}
107
109
112 inline const InputParallelism& GetInputParallelism() const{ return m_inputParallelism; }
113 inline bool InputParallelismHasBeenSet() const { return m_inputParallelismHasBeenSet; }
114 inline void SetInputParallelism(const InputParallelism& value) { m_inputParallelismHasBeenSet = true; m_inputParallelism = value; }
115 inline void SetInputParallelism(InputParallelism&& value) { m_inputParallelismHasBeenSet = true; m_inputParallelism = std::move(value); }
116 inline Input& WithInputParallelism(const InputParallelism& value) { SetInputParallelism(value); return *this;}
117 inline Input& WithInputParallelism(InputParallelism&& value) { SetInputParallelism(std::move(value)); return *this;}
119
121
127 inline const SourceSchema& GetInputSchema() const{ return m_inputSchema; }
128 inline bool InputSchemaHasBeenSet() const { return m_inputSchemaHasBeenSet; }
129 inline void SetInputSchema(const SourceSchema& value) { m_inputSchemaHasBeenSet = true; m_inputSchema = value; }
130 inline void SetInputSchema(SourceSchema&& value) { m_inputSchemaHasBeenSet = true; m_inputSchema = std::move(value); }
131 inline Input& WithInputSchema(const SourceSchema& value) { SetInputSchema(value); return *this;}
132 inline Input& WithInputSchema(SourceSchema&& value) { SetInputSchema(std::move(value)); return *this;}
134 private:
135
136 Aws::String m_namePrefix;
137 bool m_namePrefixHasBeenSet = false;
138
139 InputProcessingConfiguration m_inputProcessingConfiguration;
140 bool m_inputProcessingConfigurationHasBeenSet = false;
141
142 KinesisStreamsInput m_kinesisStreamsInput;
143 bool m_kinesisStreamsInputHasBeenSet = false;
144
145 KinesisFirehoseInput m_kinesisFirehoseInput;
146 bool m_kinesisFirehoseInputHasBeenSet = false;
147
148 InputParallelism m_inputParallelism;
149 bool m_inputParallelismHasBeenSet = false;
150
151 SourceSchema m_inputSchema;
152 bool m_inputSchemaHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace KinesisAnalyticsV2
157} // namespace Aws
Input & WithInputProcessingConfiguration(const InputProcessingConfiguration &value)
Definition Input.h:78
bool KinesisStreamsInputHasBeenSet() const
Definition Input.h:88
void SetKinesisFirehoseInput(const KinesisFirehoseInput &value)
Definition Input.h:102
void SetNamePrefix(const Aws::String &value)
Definition Input.h:59
void SetKinesisStreamsInput(KinesisStreamsInput &&value)
Definition Input.h:90
const Aws::String & GetNamePrefix() const
Definition Input.h:57
Input & WithKinesisFirehoseInput(KinesisFirehoseInput &&value)
Definition Input.h:105
Input & WithInputProcessingConfiguration(InputProcessingConfiguration &&value)
Definition Input.h:79
void SetNamePrefix(const char *value)
Definition Input.h:61
const InputParallelism & GetInputParallelism() const
Definition Input.h:112
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
Input & WithKinesisFirehoseInput(const KinesisFirehoseInput &value)
Definition Input.h:104
const KinesisStreamsInput & GetKinesisStreamsInput() const
Definition Input.h:87
bool InputProcessingConfigurationHasBeenSet() const
Definition Input.h:75
Input & WithKinesisStreamsInput(KinesisStreamsInput &&value)
Definition Input.h:92
void SetInputParallelism(InputParallelism &&value)
Definition Input.h:115
const KinesisFirehoseInput & GetKinesisFirehoseInput() const
Definition Input.h:100
void SetKinesisStreamsInput(const KinesisStreamsInput &value)
Definition Input.h:89
Input & WithInputSchema(const SourceSchema &value)
Definition Input.h:131
void SetInputParallelism(const InputParallelism &value)
Definition Input.h:114
void SetInputSchema(SourceSchema &&value)
Definition Input.h:130
AWS_KINESISANALYTICSV2_API Input & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKinesisFirehoseInput(KinesisFirehoseInput &&value)
Definition Input.h:103
bool KinesisFirehoseInputHasBeenSet() const
Definition Input.h:101
Input & WithNamePrefix(const Aws::String &value)
Definition Input.h:62
Input & WithInputParallelism(const InputParallelism &value)
Definition Input.h:116
Input & WithInputParallelism(InputParallelism &&value)
Definition Input.h:117
void SetInputProcessingConfiguration(const InputProcessingConfiguration &value)
Definition Input.h:76
AWS_KINESISANALYTICSV2_API Input(Aws::Utils::Json::JsonView jsonValue)
void SetInputProcessingConfiguration(InputProcessingConfiguration &&value)
Definition Input.h:77
void SetNamePrefix(Aws::String &&value)
Definition Input.h:60
Input & WithInputSchema(SourceSchema &&value)
Definition Input.h:132
AWS_KINESISANALYTICSV2_API Input()
Input & WithKinesisStreamsInput(const KinesisStreamsInput &value)
Definition Input.h:91
Input & WithNamePrefix(Aws::String &&value)
Definition Input.h:63
Input & WithNamePrefix(const char *value)
Definition Input.h:64
const InputProcessingConfiguration & GetInputProcessingConfiguration() const
Definition Input.h:74
const SourceSchema & GetInputSchema() const
Definition Input.h:127
void SetInputSchema(const SourceSchema &value)
Definition Input.h:129
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue