AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SqlApplicationConfigurationUpdate.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/InputUpdate.h>
10#include <aws/kinesisanalyticsv2/model/OutputUpdate.h>
11#include <aws/kinesisanalyticsv2/model/ReferenceDataSourceUpdate.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
37 {
38 public:
39 AWS_KINESISANALYTICSV2_API SqlApplicationConfigurationUpdate() = default;
42 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::Vector<InputUpdate>& GetInputUpdates() const { return m_inputUpdates; }
51 inline bool InputUpdatesHasBeenSet() const { return m_inputUpdatesHasBeenSet; }
52 template<typename InputUpdatesT = Aws::Vector<InputUpdate>>
53 void SetInputUpdates(InputUpdatesT&& value) { m_inputUpdatesHasBeenSet = true; m_inputUpdates = std::forward<InputUpdatesT>(value); }
54 template<typename InputUpdatesT = Aws::Vector<InputUpdate>>
55 SqlApplicationConfigurationUpdate& WithInputUpdates(InputUpdatesT&& value) { SetInputUpdates(std::forward<InputUpdatesT>(value)); return *this;}
56 template<typename InputUpdatesT = InputUpdate>
57 SqlApplicationConfigurationUpdate& AddInputUpdates(InputUpdatesT&& value) { m_inputUpdatesHasBeenSet = true; m_inputUpdates.emplace_back(std::forward<InputUpdatesT>(value)); return *this; }
59
61
65 inline const Aws::Vector<OutputUpdate>& GetOutputUpdates() const { return m_outputUpdates; }
66 inline bool OutputUpdatesHasBeenSet() const { return m_outputUpdatesHasBeenSet; }
67 template<typename OutputUpdatesT = Aws::Vector<OutputUpdate>>
68 void SetOutputUpdates(OutputUpdatesT&& value) { m_outputUpdatesHasBeenSet = true; m_outputUpdates = std::forward<OutputUpdatesT>(value); }
69 template<typename OutputUpdatesT = Aws::Vector<OutputUpdate>>
70 SqlApplicationConfigurationUpdate& WithOutputUpdates(OutputUpdatesT&& value) { SetOutputUpdates(std::forward<OutputUpdatesT>(value)); return *this;}
71 template<typename OutputUpdatesT = OutputUpdate>
72 SqlApplicationConfigurationUpdate& AddOutputUpdates(OutputUpdatesT&& value) { m_outputUpdatesHasBeenSet = true; m_outputUpdates.emplace_back(std::forward<OutputUpdatesT>(value)); return *this; }
74
76
80 inline const Aws::Vector<ReferenceDataSourceUpdate>& GetReferenceDataSourceUpdates() const { return m_referenceDataSourceUpdates; }
81 inline bool ReferenceDataSourceUpdatesHasBeenSet() const { return m_referenceDataSourceUpdatesHasBeenSet; }
82 template<typename ReferenceDataSourceUpdatesT = Aws::Vector<ReferenceDataSourceUpdate>>
83 void SetReferenceDataSourceUpdates(ReferenceDataSourceUpdatesT&& value) { m_referenceDataSourceUpdatesHasBeenSet = true; m_referenceDataSourceUpdates = std::forward<ReferenceDataSourceUpdatesT>(value); }
84 template<typename ReferenceDataSourceUpdatesT = Aws::Vector<ReferenceDataSourceUpdate>>
85 SqlApplicationConfigurationUpdate& WithReferenceDataSourceUpdates(ReferenceDataSourceUpdatesT&& value) { SetReferenceDataSourceUpdates(std::forward<ReferenceDataSourceUpdatesT>(value)); return *this;}
86 template<typename ReferenceDataSourceUpdatesT = ReferenceDataSourceUpdate>
87 SqlApplicationConfigurationUpdate& AddReferenceDataSourceUpdates(ReferenceDataSourceUpdatesT&& value) { m_referenceDataSourceUpdatesHasBeenSet = true; m_referenceDataSourceUpdates.emplace_back(std::forward<ReferenceDataSourceUpdatesT>(value)); return *this; }
89 private:
90
91 Aws::Vector<InputUpdate> m_inputUpdates;
92 bool m_inputUpdatesHasBeenSet = false;
93
94 Aws::Vector<OutputUpdate> m_outputUpdates;
95 bool m_outputUpdatesHasBeenSet = false;
96
97 Aws::Vector<ReferenceDataSourceUpdate> m_referenceDataSourceUpdates;
98 bool m_referenceDataSourceUpdatesHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace KinesisAnalyticsV2
103} // 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