AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
SqlApplicationConfigurationUpdate.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
9#include <aws/kinesisanalyticsv2/model/InputUpdate.h>
10#include <aws/kinesisanalyticsv2/model/OutputUpdate.h>
11#include <aws/kinesisanalyticsv2/model/ReferenceDataSourceUpdate.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace KinesisAnalyticsV2 {
23namespace Model {
24
33 public:
34 AWS_KINESISANALYTICSV2_API SqlApplicationConfigurationUpdate() = default;
37 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const Aws::Vector<InputUpdate>& GetInputUpdates() const { return m_inputUpdates; }
45 inline bool InputUpdatesHasBeenSet() const { return m_inputUpdatesHasBeenSet; }
46 template <typename InputUpdatesT = Aws::Vector<InputUpdate>>
47 void SetInputUpdates(InputUpdatesT&& value) {
48 m_inputUpdatesHasBeenSet = true;
49 m_inputUpdates = std::forward<InputUpdatesT>(value);
50 }
51 template <typename InputUpdatesT = Aws::Vector<InputUpdate>>
53 SetInputUpdates(std::forward<InputUpdatesT>(value));
54 return *this;
55 }
56 template <typename InputUpdatesT = InputUpdate>
58 m_inputUpdatesHasBeenSet = true;
59 m_inputUpdates.emplace_back(std::forward<InputUpdatesT>(value));
60 return *this;
61 }
63
65
69 inline const Aws::Vector<OutputUpdate>& GetOutputUpdates() const { return m_outputUpdates; }
70 inline bool OutputUpdatesHasBeenSet() const { return m_outputUpdatesHasBeenSet; }
71 template <typename OutputUpdatesT = Aws::Vector<OutputUpdate>>
72 void SetOutputUpdates(OutputUpdatesT&& value) {
73 m_outputUpdatesHasBeenSet = true;
74 m_outputUpdates = std::forward<OutputUpdatesT>(value);
75 }
76 template <typename OutputUpdatesT = Aws::Vector<OutputUpdate>>
78 SetOutputUpdates(std::forward<OutputUpdatesT>(value));
79 return *this;
80 }
81 template <typename OutputUpdatesT = OutputUpdate>
83 m_outputUpdatesHasBeenSet = true;
84 m_outputUpdates.emplace_back(std::forward<OutputUpdatesT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::Vector<ReferenceDataSourceUpdate>& GetReferenceDataSourceUpdates() const { return m_referenceDataSourceUpdates; }
95 inline bool ReferenceDataSourceUpdatesHasBeenSet() const { return m_referenceDataSourceUpdatesHasBeenSet; }
96 template <typename ReferenceDataSourceUpdatesT = Aws::Vector<ReferenceDataSourceUpdate>>
97 void SetReferenceDataSourceUpdates(ReferenceDataSourceUpdatesT&& value) {
98 m_referenceDataSourceUpdatesHasBeenSet = true;
99 m_referenceDataSourceUpdates = std::forward<ReferenceDataSourceUpdatesT>(value);
100 }
101 template <typename ReferenceDataSourceUpdatesT = Aws::Vector<ReferenceDataSourceUpdate>>
103 SetReferenceDataSourceUpdates(std::forward<ReferenceDataSourceUpdatesT>(value));
104 return *this;
105 }
106 template <typename ReferenceDataSourceUpdatesT = ReferenceDataSourceUpdate>
108 m_referenceDataSourceUpdatesHasBeenSet = true;
109 m_referenceDataSourceUpdates.emplace_back(std::forward<ReferenceDataSourceUpdatesT>(value));
110 return *this;
111 }
113 private:
114 Aws::Vector<InputUpdate> m_inputUpdates;
115
116 Aws::Vector<OutputUpdate> m_outputUpdates;
117
118 Aws::Vector<ReferenceDataSourceUpdate> m_referenceDataSourceUpdates;
119 bool m_inputUpdatesHasBeenSet = false;
120 bool m_outputUpdatesHasBeenSet = false;
121 bool m_referenceDataSourceUpdatesHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace KinesisAnalyticsV2
126} // namespace Aws
SqlApplicationConfigurationUpdate & AddOutputUpdates(OutputUpdatesT &&value)
SqlApplicationConfigurationUpdate & WithOutputUpdates(OutputUpdatesT &&value)
AWS_KINESISANALYTICSV2_API SqlApplicationConfigurationUpdate(Aws::Utils::Json::JsonView jsonValue)
SqlApplicationConfigurationUpdate & AddReferenceDataSourceUpdates(ReferenceDataSourceUpdatesT &&value)
AWS_KINESISANALYTICSV2_API SqlApplicationConfigurationUpdate()=default
AWS_KINESISANALYTICSV2_API SqlApplicationConfigurationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
SqlApplicationConfigurationUpdate & AddInputUpdates(InputUpdatesT &&value)
const Aws::Vector< ReferenceDataSourceUpdate > & GetReferenceDataSourceUpdates() const
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
SqlApplicationConfigurationUpdate & WithReferenceDataSourceUpdates(ReferenceDataSourceUpdatesT &&value)
SqlApplicationConfigurationUpdate & WithInputUpdates(InputUpdatesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue