AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SqlApplicationConfigurationDescription.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/InputDescription.h>
10#include <aws/kinesisanalyticsv2/model/OutputDescription.h>
11#include <aws/kinesisanalyticsv2/model/ReferenceDataSourceDescription.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 SqlApplicationConfigurationDescription() = default;
41 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::Vector<InputDescription>& GetInputDescriptions() const { return m_inputDescriptions; }
50 inline bool InputDescriptionsHasBeenSet() const { return m_inputDescriptionsHasBeenSet; }
51 template<typename InputDescriptionsT = Aws::Vector<InputDescription>>
52 void SetInputDescriptions(InputDescriptionsT&& value) { m_inputDescriptionsHasBeenSet = true; m_inputDescriptions = std::forward<InputDescriptionsT>(value); }
53 template<typename InputDescriptionsT = Aws::Vector<InputDescription>>
54 SqlApplicationConfigurationDescription& WithInputDescriptions(InputDescriptionsT&& value) { SetInputDescriptions(std::forward<InputDescriptionsT>(value)); return *this;}
55 template<typename InputDescriptionsT = InputDescription>
56 SqlApplicationConfigurationDescription& AddInputDescriptions(InputDescriptionsT&& value) { m_inputDescriptionsHasBeenSet = true; m_inputDescriptions.emplace_back(std::forward<InputDescriptionsT>(value)); return *this; }
58
60
64 inline const Aws::Vector<OutputDescription>& GetOutputDescriptions() const { return m_outputDescriptions; }
65 inline bool OutputDescriptionsHasBeenSet() const { return m_outputDescriptionsHasBeenSet; }
66 template<typename OutputDescriptionsT = Aws::Vector<OutputDescription>>
67 void SetOutputDescriptions(OutputDescriptionsT&& value) { m_outputDescriptionsHasBeenSet = true; m_outputDescriptions = std::forward<OutputDescriptionsT>(value); }
68 template<typename OutputDescriptionsT = Aws::Vector<OutputDescription>>
69 SqlApplicationConfigurationDescription& WithOutputDescriptions(OutputDescriptionsT&& value) { SetOutputDescriptions(std::forward<OutputDescriptionsT>(value)); return *this;}
70 template<typename OutputDescriptionsT = OutputDescription>
71 SqlApplicationConfigurationDescription& AddOutputDescriptions(OutputDescriptionsT&& value) { m_outputDescriptionsHasBeenSet = true; m_outputDescriptions.emplace_back(std::forward<OutputDescriptionsT>(value)); return *this; }
73
75
79 inline const Aws::Vector<ReferenceDataSourceDescription>& GetReferenceDataSourceDescriptions() const { return m_referenceDataSourceDescriptions; }
80 inline bool ReferenceDataSourceDescriptionsHasBeenSet() const { return m_referenceDataSourceDescriptionsHasBeenSet; }
81 template<typename ReferenceDataSourceDescriptionsT = Aws::Vector<ReferenceDataSourceDescription>>
82 void SetReferenceDataSourceDescriptions(ReferenceDataSourceDescriptionsT&& value) { m_referenceDataSourceDescriptionsHasBeenSet = true; m_referenceDataSourceDescriptions = std::forward<ReferenceDataSourceDescriptionsT>(value); }
83 template<typename ReferenceDataSourceDescriptionsT = Aws::Vector<ReferenceDataSourceDescription>>
84 SqlApplicationConfigurationDescription& WithReferenceDataSourceDescriptions(ReferenceDataSourceDescriptionsT&& value) { SetReferenceDataSourceDescriptions(std::forward<ReferenceDataSourceDescriptionsT>(value)); return *this;}
85 template<typename ReferenceDataSourceDescriptionsT = ReferenceDataSourceDescription>
86 SqlApplicationConfigurationDescription& AddReferenceDataSourceDescriptions(ReferenceDataSourceDescriptionsT&& value) { m_referenceDataSourceDescriptionsHasBeenSet = true; m_referenceDataSourceDescriptions.emplace_back(std::forward<ReferenceDataSourceDescriptionsT>(value)); return *this; }
88 private:
89
90 Aws::Vector<InputDescription> m_inputDescriptions;
91 bool m_inputDescriptionsHasBeenSet = false;
92
93 Aws::Vector<OutputDescription> m_outputDescriptions;
94 bool m_outputDescriptionsHasBeenSet = false;
95
96 Aws::Vector<ReferenceDataSourceDescription> m_referenceDataSourceDescriptions;
97 bool m_referenceDataSourceDescriptionsHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace KinesisAnalyticsV2
102} // namespace Aws
SqlApplicationConfigurationDescription & WithInputDescriptions(InputDescriptionsT &&value)
SqlApplicationConfigurationDescription & AddReferenceDataSourceDescriptions(ReferenceDataSourceDescriptionsT &&value)
SqlApplicationConfigurationDescription & WithReferenceDataSourceDescriptions(ReferenceDataSourceDescriptionsT &&value)
SqlApplicationConfigurationDescription & AddOutputDescriptions(OutputDescriptionsT &&value)
SqlApplicationConfigurationDescription & WithOutputDescriptions(OutputDescriptionsT &&value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISANALYTICSV2_API SqlApplicationConfigurationDescription()=default
AWS_KINESISANALYTICSV2_API SqlApplicationConfigurationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
SqlApplicationConfigurationDescription & AddInputDescriptions(InputDescriptionsT &&value)
const Aws::Vector< ReferenceDataSourceDescription > & GetReferenceDataSourceDescriptions() const
AWS_KINESISANALYTICSV2_API SqlApplicationConfigurationDescription(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue