AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateApplicationRequest.h
1
6#pragma once
7#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kinesisanalyticsv2/model/ApplicationConfigurationUpdate.h>
11#include <aws/kinesisanalyticsv2/model/RunConfigurationUpdate.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/kinesisanalyticsv2/model/RuntimeEnvironment.h>
14#include <aws/kinesisanalyticsv2/model/CloudWatchLoggingOptionUpdate.h>
15#include <utility>
16
17namespace Aws
18{
19namespace KinesisAnalyticsV2
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_KINESISANALYTICSV2_API UpdateApplicationRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateApplication"; }
36
37 AWS_KINESISANALYTICSV2_API Aws::String SerializePayload() const override;
38
39 AWS_KINESISANALYTICSV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
46 inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
47 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
48 inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
49 inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
50 inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
51 inline UpdateApplicationRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
52 inline UpdateApplicationRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
53 inline UpdateApplicationRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
55
57
65 inline long long GetCurrentApplicationVersionId() const{ return m_currentApplicationVersionId; }
66 inline bool CurrentApplicationVersionIdHasBeenSet() const { return m_currentApplicationVersionIdHasBeenSet; }
67 inline void SetCurrentApplicationVersionId(long long value) { m_currentApplicationVersionIdHasBeenSet = true; m_currentApplicationVersionId = value; }
70
72
75 inline const ApplicationConfigurationUpdate& GetApplicationConfigurationUpdate() const{ return m_applicationConfigurationUpdate; }
76 inline bool ApplicationConfigurationUpdateHasBeenSet() const { return m_applicationConfigurationUpdateHasBeenSet; }
77 inline void SetApplicationConfigurationUpdate(const ApplicationConfigurationUpdate& value) { m_applicationConfigurationUpdateHasBeenSet = true; m_applicationConfigurationUpdate = value; }
78 inline void SetApplicationConfigurationUpdate(ApplicationConfigurationUpdate&& value) { m_applicationConfigurationUpdateHasBeenSet = true; m_applicationConfigurationUpdate = std::move(value); }
82
84
87 inline const Aws::String& GetServiceExecutionRoleUpdate() const{ return m_serviceExecutionRoleUpdate; }
88 inline bool ServiceExecutionRoleUpdateHasBeenSet() const { return m_serviceExecutionRoleUpdateHasBeenSet; }
89 inline void SetServiceExecutionRoleUpdate(const Aws::String& value) { m_serviceExecutionRoleUpdateHasBeenSet = true; m_serviceExecutionRoleUpdate = value; }
90 inline void SetServiceExecutionRoleUpdate(Aws::String&& value) { m_serviceExecutionRoleUpdateHasBeenSet = true; m_serviceExecutionRoleUpdate = std::move(value); }
91 inline void SetServiceExecutionRoleUpdate(const char* value) { m_serviceExecutionRoleUpdateHasBeenSet = true; m_serviceExecutionRoleUpdate.assign(value); }
96
98
101 inline const RunConfigurationUpdate& GetRunConfigurationUpdate() const{ return m_runConfigurationUpdate; }
102 inline bool RunConfigurationUpdateHasBeenSet() const { return m_runConfigurationUpdateHasBeenSet; }
103 inline void SetRunConfigurationUpdate(const RunConfigurationUpdate& value) { m_runConfigurationUpdateHasBeenSet = true; m_runConfigurationUpdate = value; }
104 inline void SetRunConfigurationUpdate(RunConfigurationUpdate&& value) { m_runConfigurationUpdateHasBeenSet = true; m_runConfigurationUpdate = std::move(value); }
108
110
115 inline const Aws::Vector<CloudWatchLoggingOptionUpdate>& GetCloudWatchLoggingOptionUpdates() const{ return m_cloudWatchLoggingOptionUpdates; }
116 inline bool CloudWatchLoggingOptionUpdatesHasBeenSet() const { return m_cloudWatchLoggingOptionUpdatesHasBeenSet; }
117 inline void SetCloudWatchLoggingOptionUpdates(const Aws::Vector<CloudWatchLoggingOptionUpdate>& value) { m_cloudWatchLoggingOptionUpdatesHasBeenSet = true; m_cloudWatchLoggingOptionUpdates = value; }
118 inline void SetCloudWatchLoggingOptionUpdates(Aws::Vector<CloudWatchLoggingOptionUpdate>&& value) { m_cloudWatchLoggingOptionUpdatesHasBeenSet = true; m_cloudWatchLoggingOptionUpdates = std::move(value); }
121 inline UpdateApplicationRequest& AddCloudWatchLoggingOptionUpdates(const CloudWatchLoggingOptionUpdate& value) { m_cloudWatchLoggingOptionUpdatesHasBeenSet = true; m_cloudWatchLoggingOptionUpdates.push_back(value); return *this; }
122 inline UpdateApplicationRequest& AddCloudWatchLoggingOptionUpdates(CloudWatchLoggingOptionUpdate&& value) { m_cloudWatchLoggingOptionUpdatesHasBeenSet = true; m_cloudWatchLoggingOptionUpdates.push_back(std::move(value)); return *this; }
124
126
134 inline const Aws::String& GetConditionalToken() const{ return m_conditionalToken; }
135 inline bool ConditionalTokenHasBeenSet() const { return m_conditionalTokenHasBeenSet; }
136 inline void SetConditionalToken(const Aws::String& value) { m_conditionalTokenHasBeenSet = true; m_conditionalToken = value; }
137 inline void SetConditionalToken(Aws::String&& value) { m_conditionalTokenHasBeenSet = true; m_conditionalToken = std::move(value); }
138 inline void SetConditionalToken(const char* value) { m_conditionalTokenHasBeenSet = true; m_conditionalToken.assign(value); }
140 inline UpdateApplicationRequest& WithConditionalToken(Aws::String&& value) { SetConditionalToken(std::move(value)); return *this;}
141 inline UpdateApplicationRequest& WithConditionalToken(const char* value) { SetConditionalToken(value); return *this;}
143
145
152 inline const RuntimeEnvironment& GetRuntimeEnvironmentUpdate() const{ return m_runtimeEnvironmentUpdate; }
153 inline bool RuntimeEnvironmentUpdateHasBeenSet() const { return m_runtimeEnvironmentUpdateHasBeenSet; }
154 inline void SetRuntimeEnvironmentUpdate(const RuntimeEnvironment& value) { m_runtimeEnvironmentUpdateHasBeenSet = true; m_runtimeEnvironmentUpdate = value; }
155 inline void SetRuntimeEnvironmentUpdate(RuntimeEnvironment&& value) { m_runtimeEnvironmentUpdateHasBeenSet = true; m_runtimeEnvironmentUpdate = std::move(value); }
159 private:
160
161 Aws::String m_applicationName;
162 bool m_applicationNameHasBeenSet = false;
163
164 long long m_currentApplicationVersionId;
165 bool m_currentApplicationVersionIdHasBeenSet = false;
166
167 ApplicationConfigurationUpdate m_applicationConfigurationUpdate;
168 bool m_applicationConfigurationUpdateHasBeenSet = false;
169
170 Aws::String m_serviceExecutionRoleUpdate;
171 bool m_serviceExecutionRoleUpdateHasBeenSet = false;
172
173 RunConfigurationUpdate m_runConfigurationUpdate;
174 bool m_runConfigurationUpdateHasBeenSet = false;
175
176 Aws::Vector<CloudWatchLoggingOptionUpdate> m_cloudWatchLoggingOptionUpdates;
177 bool m_cloudWatchLoggingOptionUpdatesHasBeenSet = false;
178
179 Aws::String m_conditionalToken;
180 bool m_conditionalTokenHasBeenSet = false;
181
182 RuntimeEnvironment m_runtimeEnvironmentUpdate;
183 bool m_runtimeEnvironmentUpdateHasBeenSet = false;
184 };
185
186} // namespace Model
187} // namespace KinesisAnalyticsV2
188} // namespace Aws
UpdateApplicationRequest & WithRuntimeEnvironmentUpdate(const RuntimeEnvironment &value)
UpdateApplicationRequest & WithCloudWatchLoggingOptionUpdates(Aws::Vector< CloudWatchLoggingOptionUpdate > &&value)
UpdateApplicationRequest & WithCloudWatchLoggingOptionUpdates(const Aws::Vector< CloudWatchLoggingOptionUpdate > &value)
UpdateApplicationRequest & WithServiceExecutionRoleUpdate(const char *value)
UpdateApplicationRequest & WithConditionalToken(const Aws::String &value)
void SetApplicationConfigurationUpdate(ApplicationConfigurationUpdate &&value)
UpdateApplicationRequest & WithConditionalToken(Aws::String &&value)
UpdateApplicationRequest & WithServiceExecutionRoleUpdate(const Aws::String &value)
void SetApplicationConfigurationUpdate(const ApplicationConfigurationUpdate &value)
void SetRunConfigurationUpdate(const RunConfigurationUpdate &value)
UpdateApplicationRequest & AddCloudWatchLoggingOptionUpdates(const CloudWatchLoggingOptionUpdate &value)
UpdateApplicationRequest & WithCurrentApplicationVersionId(long long value)
UpdateApplicationRequest & AddCloudWatchLoggingOptionUpdates(CloudWatchLoggingOptionUpdate &&value)
UpdateApplicationRequest & WithConditionalToken(const char *value)
UpdateApplicationRequest & WithRunConfigurationUpdate(RunConfigurationUpdate &&value)
AWS_KINESISANALYTICSV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateApplicationRequest & WithApplicationName(const char *value)
AWS_KINESISANALYTICSV2_API Aws::String SerializePayload() const override
void SetCloudWatchLoggingOptionUpdates(const Aws::Vector< CloudWatchLoggingOptionUpdate > &value)
const Aws::Vector< CloudWatchLoggingOptionUpdate > & GetCloudWatchLoggingOptionUpdates() const
UpdateApplicationRequest & WithApplicationConfigurationUpdate(ApplicationConfigurationUpdate &&value)
void SetCloudWatchLoggingOptionUpdates(Aws::Vector< CloudWatchLoggingOptionUpdate > &&value)
UpdateApplicationRequest & WithApplicationName(const Aws::String &value)
UpdateApplicationRequest & WithApplicationName(Aws::String &&value)
UpdateApplicationRequest & WithServiceExecutionRoleUpdate(Aws::String &&value)
const ApplicationConfigurationUpdate & GetApplicationConfigurationUpdate() const
UpdateApplicationRequest & WithRuntimeEnvironmentUpdate(RuntimeEnvironment &&value)
UpdateApplicationRequest & WithRunConfigurationUpdate(const RunConfigurationUpdate &value)
UpdateApplicationRequest & WithApplicationConfigurationUpdate(const ApplicationConfigurationUpdate &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector