AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
ApplicationUpdate.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
10#include <aws/kinesisanalytics/model/CloudWatchLoggingOptionUpdate.h>
11#include <aws/kinesisanalytics/model/InputUpdate.h>
12#include <aws/kinesisanalytics/model/OutputUpdate.h>
13#include <aws/kinesisanalytics/model/ReferenceDataSourceUpdate.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace KinesisAnalytics {
25namespace Model {
26
34 public:
35 AWS_KINESISANALYTICS_API ApplicationUpdate() = default;
36 AWS_KINESISANALYTICS_API ApplicationUpdate(Aws::Utils::Json::JsonView jsonValue);
37 AWS_KINESISANALYTICS_API ApplicationUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
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>>
52 ApplicationUpdate& WithInputUpdates(InputUpdatesT&& value) {
53 SetInputUpdates(std::forward<InputUpdatesT>(value));
54 return *this;
55 }
56 template <typename InputUpdatesT = InputUpdate>
57 ApplicationUpdate& AddInputUpdates(InputUpdatesT&& value) {
58 m_inputUpdatesHasBeenSet = true;
59 m_inputUpdates.emplace_back(std::forward<InputUpdatesT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetApplicationCodeUpdate() const { return m_applicationCodeUpdate; }
69 inline bool ApplicationCodeUpdateHasBeenSet() const { return m_applicationCodeUpdateHasBeenSet; }
70 template <typename ApplicationCodeUpdateT = Aws::String>
71 void SetApplicationCodeUpdate(ApplicationCodeUpdateT&& value) {
72 m_applicationCodeUpdateHasBeenSet = true;
73 m_applicationCodeUpdate = std::forward<ApplicationCodeUpdateT>(value);
74 }
75 template <typename ApplicationCodeUpdateT = Aws::String>
76 ApplicationUpdate& WithApplicationCodeUpdate(ApplicationCodeUpdateT&& value) {
77 SetApplicationCodeUpdate(std::forward<ApplicationCodeUpdateT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::Vector<OutputUpdate>& GetOutputUpdates() const { return m_outputUpdates; }
87 inline bool OutputUpdatesHasBeenSet() const { return m_outputUpdatesHasBeenSet; }
88 template <typename OutputUpdatesT = Aws::Vector<OutputUpdate>>
89 void SetOutputUpdates(OutputUpdatesT&& value) {
90 m_outputUpdatesHasBeenSet = true;
91 m_outputUpdates = std::forward<OutputUpdatesT>(value);
92 }
93 template <typename OutputUpdatesT = Aws::Vector<OutputUpdate>>
94 ApplicationUpdate& WithOutputUpdates(OutputUpdatesT&& value) {
95 SetOutputUpdates(std::forward<OutputUpdatesT>(value));
96 return *this;
97 }
98 template <typename OutputUpdatesT = OutputUpdate>
99 ApplicationUpdate& AddOutputUpdates(OutputUpdatesT&& value) {
100 m_outputUpdatesHasBeenSet = true;
101 m_outputUpdates.emplace_back(std::forward<OutputUpdatesT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::Vector<ReferenceDataSourceUpdate>& GetReferenceDataSourceUpdates() const { return m_referenceDataSourceUpdates; }
111 inline bool ReferenceDataSourceUpdatesHasBeenSet() const { return m_referenceDataSourceUpdatesHasBeenSet; }
112 template <typename ReferenceDataSourceUpdatesT = Aws::Vector<ReferenceDataSourceUpdate>>
113 void SetReferenceDataSourceUpdates(ReferenceDataSourceUpdatesT&& value) {
114 m_referenceDataSourceUpdatesHasBeenSet = true;
115 m_referenceDataSourceUpdates = std::forward<ReferenceDataSourceUpdatesT>(value);
116 }
117 template <typename ReferenceDataSourceUpdatesT = Aws::Vector<ReferenceDataSourceUpdate>>
118 ApplicationUpdate& WithReferenceDataSourceUpdates(ReferenceDataSourceUpdatesT&& value) {
119 SetReferenceDataSourceUpdates(std::forward<ReferenceDataSourceUpdatesT>(value));
120 return *this;
121 }
122 template <typename ReferenceDataSourceUpdatesT = ReferenceDataSourceUpdate>
123 ApplicationUpdate& AddReferenceDataSourceUpdates(ReferenceDataSourceUpdatesT&& value) {
124 m_referenceDataSourceUpdatesHasBeenSet = true;
125 m_referenceDataSourceUpdates.emplace_back(std::forward<ReferenceDataSourceUpdatesT>(value));
126 return *this;
127 }
129
131
135 return m_cloudWatchLoggingOptionUpdates;
136 }
137 inline bool CloudWatchLoggingOptionUpdatesHasBeenSet() const { return m_cloudWatchLoggingOptionUpdatesHasBeenSet; }
138 template <typename CloudWatchLoggingOptionUpdatesT = Aws::Vector<CloudWatchLoggingOptionUpdate>>
139 void SetCloudWatchLoggingOptionUpdates(CloudWatchLoggingOptionUpdatesT&& value) {
140 m_cloudWatchLoggingOptionUpdatesHasBeenSet = true;
141 m_cloudWatchLoggingOptionUpdates = std::forward<CloudWatchLoggingOptionUpdatesT>(value);
142 }
143 template <typename CloudWatchLoggingOptionUpdatesT = Aws::Vector<CloudWatchLoggingOptionUpdate>>
144 ApplicationUpdate& WithCloudWatchLoggingOptionUpdates(CloudWatchLoggingOptionUpdatesT&& value) {
145 SetCloudWatchLoggingOptionUpdates(std::forward<CloudWatchLoggingOptionUpdatesT>(value));
146 return *this;
147 }
148 template <typename CloudWatchLoggingOptionUpdatesT = CloudWatchLoggingOptionUpdate>
149 ApplicationUpdate& AddCloudWatchLoggingOptionUpdates(CloudWatchLoggingOptionUpdatesT&& value) {
150 m_cloudWatchLoggingOptionUpdatesHasBeenSet = true;
151 m_cloudWatchLoggingOptionUpdates.emplace_back(std::forward<CloudWatchLoggingOptionUpdatesT>(value));
152 return *this;
153 }
155 private:
156 Aws::Vector<InputUpdate> m_inputUpdates;
157
158 Aws::String m_applicationCodeUpdate;
159
160 Aws::Vector<OutputUpdate> m_outputUpdates;
161
162 Aws::Vector<ReferenceDataSourceUpdate> m_referenceDataSourceUpdates;
163
164 Aws::Vector<CloudWatchLoggingOptionUpdate> m_cloudWatchLoggingOptionUpdates;
165 bool m_inputUpdatesHasBeenSet = false;
166 bool m_applicationCodeUpdateHasBeenSet = false;
167 bool m_outputUpdatesHasBeenSet = false;
168 bool m_referenceDataSourceUpdatesHasBeenSet = false;
169 bool m_cloudWatchLoggingOptionUpdatesHasBeenSet = false;
170};
171
172} // namespace Model
173} // namespace KinesisAnalytics
174} // namespace Aws
void SetApplicationCodeUpdate(ApplicationCodeUpdateT &&value)
ApplicationUpdate & AddOutputUpdates(OutputUpdatesT &&value)
AWS_KINESISANALYTICS_API ApplicationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ReferenceDataSourceUpdate > & GetReferenceDataSourceUpdates() const
AWS_KINESISANALYTICS_API ApplicationUpdate()=default
ApplicationUpdate & AddReferenceDataSourceUpdates(ReferenceDataSourceUpdatesT &&value)
void SetCloudWatchLoggingOptionUpdates(CloudWatchLoggingOptionUpdatesT &&value)
void SetReferenceDataSourceUpdates(ReferenceDataSourceUpdatesT &&value)
const Aws::Vector< InputUpdate > & GetInputUpdates() const
ApplicationUpdate & WithOutputUpdates(OutputUpdatesT &&value)
ApplicationUpdate & WithCloudWatchLoggingOptionUpdates(CloudWatchLoggingOptionUpdatesT &&value)
ApplicationUpdate & WithInputUpdates(InputUpdatesT &&value)
AWS_KINESISANALYTICS_API ApplicationUpdate(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
ApplicationUpdate & AddInputUpdates(InputUpdatesT &&value)
const Aws::Vector< CloudWatchLoggingOptionUpdate > & GetCloudWatchLoggingOptionUpdates() const
ApplicationUpdate & AddCloudWatchLoggingOptionUpdates(CloudWatchLoggingOptionUpdatesT &&value)
ApplicationUpdate & WithApplicationCodeUpdate(ApplicationCodeUpdateT &&value)
const Aws::Vector< OutputUpdate > & GetOutputUpdates() const
ApplicationUpdate & WithReferenceDataSourceUpdates(ReferenceDataSourceUpdatesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue