AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplicationDetail.h
1
6#pragma once
7#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kinesisanalyticsv2/model/RuntimeEnvironment.h>
10#include <aws/kinesisanalyticsv2/model/ApplicationStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/kinesisanalyticsv2/model/ApplicationConfigurationDescription.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/kinesisanalyticsv2/model/ApplicationMaintenanceConfigurationDescription.h>
15#include <aws/kinesisanalyticsv2/model/ApplicationMode.h>
16#include <aws/kinesisanalyticsv2/model/CloudWatchLoggingOptionDescription.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace KinesisAnalyticsV2
30{
31namespace Model
32{
33
42 {
43 public:
44 AWS_KINESISANALYTICSV2_API ApplicationDetail();
45 AWS_KINESISANALYTICSV2_API ApplicationDetail(Aws::Utils::Json::JsonView jsonValue);
46 AWS_KINESISANALYTICSV2_API ApplicationDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const Aws::String& GetApplicationARN() const{ return m_applicationARN; }
55 inline bool ApplicationARNHasBeenSet() const { return m_applicationARNHasBeenSet; }
56 inline void SetApplicationARN(const Aws::String& value) { m_applicationARNHasBeenSet = true; m_applicationARN = value; }
57 inline void SetApplicationARN(Aws::String&& value) { m_applicationARNHasBeenSet = true; m_applicationARN = std::move(value); }
58 inline void SetApplicationARN(const char* value) { m_applicationARNHasBeenSet = true; m_applicationARN.assign(value); }
59 inline ApplicationDetail& WithApplicationARN(const Aws::String& value) { SetApplicationARN(value); return *this;}
60 inline ApplicationDetail& WithApplicationARN(Aws::String&& value) { SetApplicationARN(std::move(value)); return *this;}
61 inline ApplicationDetail& WithApplicationARN(const char* value) { SetApplicationARN(value); return *this;}
63
65
68 inline const Aws::String& GetApplicationDescription() const{ return m_applicationDescription; }
69 inline bool ApplicationDescriptionHasBeenSet() const { return m_applicationDescriptionHasBeenSet; }
70 inline void SetApplicationDescription(const Aws::String& value) { m_applicationDescriptionHasBeenSet = true; m_applicationDescription = value; }
71 inline void SetApplicationDescription(Aws::String&& value) { m_applicationDescriptionHasBeenSet = true; m_applicationDescription = std::move(value); }
72 inline void SetApplicationDescription(const char* value) { m_applicationDescriptionHasBeenSet = true; m_applicationDescription.assign(value); }
74 inline ApplicationDetail& WithApplicationDescription(Aws::String&& value) { SetApplicationDescription(std::move(value)); return *this;}
75 inline ApplicationDetail& WithApplicationDescription(const char* value) { SetApplicationDescription(value); return *this;}
77
79
82 inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
83 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
84 inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
85 inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
86 inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
87 inline ApplicationDetail& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
88 inline ApplicationDetail& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
89 inline ApplicationDetail& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
91
93
96 inline const RuntimeEnvironment& GetRuntimeEnvironment() const{ return m_runtimeEnvironment; }
97 inline bool RuntimeEnvironmentHasBeenSet() const { return m_runtimeEnvironmentHasBeenSet; }
98 inline void SetRuntimeEnvironment(const RuntimeEnvironment& value) { m_runtimeEnvironmentHasBeenSet = true; m_runtimeEnvironment = value; }
99 inline void SetRuntimeEnvironment(RuntimeEnvironment&& value) { m_runtimeEnvironmentHasBeenSet = true; m_runtimeEnvironment = std::move(value); }
101 inline ApplicationDetail& WithRuntimeEnvironment(RuntimeEnvironment&& value) { SetRuntimeEnvironment(std::move(value)); return *this;}
103
105
109 inline const Aws::String& GetServiceExecutionRole() const{ return m_serviceExecutionRole; }
110 inline bool ServiceExecutionRoleHasBeenSet() const { return m_serviceExecutionRoleHasBeenSet; }
111 inline void SetServiceExecutionRole(const Aws::String& value) { m_serviceExecutionRoleHasBeenSet = true; m_serviceExecutionRole = value; }
112 inline void SetServiceExecutionRole(Aws::String&& value) { m_serviceExecutionRoleHasBeenSet = true; m_serviceExecutionRole = std::move(value); }
113 inline void SetServiceExecutionRole(const char* value) { m_serviceExecutionRoleHasBeenSet = true; m_serviceExecutionRole.assign(value); }
115 inline ApplicationDetail& WithServiceExecutionRole(Aws::String&& value) { SetServiceExecutionRole(std::move(value)); return *this;}
116 inline ApplicationDetail& WithServiceExecutionRole(const char* value) { SetServiceExecutionRole(value); return *this;}
118
120
123 inline const ApplicationStatus& GetApplicationStatus() const{ return m_applicationStatus; }
124 inline bool ApplicationStatusHasBeenSet() const { return m_applicationStatusHasBeenSet; }
125 inline void SetApplicationStatus(const ApplicationStatus& value) { m_applicationStatusHasBeenSet = true; m_applicationStatus = value; }
126 inline void SetApplicationStatus(ApplicationStatus&& value) { m_applicationStatusHasBeenSet = true; m_applicationStatus = std::move(value); }
128 inline ApplicationDetail& WithApplicationStatus(ApplicationStatus&& value) { SetApplicationStatus(std::move(value)); return *this;}
130
132
137 inline long long GetApplicationVersionId() const{ return m_applicationVersionId; }
138 inline bool ApplicationVersionIdHasBeenSet() const { return m_applicationVersionIdHasBeenSet; }
139 inline void SetApplicationVersionId(long long value) { m_applicationVersionIdHasBeenSet = true; m_applicationVersionId = value; }
140 inline ApplicationDetail& WithApplicationVersionId(long long value) { SetApplicationVersionId(value); return *this;}
142
144
147 inline const Aws::Utils::DateTime& GetCreateTimestamp() const{ return m_createTimestamp; }
148 inline bool CreateTimestampHasBeenSet() const { return m_createTimestampHasBeenSet; }
149 inline void SetCreateTimestamp(const Aws::Utils::DateTime& value) { m_createTimestampHasBeenSet = true; m_createTimestamp = value; }
150 inline void SetCreateTimestamp(Aws::Utils::DateTime&& value) { m_createTimestampHasBeenSet = true; m_createTimestamp = std::move(value); }
152 inline ApplicationDetail& WithCreateTimestamp(Aws::Utils::DateTime&& value) { SetCreateTimestamp(std::move(value)); return *this;}
154
156
159 inline const Aws::Utils::DateTime& GetLastUpdateTimestamp() const{ return m_lastUpdateTimestamp; }
160 inline bool LastUpdateTimestampHasBeenSet() const { return m_lastUpdateTimestampHasBeenSet; }
161 inline void SetLastUpdateTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdateTimestampHasBeenSet = true; m_lastUpdateTimestamp = value; }
162 inline void SetLastUpdateTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdateTimestampHasBeenSet = true; m_lastUpdateTimestamp = std::move(value); }
166
168
172 inline const ApplicationConfigurationDescription& GetApplicationConfigurationDescription() const{ return m_applicationConfigurationDescription; }
173 inline bool ApplicationConfigurationDescriptionHasBeenSet() const { return m_applicationConfigurationDescriptionHasBeenSet; }
174 inline void SetApplicationConfigurationDescription(const ApplicationConfigurationDescription& value) { m_applicationConfigurationDescriptionHasBeenSet = true; m_applicationConfigurationDescription = value; }
175 inline void SetApplicationConfigurationDescription(ApplicationConfigurationDescription&& value) { m_applicationConfigurationDescriptionHasBeenSet = true; m_applicationConfigurationDescription = std::move(value); }
179
181
184 inline const Aws::Vector<CloudWatchLoggingOptionDescription>& GetCloudWatchLoggingOptionDescriptions() const{ return m_cloudWatchLoggingOptionDescriptions; }
185 inline bool CloudWatchLoggingOptionDescriptionsHasBeenSet() const { return m_cloudWatchLoggingOptionDescriptionsHasBeenSet; }
186 inline void SetCloudWatchLoggingOptionDescriptions(const Aws::Vector<CloudWatchLoggingOptionDescription>& value) { m_cloudWatchLoggingOptionDescriptionsHasBeenSet = true; m_cloudWatchLoggingOptionDescriptions = value; }
187 inline void SetCloudWatchLoggingOptionDescriptions(Aws::Vector<CloudWatchLoggingOptionDescription>&& value) { m_cloudWatchLoggingOptionDescriptionsHasBeenSet = true; m_cloudWatchLoggingOptionDescriptions = std::move(value); }
190 inline ApplicationDetail& AddCloudWatchLoggingOptionDescriptions(const CloudWatchLoggingOptionDescription& value) { m_cloudWatchLoggingOptionDescriptionsHasBeenSet = true; m_cloudWatchLoggingOptionDescriptions.push_back(value); return *this; }
191 inline ApplicationDetail& AddCloudWatchLoggingOptionDescriptions(CloudWatchLoggingOptionDescription&& value) { m_cloudWatchLoggingOptionDescriptionsHasBeenSet = true; m_cloudWatchLoggingOptionDescriptions.push_back(std::move(value)); return *this; }
193
195
198 inline const ApplicationMaintenanceConfigurationDescription& GetApplicationMaintenanceConfigurationDescription() const{ return m_applicationMaintenanceConfigurationDescription; }
199 inline bool ApplicationMaintenanceConfigurationDescriptionHasBeenSet() const { return m_applicationMaintenanceConfigurationDescriptionHasBeenSet; }
200 inline void SetApplicationMaintenanceConfigurationDescription(const ApplicationMaintenanceConfigurationDescription& value) { m_applicationMaintenanceConfigurationDescriptionHasBeenSet = true; m_applicationMaintenanceConfigurationDescription = value; }
201 inline void SetApplicationMaintenanceConfigurationDescription(ApplicationMaintenanceConfigurationDescription&& value) { m_applicationMaintenanceConfigurationDescriptionHasBeenSet = true; m_applicationMaintenanceConfigurationDescription = std::move(value); }
205
207
211 inline long long GetApplicationVersionUpdatedFrom() const{ return m_applicationVersionUpdatedFrom; }
212 inline bool ApplicationVersionUpdatedFromHasBeenSet() const { return m_applicationVersionUpdatedFromHasBeenSet; }
213 inline void SetApplicationVersionUpdatedFrom(long long value) { m_applicationVersionUpdatedFromHasBeenSet = true; m_applicationVersionUpdatedFrom = value; }
216
218
222 inline long long GetApplicationVersionRolledBackFrom() const{ return m_applicationVersionRolledBackFrom; }
223 inline bool ApplicationVersionRolledBackFromHasBeenSet() const { return m_applicationVersionRolledBackFromHasBeenSet; }
224 inline void SetApplicationVersionRolledBackFrom(long long value) { m_applicationVersionRolledBackFromHasBeenSet = true; m_applicationVersionRolledBackFrom = value; }
227
229
232 inline const Aws::Utils::DateTime& GetApplicationVersionCreateTimestamp() const{ return m_applicationVersionCreateTimestamp; }
233 inline bool ApplicationVersionCreateTimestampHasBeenSet() const { return m_applicationVersionCreateTimestampHasBeenSet; }
234 inline void SetApplicationVersionCreateTimestamp(const Aws::Utils::DateTime& value) { m_applicationVersionCreateTimestampHasBeenSet = true; m_applicationVersionCreateTimestamp = value; }
235 inline void SetApplicationVersionCreateTimestamp(Aws::Utils::DateTime&& value) { m_applicationVersionCreateTimestampHasBeenSet = true; m_applicationVersionCreateTimestamp = std::move(value); }
239
241
244 inline const Aws::String& GetConditionalToken() const{ return m_conditionalToken; }
245 inline bool ConditionalTokenHasBeenSet() const { return m_conditionalTokenHasBeenSet; }
246 inline void SetConditionalToken(const Aws::String& value) { m_conditionalTokenHasBeenSet = true; m_conditionalToken = value; }
247 inline void SetConditionalToken(Aws::String&& value) { m_conditionalTokenHasBeenSet = true; m_conditionalToken = std::move(value); }
248 inline void SetConditionalToken(const char* value) { m_conditionalTokenHasBeenSet = true; m_conditionalToken.assign(value); }
249 inline ApplicationDetail& WithConditionalToken(const Aws::String& value) { SetConditionalToken(value); return *this;}
250 inline ApplicationDetail& WithConditionalToken(Aws::String&& value) { SetConditionalToken(std::move(value)); return *this;}
251 inline ApplicationDetail& WithConditionalToken(const char* value) { SetConditionalToken(value); return *this;}
253
255
258 inline long long GetApplicationVersionRolledBackTo() const{ return m_applicationVersionRolledBackTo; }
259 inline bool ApplicationVersionRolledBackToHasBeenSet() const { return m_applicationVersionRolledBackToHasBeenSet; }
260 inline void SetApplicationVersionRolledBackTo(long long value) { m_applicationVersionRolledBackToHasBeenSet = true; m_applicationVersionRolledBackTo = value; }
263
265
270 inline const ApplicationMode& GetApplicationMode() const{ return m_applicationMode; }
271 inline bool ApplicationModeHasBeenSet() const { return m_applicationModeHasBeenSet; }
272 inline void SetApplicationMode(const ApplicationMode& value) { m_applicationModeHasBeenSet = true; m_applicationMode = value; }
273 inline void SetApplicationMode(ApplicationMode&& value) { m_applicationModeHasBeenSet = true; m_applicationMode = std::move(value); }
274 inline ApplicationDetail& WithApplicationMode(const ApplicationMode& value) { SetApplicationMode(value); return *this;}
275 inline ApplicationDetail& WithApplicationMode(ApplicationMode&& value) { SetApplicationMode(std::move(value)); return *this;}
277 private:
278
279 Aws::String m_applicationARN;
280 bool m_applicationARNHasBeenSet = false;
281
282 Aws::String m_applicationDescription;
283 bool m_applicationDescriptionHasBeenSet = false;
284
285 Aws::String m_applicationName;
286 bool m_applicationNameHasBeenSet = false;
287
288 RuntimeEnvironment m_runtimeEnvironment;
289 bool m_runtimeEnvironmentHasBeenSet = false;
290
291 Aws::String m_serviceExecutionRole;
292 bool m_serviceExecutionRoleHasBeenSet = false;
293
294 ApplicationStatus m_applicationStatus;
295 bool m_applicationStatusHasBeenSet = false;
296
297 long long m_applicationVersionId;
298 bool m_applicationVersionIdHasBeenSet = false;
299
300 Aws::Utils::DateTime m_createTimestamp;
301 bool m_createTimestampHasBeenSet = false;
302
303 Aws::Utils::DateTime m_lastUpdateTimestamp;
304 bool m_lastUpdateTimestampHasBeenSet = false;
305
306 ApplicationConfigurationDescription m_applicationConfigurationDescription;
307 bool m_applicationConfigurationDescriptionHasBeenSet = false;
308
309 Aws::Vector<CloudWatchLoggingOptionDescription> m_cloudWatchLoggingOptionDescriptions;
310 bool m_cloudWatchLoggingOptionDescriptionsHasBeenSet = false;
311
312 ApplicationMaintenanceConfigurationDescription m_applicationMaintenanceConfigurationDescription;
313 bool m_applicationMaintenanceConfigurationDescriptionHasBeenSet = false;
314
315 long long m_applicationVersionUpdatedFrom;
316 bool m_applicationVersionUpdatedFromHasBeenSet = false;
317
318 long long m_applicationVersionRolledBackFrom;
319 bool m_applicationVersionRolledBackFromHasBeenSet = false;
320
321 Aws::Utils::DateTime m_applicationVersionCreateTimestamp;
322 bool m_applicationVersionCreateTimestampHasBeenSet = false;
323
324 Aws::String m_conditionalToken;
325 bool m_conditionalTokenHasBeenSet = false;
326
327 long long m_applicationVersionRolledBackTo;
328 bool m_applicationVersionRolledBackToHasBeenSet = false;
329
330 ApplicationMode m_applicationMode;
331 bool m_applicationModeHasBeenSet = false;
332 };
333
334} // namespace Model
335} // namespace KinesisAnalyticsV2
336} // namespace Aws
void SetCloudWatchLoggingOptionDescriptions(Aws::Vector< CloudWatchLoggingOptionDescription > &&value)
ApplicationDetail & WithApplicationStatus(const ApplicationStatus &value)
void SetApplicationDescription(const Aws::String &value)
ApplicationDetail & WithServiceExecutionRole(Aws::String &&value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreateTimestamp(Aws::Utils::DateTime &&value)
ApplicationDetail & WithApplicationMaintenanceConfigurationDescription(const ApplicationMaintenanceConfigurationDescription &value)
ApplicationDetail & WithApplicationName(Aws::String &&value)
void SetApplicationConfigurationDescription(ApplicationConfigurationDescription &&value)
ApplicationDetail & WithRuntimeEnvironment(RuntimeEnvironment &&value)
ApplicationDetail & AddCloudWatchLoggingOptionDescriptions(const CloudWatchLoggingOptionDescription &value)
ApplicationDetail & WithApplicationARN(const char *value)
ApplicationDetail & WithApplicationName(const char *value)
ApplicationDetail & WithApplicationStatus(ApplicationStatus &&value)
ApplicationDetail & WithApplicationARN(Aws::String &&value)
ApplicationDetail & WithApplicationConfigurationDescription(const ApplicationConfigurationDescription &value)
ApplicationDetail & WithApplicationVersionRolledBackTo(long long value)
void SetServiceExecutionRole(const Aws::String &value)
ApplicationDetail & WithApplicationVersionCreateTimestamp(Aws::Utils::DateTime &&value)
ApplicationDetail & WithCloudWatchLoggingOptionDescriptions(const Aws::Vector< CloudWatchLoggingOptionDescription > &value)
void SetLastUpdateTimestamp(Aws::Utils::DateTime &&value)
void SetRuntimeEnvironment(const RuntimeEnvironment &value)
AWS_KINESISANALYTICSV2_API ApplicationDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationDetail & WithApplicationMaintenanceConfigurationDescription(ApplicationMaintenanceConfigurationDescription &&value)
ApplicationDetail & WithApplicationVersionCreateTimestamp(const Aws::Utils::DateTime &value)
ApplicationDetail & WithLastUpdateTimestamp(const Aws::Utils::DateTime &value)
const Aws::Vector< CloudWatchLoggingOptionDescription > & GetCloudWatchLoggingOptionDescriptions() const
const RuntimeEnvironment & GetRuntimeEnvironment() const
ApplicationDetail & WithCloudWatchLoggingOptionDescriptions(Aws::Vector< CloudWatchLoggingOptionDescription > &&value)
ApplicationDetail & WithApplicationVersionRolledBackFrom(long long value)
ApplicationDetail & WithApplicationDescription(Aws::String &&value)
ApplicationDetail & WithLastUpdateTimestamp(Aws::Utils::DateTime &&value)
const ApplicationMaintenanceConfigurationDescription & GetApplicationMaintenanceConfigurationDescription() const
const ApplicationStatus & GetApplicationStatus() const
void SetApplicationStatus(const ApplicationStatus &value)
void SetRuntimeEnvironment(RuntimeEnvironment &&value)
ApplicationDetail & WithRuntimeEnvironment(const RuntimeEnvironment &value)
ApplicationDetail & WithCreateTimestamp(const Aws::Utils::DateTime &value)
void SetLastUpdateTimestamp(const Aws::Utils::DateTime &value)
void SetCloudWatchLoggingOptionDescriptions(const Aws::Vector< CloudWatchLoggingOptionDescription > &value)
void SetApplicationConfigurationDescription(const ApplicationConfigurationDescription &value)
ApplicationDetail & WithConditionalToken(const char *value)
ApplicationDetail & WithApplicationDescription(const Aws::String &value)
const Aws::Utils::DateTime & GetApplicationVersionCreateTimestamp() const
ApplicationDetail & WithApplicationName(const Aws::String &value)
void SetApplicationVersionCreateTimestamp(const Aws::Utils::DateTime &value)
ApplicationDetail & WithApplicationVersionId(long long value)
ApplicationDetail & WithApplicationMode(ApplicationMode &&value)
void SetCreateTimestamp(const Aws::Utils::DateTime &value)
ApplicationDetail & WithServiceExecutionRole(const char *value)
const ApplicationConfigurationDescription & GetApplicationConfigurationDescription() const
ApplicationDetail & WithCreateTimestamp(Aws::Utils::DateTime &&value)
ApplicationDetail & WithApplicationMode(const ApplicationMode &value)
ApplicationDetail & AddCloudWatchLoggingOptionDescriptions(CloudWatchLoggingOptionDescription &&value)
void SetApplicationVersionCreateTimestamp(Aws::Utils::DateTime &&value)
ApplicationDetail & WithApplicationConfigurationDescription(ApplicationConfigurationDescription &&value)
ApplicationDetail & WithConditionalToken(const Aws::String &value)
void SetApplicationStatus(ApplicationStatus &&value)
const Aws::Utils::DateTime & GetCreateTimestamp() const
void SetApplicationMaintenanceConfigurationDescription(ApplicationMaintenanceConfigurationDescription &&value)
AWS_KINESISANALYTICSV2_API ApplicationDetail(Aws::Utils::Json::JsonView jsonValue)
void SetApplicationMode(const ApplicationMode &value)
AWS_KINESISANALYTICSV2_API ApplicationDetail()
ApplicationDetail & WithConditionalToken(Aws::String &&value)
ApplicationDetail & WithApplicationARN(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdateTimestamp() const
ApplicationDetail & WithServiceExecutionRole(const Aws::String &value)
ApplicationDetail & WithApplicationVersionUpdatedFrom(long long value)
ApplicationDetail & WithApplicationDescription(const char *value)
void SetApplicationMaintenanceConfigurationDescription(const ApplicationMaintenanceConfigurationDescription &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