AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplicationUpdate.h
1
6#pragma once
7#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kinesisanalytics/model/InputUpdate.h>
11#include <aws/kinesisanalytics/model/OutputUpdate.h>
12#include <aws/kinesisanalytics/model/ReferenceDataSourceUpdate.h>
13#include <aws/kinesisanalytics/model/CloudWatchLoggingOptionUpdate.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace KinesisAnalytics
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_KINESISANALYTICS_API ApplicationUpdate();
41 AWS_KINESISANALYTICS_API ApplicationUpdate(Aws::Utils::Json::JsonView jsonValue);
42 AWS_KINESISANALYTICS_API ApplicationUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::Vector<InputUpdate>& GetInputUpdates() const{ return m_inputUpdates; }
51 inline bool InputUpdatesHasBeenSet() const { return m_inputUpdatesHasBeenSet; }
52 inline void SetInputUpdates(const Aws::Vector<InputUpdate>& value) { m_inputUpdatesHasBeenSet = true; m_inputUpdates = value; }
53 inline void SetInputUpdates(Aws::Vector<InputUpdate>&& value) { m_inputUpdatesHasBeenSet = true; m_inputUpdates = std::move(value); }
54 inline ApplicationUpdate& WithInputUpdates(const Aws::Vector<InputUpdate>& value) { SetInputUpdates(value); return *this;}
55 inline ApplicationUpdate& WithInputUpdates(Aws::Vector<InputUpdate>&& value) { SetInputUpdates(std::move(value)); return *this;}
56 inline ApplicationUpdate& AddInputUpdates(const InputUpdate& value) { m_inputUpdatesHasBeenSet = true; m_inputUpdates.push_back(value); return *this; }
57 inline ApplicationUpdate& AddInputUpdates(InputUpdate&& value) { m_inputUpdatesHasBeenSet = true; m_inputUpdates.push_back(std::move(value)); return *this; }
59
61
64 inline const Aws::String& GetApplicationCodeUpdate() const{ return m_applicationCodeUpdate; }
65 inline bool ApplicationCodeUpdateHasBeenSet() const { return m_applicationCodeUpdateHasBeenSet; }
66 inline void SetApplicationCodeUpdate(const Aws::String& value) { m_applicationCodeUpdateHasBeenSet = true; m_applicationCodeUpdate = value; }
67 inline void SetApplicationCodeUpdate(Aws::String&& value) { m_applicationCodeUpdateHasBeenSet = true; m_applicationCodeUpdate = std::move(value); }
68 inline void SetApplicationCodeUpdate(const char* value) { m_applicationCodeUpdateHasBeenSet = true; m_applicationCodeUpdate.assign(value); }
70 inline ApplicationUpdate& WithApplicationCodeUpdate(Aws::String&& value) { SetApplicationCodeUpdate(std::move(value)); return *this;}
71 inline ApplicationUpdate& WithApplicationCodeUpdate(const char* value) { SetApplicationCodeUpdate(value); return *this;}
73
75
78 inline const Aws::Vector<OutputUpdate>& GetOutputUpdates() const{ return m_outputUpdates; }
79 inline bool OutputUpdatesHasBeenSet() const { return m_outputUpdatesHasBeenSet; }
80 inline void SetOutputUpdates(const Aws::Vector<OutputUpdate>& value) { m_outputUpdatesHasBeenSet = true; m_outputUpdates = value; }
81 inline void SetOutputUpdates(Aws::Vector<OutputUpdate>&& value) { m_outputUpdatesHasBeenSet = true; m_outputUpdates = std::move(value); }
83 inline ApplicationUpdate& WithOutputUpdates(Aws::Vector<OutputUpdate>&& value) { SetOutputUpdates(std::move(value)); return *this;}
84 inline ApplicationUpdate& AddOutputUpdates(const OutputUpdate& value) { m_outputUpdatesHasBeenSet = true; m_outputUpdates.push_back(value); return *this; }
85 inline ApplicationUpdate& AddOutputUpdates(OutputUpdate&& value) { m_outputUpdatesHasBeenSet = true; m_outputUpdates.push_back(std::move(value)); return *this; }
87
89
92 inline const Aws::Vector<ReferenceDataSourceUpdate>& GetReferenceDataSourceUpdates() const{ return m_referenceDataSourceUpdates; }
93 inline bool ReferenceDataSourceUpdatesHasBeenSet() const { return m_referenceDataSourceUpdatesHasBeenSet; }
94 inline void SetReferenceDataSourceUpdates(const Aws::Vector<ReferenceDataSourceUpdate>& value) { m_referenceDataSourceUpdatesHasBeenSet = true; m_referenceDataSourceUpdates = value; }
95 inline void SetReferenceDataSourceUpdates(Aws::Vector<ReferenceDataSourceUpdate>&& value) { m_referenceDataSourceUpdatesHasBeenSet = true; m_referenceDataSourceUpdates = std::move(value); }
98 inline ApplicationUpdate& AddReferenceDataSourceUpdates(const ReferenceDataSourceUpdate& value) { m_referenceDataSourceUpdatesHasBeenSet = true; m_referenceDataSourceUpdates.push_back(value); return *this; }
99 inline ApplicationUpdate& AddReferenceDataSourceUpdates(ReferenceDataSourceUpdate&& value) { m_referenceDataSourceUpdatesHasBeenSet = true; m_referenceDataSourceUpdates.push_back(std::move(value)); return *this; }
101
103
106 inline const Aws::Vector<CloudWatchLoggingOptionUpdate>& GetCloudWatchLoggingOptionUpdates() const{ return m_cloudWatchLoggingOptionUpdates; }
107 inline bool CloudWatchLoggingOptionUpdatesHasBeenSet() const { return m_cloudWatchLoggingOptionUpdatesHasBeenSet; }
108 inline void SetCloudWatchLoggingOptionUpdates(const Aws::Vector<CloudWatchLoggingOptionUpdate>& value) { m_cloudWatchLoggingOptionUpdatesHasBeenSet = true; m_cloudWatchLoggingOptionUpdates = value; }
109 inline void SetCloudWatchLoggingOptionUpdates(Aws::Vector<CloudWatchLoggingOptionUpdate>&& value) { m_cloudWatchLoggingOptionUpdatesHasBeenSet = true; m_cloudWatchLoggingOptionUpdates = std::move(value); }
112 inline ApplicationUpdate& AddCloudWatchLoggingOptionUpdates(const CloudWatchLoggingOptionUpdate& value) { m_cloudWatchLoggingOptionUpdatesHasBeenSet = true; m_cloudWatchLoggingOptionUpdates.push_back(value); return *this; }
113 inline ApplicationUpdate& AddCloudWatchLoggingOptionUpdates(CloudWatchLoggingOptionUpdate&& value) { m_cloudWatchLoggingOptionUpdatesHasBeenSet = true; m_cloudWatchLoggingOptionUpdates.push_back(std::move(value)); return *this; }
115 private:
116
117 Aws::Vector<InputUpdate> m_inputUpdates;
118 bool m_inputUpdatesHasBeenSet = false;
119
120 Aws::String m_applicationCodeUpdate;
121 bool m_applicationCodeUpdateHasBeenSet = false;
122
123 Aws::Vector<OutputUpdate> m_outputUpdates;
124 bool m_outputUpdatesHasBeenSet = false;
125
126 Aws::Vector<ReferenceDataSourceUpdate> m_referenceDataSourceUpdates;
127 bool m_referenceDataSourceUpdatesHasBeenSet = false;
128
129 Aws::Vector<CloudWatchLoggingOptionUpdate> m_cloudWatchLoggingOptionUpdates;
130 bool m_cloudWatchLoggingOptionUpdatesHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace KinesisAnalytics
135} // namespace Aws
ApplicationUpdate & WithCloudWatchLoggingOptionUpdates(const Aws::Vector< CloudWatchLoggingOptionUpdate > &value)
void SetCloudWatchLoggingOptionUpdates(Aws::Vector< CloudWatchLoggingOptionUpdate > &&value)
ApplicationUpdate & WithOutputUpdates(const Aws::Vector< OutputUpdate > &value)
ApplicationUpdate & WithReferenceDataSourceUpdates(const Aws::Vector< ReferenceDataSourceUpdate > &value)
void SetReferenceDataSourceUpdates(Aws::Vector< ReferenceDataSourceUpdate > &&value)
ApplicationUpdate & WithApplicationCodeUpdate(Aws::String &&value)
ApplicationUpdate & WithInputUpdates(const Aws::Vector< InputUpdate > &value)
AWS_KINESISANALYTICS_API ApplicationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ReferenceDataSourceUpdate > & GetReferenceDataSourceUpdates() const
void SetCloudWatchLoggingOptionUpdates(const Aws::Vector< CloudWatchLoggingOptionUpdate > &value)
ApplicationUpdate & AddInputUpdates(const InputUpdate &value)
ApplicationUpdate & AddOutputUpdates(const OutputUpdate &value)
void SetApplicationCodeUpdate(const Aws::String &value)
void SetOutputUpdates(const Aws::Vector< OutputUpdate > &value)
void SetInputUpdates(Aws::Vector< InputUpdate > &&value)
const Aws::Vector< InputUpdate > & GetInputUpdates() const
ApplicationUpdate & AddOutputUpdates(OutputUpdate &&value)
AWS_KINESISANALYTICS_API ApplicationUpdate()
ApplicationUpdate & WithApplicationCodeUpdate(const Aws::String &value)
void SetReferenceDataSourceUpdates(const Aws::Vector< ReferenceDataSourceUpdate > &value)
ApplicationUpdate & WithOutputUpdates(Aws::Vector< OutputUpdate > &&value)
ApplicationUpdate & AddCloudWatchLoggingOptionUpdates(const CloudWatchLoggingOptionUpdate &value)
ApplicationUpdate & AddReferenceDataSourceUpdates(ReferenceDataSourceUpdate &&value)
AWS_KINESISANALYTICS_API ApplicationUpdate(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
ApplicationUpdate & WithReferenceDataSourceUpdates(Aws::Vector< ReferenceDataSourceUpdate > &&value)
ApplicationUpdate & WithCloudWatchLoggingOptionUpdates(Aws::Vector< CloudWatchLoggingOptionUpdate > &&value)
ApplicationUpdate & WithInputUpdates(Aws::Vector< InputUpdate > &&value)
const Aws::Vector< CloudWatchLoggingOptionUpdate > & GetCloudWatchLoggingOptionUpdates() const
void SetInputUpdates(const Aws::Vector< InputUpdate > &value)
ApplicationUpdate & AddReferenceDataSourceUpdates(const ReferenceDataSourceUpdate &value)
void SetOutputUpdates(Aws::Vector< OutputUpdate > &&value)
ApplicationUpdate & AddInputUpdates(InputUpdate &&value)
const Aws::Vector< OutputUpdate > & GetOutputUpdates() const
ApplicationUpdate & WithApplicationCodeUpdate(const char *value)
ApplicationUpdate & AddCloudWatchLoggingOptionUpdates(CloudWatchLoggingOptionUpdate &&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