AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SqlApplicationConfiguration.h
1
6#pragma once
7#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kinesisanalyticsv2/model/Input.h>
10#include <aws/kinesisanalyticsv2/model/Output.h>
11#include <aws/kinesisanalyticsv2/model/ReferenceDataSource.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace KinesisAnalyticsV2
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_KINESISANALYTICSV2_API SqlApplicationConfiguration();
39 AWS_KINESISANALYTICSV2_API SqlApplicationConfiguration(Aws::Utils::Json::JsonView jsonValue);
41 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::Vector<Input>& GetInputs() const{ return m_inputs; }
50 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
51 inline void SetInputs(const Aws::Vector<Input>& value) { m_inputsHasBeenSet = true; m_inputs = value; }
52 inline void SetInputs(Aws::Vector<Input>&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); }
53 inline SqlApplicationConfiguration& WithInputs(const Aws::Vector<Input>& value) { SetInputs(value); return *this;}
54 inline SqlApplicationConfiguration& WithInputs(Aws::Vector<Input>&& value) { SetInputs(std::move(value)); return *this;}
55 inline SqlApplicationConfiguration& AddInputs(const Input& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
56 inline SqlApplicationConfiguration& AddInputs(Input&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; }
58
60
64 inline const Aws::Vector<Output>& GetOutputs() const{ return m_outputs; }
65 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
66 inline void SetOutputs(const Aws::Vector<Output>& value) { m_outputsHasBeenSet = true; m_outputs = value; }
67 inline void SetOutputs(Aws::Vector<Output>&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); }
68 inline SqlApplicationConfiguration& WithOutputs(const Aws::Vector<Output>& value) { SetOutputs(value); return *this;}
69 inline SqlApplicationConfiguration& WithOutputs(Aws::Vector<Output>&& value) { SetOutputs(std::move(value)); return *this;}
70 inline SqlApplicationConfiguration& AddOutputs(const Output& value) { m_outputsHasBeenSet = true; m_outputs.push_back(value); return *this; }
71 inline SqlApplicationConfiguration& AddOutputs(Output&& value) { m_outputsHasBeenSet = true; m_outputs.push_back(std::move(value)); return *this; }
73
75
79 inline const Aws::Vector<ReferenceDataSource>& GetReferenceDataSources() const{ return m_referenceDataSources; }
80 inline bool ReferenceDataSourcesHasBeenSet() const { return m_referenceDataSourcesHasBeenSet; }
81 inline void SetReferenceDataSources(const Aws::Vector<ReferenceDataSource>& value) { m_referenceDataSourcesHasBeenSet = true; m_referenceDataSources = value; }
82 inline void SetReferenceDataSources(Aws::Vector<ReferenceDataSource>&& value) { m_referenceDataSourcesHasBeenSet = true; m_referenceDataSources = std::move(value); }
85 inline SqlApplicationConfiguration& AddReferenceDataSources(const ReferenceDataSource& value) { m_referenceDataSourcesHasBeenSet = true; m_referenceDataSources.push_back(value); return *this; }
86 inline SqlApplicationConfiguration& AddReferenceDataSources(ReferenceDataSource&& value) { m_referenceDataSourcesHasBeenSet = true; m_referenceDataSources.push_back(std::move(value)); return *this; }
88 private:
89
90 Aws::Vector<Input> m_inputs;
91 bool m_inputsHasBeenSet = false;
92
93 Aws::Vector<Output> m_outputs;
94 bool m_outputsHasBeenSet = false;
95
96 Aws::Vector<ReferenceDataSource> m_referenceDataSources;
97 bool m_referenceDataSourcesHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace KinesisAnalyticsV2
102} // namespace Aws
void SetReferenceDataSources(Aws::Vector< ReferenceDataSource > &&value)
SqlApplicationConfiguration & WithReferenceDataSources(Aws::Vector< ReferenceDataSource > &&value)
SqlApplicationConfiguration & WithInputs(const Aws::Vector< Input > &value)
SqlApplicationConfiguration & AddInputs(const Input &value)
const Aws::Vector< ReferenceDataSource > & GetReferenceDataSources() const
SqlApplicationConfiguration & WithReferenceDataSources(const Aws::Vector< ReferenceDataSource > &value)
AWS_KINESISANALYTICSV2_API SqlApplicationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SqlApplicationConfiguration & WithInputs(Aws::Vector< Input > &&value)
SqlApplicationConfiguration & WithOutputs(Aws::Vector< Output > &&value)
SqlApplicationConfiguration & AddReferenceDataSources(ReferenceDataSource &&value)
SqlApplicationConfiguration & AddReferenceDataSources(const ReferenceDataSource &value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReferenceDataSources(const Aws::Vector< ReferenceDataSource > &value)
SqlApplicationConfiguration & WithOutputs(const Aws::Vector< Output > &value)
SqlApplicationConfiguration & AddOutputs(const Output &value)
AWS_KINESISANALYTICSV2_API SqlApplicationConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue