AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 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 ApplicationUpdate& WithInputUpdates(InputUpdatesT&& value) { SetInputUpdates(std::forward<InputUpdatesT>(value)); return *this;}
56 template<typename InputUpdatesT = InputUpdate>
57 ApplicationUpdate& AddInputUpdates(InputUpdatesT&& value) { m_inputUpdatesHasBeenSet = true; m_inputUpdates.emplace_back(std::forward<InputUpdatesT>(value)); return *this; }
59
61
64 inline const Aws::String& GetApplicationCodeUpdate() const { return m_applicationCodeUpdate; }
65 inline bool ApplicationCodeUpdateHasBeenSet() const { return m_applicationCodeUpdateHasBeenSet; }
66 template<typename ApplicationCodeUpdateT = Aws::String>
67 void SetApplicationCodeUpdate(ApplicationCodeUpdateT&& value) { m_applicationCodeUpdateHasBeenSet = true; m_applicationCodeUpdate = std::forward<ApplicationCodeUpdateT>(value); }
68 template<typename ApplicationCodeUpdateT = Aws::String>
69 ApplicationUpdate& WithApplicationCodeUpdate(ApplicationCodeUpdateT&& value) { SetApplicationCodeUpdate(std::forward<ApplicationCodeUpdateT>(value)); return *this;}
71
73
76 inline const Aws::Vector<OutputUpdate>& GetOutputUpdates() const { return m_outputUpdates; }
77 inline bool OutputUpdatesHasBeenSet() const { return m_outputUpdatesHasBeenSet; }
78 template<typename OutputUpdatesT = Aws::Vector<OutputUpdate>>
79 void SetOutputUpdates(OutputUpdatesT&& value) { m_outputUpdatesHasBeenSet = true; m_outputUpdates = std::forward<OutputUpdatesT>(value); }
80 template<typename OutputUpdatesT = Aws::Vector<OutputUpdate>>
81 ApplicationUpdate& WithOutputUpdates(OutputUpdatesT&& value) { SetOutputUpdates(std::forward<OutputUpdatesT>(value)); return *this;}
82 template<typename OutputUpdatesT = OutputUpdate>
83 ApplicationUpdate& AddOutputUpdates(OutputUpdatesT&& value) { m_outputUpdatesHasBeenSet = true; m_outputUpdates.emplace_back(std::forward<OutputUpdatesT>(value)); return *this; }
85
87
90 inline const Aws::Vector<ReferenceDataSourceUpdate>& GetReferenceDataSourceUpdates() const { return m_referenceDataSourceUpdates; }
91 inline bool ReferenceDataSourceUpdatesHasBeenSet() const { return m_referenceDataSourceUpdatesHasBeenSet; }
92 template<typename ReferenceDataSourceUpdatesT = Aws::Vector<ReferenceDataSourceUpdate>>
93 void SetReferenceDataSourceUpdates(ReferenceDataSourceUpdatesT&& value) { m_referenceDataSourceUpdatesHasBeenSet = true; m_referenceDataSourceUpdates = std::forward<ReferenceDataSourceUpdatesT>(value); }
94 template<typename ReferenceDataSourceUpdatesT = Aws::Vector<ReferenceDataSourceUpdate>>
95 ApplicationUpdate& WithReferenceDataSourceUpdates(ReferenceDataSourceUpdatesT&& value) { SetReferenceDataSourceUpdates(std::forward<ReferenceDataSourceUpdatesT>(value)); return *this;}
96 template<typename ReferenceDataSourceUpdatesT = ReferenceDataSourceUpdate>
97 ApplicationUpdate& AddReferenceDataSourceUpdates(ReferenceDataSourceUpdatesT&& value) { m_referenceDataSourceUpdatesHasBeenSet = true; m_referenceDataSourceUpdates.emplace_back(std::forward<ReferenceDataSourceUpdatesT>(value)); return *this; }
99
101
104 inline const Aws::Vector<CloudWatchLoggingOptionUpdate>& GetCloudWatchLoggingOptionUpdates() const { return m_cloudWatchLoggingOptionUpdates; }
105 inline bool CloudWatchLoggingOptionUpdatesHasBeenSet() const { return m_cloudWatchLoggingOptionUpdatesHasBeenSet; }
106 template<typename CloudWatchLoggingOptionUpdatesT = Aws::Vector<CloudWatchLoggingOptionUpdate>>
107 void SetCloudWatchLoggingOptionUpdates(CloudWatchLoggingOptionUpdatesT&& value) { m_cloudWatchLoggingOptionUpdatesHasBeenSet = true; m_cloudWatchLoggingOptionUpdates = std::forward<CloudWatchLoggingOptionUpdatesT>(value); }
108 template<typename CloudWatchLoggingOptionUpdatesT = Aws::Vector<CloudWatchLoggingOptionUpdate>>
109 ApplicationUpdate& WithCloudWatchLoggingOptionUpdates(CloudWatchLoggingOptionUpdatesT&& value) { SetCloudWatchLoggingOptionUpdates(std::forward<CloudWatchLoggingOptionUpdatesT>(value)); return *this;}
110 template<typename CloudWatchLoggingOptionUpdatesT = CloudWatchLoggingOptionUpdate>
111 ApplicationUpdate& AddCloudWatchLoggingOptionUpdates(CloudWatchLoggingOptionUpdatesT&& value) { m_cloudWatchLoggingOptionUpdatesHasBeenSet = true; m_cloudWatchLoggingOptionUpdates.emplace_back(std::forward<CloudWatchLoggingOptionUpdatesT>(value)); return *this; }
113 private:
114
115 Aws::Vector<InputUpdate> m_inputUpdates;
116 bool m_inputUpdatesHasBeenSet = false;
117
118 Aws::String m_applicationCodeUpdate;
119 bool m_applicationCodeUpdateHasBeenSet = false;
120
121 Aws::Vector<OutputUpdate> m_outputUpdates;
122 bool m_outputUpdatesHasBeenSet = false;
123
124 Aws::Vector<ReferenceDataSourceUpdate> m_referenceDataSourceUpdates;
125 bool m_referenceDataSourceUpdatesHasBeenSet = false;
126
127 Aws::Vector<CloudWatchLoggingOptionUpdate> m_cloudWatchLoggingOptionUpdates;
128 bool m_cloudWatchLoggingOptionUpdatesHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace KinesisAnalytics
133} // 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