AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetApplicationResult.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/m2/model/DeployedVersionSummary.h>
11#include <aws/m2/model/EngineType.h>
12#include <aws/m2/model/ApplicationVersionSummary.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/m2/model/ApplicationLifecycle.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/m2/model/LogGroupSummary.h>
17#include <utility>
18
19namespace Aws
20{
21template<typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace MainframeModernization
32{
33namespace Model
34{
36 {
37 public:
38 AWS_MAINFRAMEMODERNIZATION_API GetApplicationResult();
41
42
44
47 inline const Aws::String& GetApplicationArn() const{ return m_applicationArn; }
48 inline void SetApplicationArn(const Aws::String& value) { m_applicationArn = value; }
49 inline void SetApplicationArn(Aws::String&& value) { m_applicationArn = std::move(value); }
50 inline void SetApplicationArn(const char* value) { m_applicationArn.assign(value); }
51 inline GetApplicationResult& WithApplicationArn(const Aws::String& value) { SetApplicationArn(value); return *this;}
52 inline GetApplicationResult& WithApplicationArn(Aws::String&& value) { SetApplicationArn(std::move(value)); return *this;}
53 inline GetApplicationResult& WithApplicationArn(const char* value) { SetApplicationArn(value); return *this;}
55
57
60 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
61 inline void SetApplicationId(const Aws::String& value) { m_applicationId = value; }
62 inline void SetApplicationId(Aws::String&& value) { m_applicationId = std::move(value); }
63 inline void SetApplicationId(const char* value) { m_applicationId.assign(value); }
64 inline GetApplicationResult& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
65 inline GetApplicationResult& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
66 inline GetApplicationResult& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
74 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
75 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
76 inline GetApplicationResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
77 inline GetApplicationResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
79
81
84 inline const DeployedVersionSummary& GetDeployedVersion() const{ return m_deployedVersion; }
85 inline void SetDeployedVersion(const DeployedVersionSummary& value) { m_deployedVersion = value; }
86 inline void SetDeployedVersion(DeployedVersionSummary&& value) { m_deployedVersion = std::move(value); }
88 inline GetApplicationResult& WithDeployedVersion(DeployedVersionSummary&& value) { SetDeployedVersion(std::move(value)); return *this;}
90
92
95 inline const Aws::String& GetDescription() const{ return m_description; }
96 inline void SetDescription(const Aws::String& value) { m_description = value; }
97 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
98 inline void SetDescription(const char* value) { m_description.assign(value); }
99 inline GetApplicationResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
100 inline GetApplicationResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
101 inline GetApplicationResult& WithDescription(const char* value) { SetDescription(value); return *this;}
103
105
108 inline const EngineType& GetEngineType() const{ return m_engineType; }
109 inline void SetEngineType(const EngineType& value) { m_engineType = value; }
110 inline void SetEngineType(EngineType&& value) { m_engineType = std::move(value); }
111 inline GetApplicationResult& WithEngineType(const EngineType& value) { SetEngineType(value); return *this;}
112 inline GetApplicationResult& WithEngineType(EngineType&& value) { SetEngineType(std::move(value)); return *this;}
114
116
120 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
121 inline void SetEnvironmentId(const Aws::String& value) { m_environmentId = value; }
122 inline void SetEnvironmentId(Aws::String&& value) { m_environmentId = std::move(value); }
123 inline void SetEnvironmentId(const char* value) { m_environmentId.assign(value); }
124 inline GetApplicationResult& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
125 inline GetApplicationResult& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
126 inline GetApplicationResult& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
128
130
133 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
134 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; }
135 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); }
136 inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); }
137 inline GetApplicationResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
138 inline GetApplicationResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
139 inline GetApplicationResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
141
143
147 inline const Aws::Utils::DateTime& GetLastStartTime() const{ return m_lastStartTime; }
148 inline void SetLastStartTime(const Aws::Utils::DateTime& value) { m_lastStartTime = value; }
149 inline void SetLastStartTime(Aws::Utils::DateTime&& value) { m_lastStartTime = std::move(value); }
151 inline GetApplicationResult& WithLastStartTime(Aws::Utils::DateTime&& value) { SetLastStartTime(std::move(value)); return *this;}
153
155
158 inline const ApplicationVersionSummary& GetLatestVersion() const{ return m_latestVersion; }
159 inline void SetLatestVersion(const ApplicationVersionSummary& value) { m_latestVersion = value; }
160 inline void SetLatestVersion(ApplicationVersionSummary&& value) { m_latestVersion = std::move(value); }
162 inline GetApplicationResult& WithLatestVersion(ApplicationVersionSummary&& value) { SetLatestVersion(std::move(value)); return *this;}
164
166
171 inline const Aws::Vector<Aws::String>& GetListenerArns() const{ return m_listenerArns; }
172 inline void SetListenerArns(const Aws::Vector<Aws::String>& value) { m_listenerArns = value; }
173 inline void SetListenerArns(Aws::Vector<Aws::String>&& value) { m_listenerArns = std::move(value); }
175 inline GetApplicationResult& WithListenerArns(Aws::Vector<Aws::String>&& value) { SetListenerArns(std::move(value)); return *this;}
176 inline GetApplicationResult& AddListenerArns(const Aws::String& value) { m_listenerArns.push_back(value); return *this; }
177 inline GetApplicationResult& AddListenerArns(Aws::String&& value) { m_listenerArns.push_back(std::move(value)); return *this; }
178 inline GetApplicationResult& AddListenerArns(const char* value) { m_listenerArns.push_back(value); return *this; }
180
182
186 inline const Aws::Vector<int>& GetListenerPorts() const{ return m_listenerPorts; }
187 inline void SetListenerPorts(const Aws::Vector<int>& value) { m_listenerPorts = value; }
188 inline void SetListenerPorts(Aws::Vector<int>&& value) { m_listenerPorts = std::move(value); }
189 inline GetApplicationResult& WithListenerPorts(const Aws::Vector<int>& value) { SetListenerPorts(value); return *this;}
190 inline GetApplicationResult& WithListenerPorts(Aws::Vector<int>&& value) { SetListenerPorts(std::move(value)); return *this;}
191 inline GetApplicationResult& AddListenerPorts(int value) { m_listenerPorts.push_back(value); return *this; }
193
195
199 inline const Aws::String& GetLoadBalancerDnsName() const{ return m_loadBalancerDnsName; }
200 inline void SetLoadBalancerDnsName(const Aws::String& value) { m_loadBalancerDnsName = value; }
201 inline void SetLoadBalancerDnsName(Aws::String&& value) { m_loadBalancerDnsName = std::move(value); }
202 inline void SetLoadBalancerDnsName(const char* value) { m_loadBalancerDnsName.assign(value); }
204 inline GetApplicationResult& WithLoadBalancerDnsName(Aws::String&& value) { SetLoadBalancerDnsName(std::move(value)); return *this;}
205 inline GetApplicationResult& WithLoadBalancerDnsName(const char* value) { SetLoadBalancerDnsName(value); return *this;}
207
209
215 inline const Aws::Vector<LogGroupSummary>& GetLogGroups() const{ return m_logGroups; }
216 inline void SetLogGroups(const Aws::Vector<LogGroupSummary>& value) { m_logGroups = value; }
217 inline void SetLogGroups(Aws::Vector<LogGroupSummary>&& value) { m_logGroups = std::move(value); }
219 inline GetApplicationResult& WithLogGroups(Aws::Vector<LogGroupSummary>&& value) { SetLogGroups(std::move(value)); return *this;}
220 inline GetApplicationResult& AddLogGroups(const LogGroupSummary& value) { m_logGroups.push_back(value); return *this; }
221 inline GetApplicationResult& AddLogGroups(LogGroupSummary&& value) { m_logGroups.push_back(std::move(value)); return *this; }
223
225
228 inline const Aws::String& GetName() const{ return m_name; }
229 inline void SetName(const Aws::String& value) { m_name = value; }
230 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
231 inline void SetName(const char* value) { m_name.assign(value); }
232 inline GetApplicationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
233 inline GetApplicationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
234 inline GetApplicationResult& WithName(const char* value) { SetName(value); return *this;}
236
238
242 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
243 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
244 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
245 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
246 inline GetApplicationResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
247 inline GetApplicationResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
248 inline GetApplicationResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
250
252
255 inline const ApplicationLifecycle& GetStatus() const{ return m_status; }
256 inline void SetStatus(const ApplicationLifecycle& value) { m_status = value; }
257 inline void SetStatus(ApplicationLifecycle&& value) { m_status = std::move(value); }
258 inline GetApplicationResult& WithStatus(const ApplicationLifecycle& value) { SetStatus(value); return *this;}
259 inline GetApplicationResult& WithStatus(ApplicationLifecycle&& value) { SetStatus(std::move(value)); return *this;}
261
263
266 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
267 inline void SetStatusReason(const Aws::String& value) { m_statusReason = value; }
268 inline void SetStatusReason(Aws::String&& value) { m_statusReason = std::move(value); }
269 inline void SetStatusReason(const char* value) { m_statusReason.assign(value); }
270 inline GetApplicationResult& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
271 inline GetApplicationResult& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
272 inline GetApplicationResult& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
274
276
279 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
280 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
281 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
282 inline GetApplicationResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
283 inline GetApplicationResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
284 inline GetApplicationResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
285 inline GetApplicationResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
286 inline GetApplicationResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
287 inline GetApplicationResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
288 inline GetApplicationResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
289 inline GetApplicationResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
290 inline GetApplicationResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
292
294
298 inline const Aws::Vector<Aws::String>& GetTargetGroupArns() const{ return m_targetGroupArns; }
299 inline void SetTargetGroupArns(const Aws::Vector<Aws::String>& value) { m_targetGroupArns = value; }
300 inline void SetTargetGroupArns(Aws::Vector<Aws::String>&& value) { m_targetGroupArns = std::move(value); }
302 inline GetApplicationResult& WithTargetGroupArns(Aws::Vector<Aws::String>&& value) { SetTargetGroupArns(std::move(value)); return *this;}
303 inline GetApplicationResult& AddTargetGroupArns(const Aws::String& value) { m_targetGroupArns.push_back(value); return *this; }
304 inline GetApplicationResult& AddTargetGroupArns(Aws::String&& value) { m_targetGroupArns.push_back(std::move(value)); return *this; }
305 inline GetApplicationResult& AddTargetGroupArns(const char* value) { m_targetGroupArns.push_back(value); return *this; }
307
309
310 inline const Aws::String& GetRequestId() const{ return m_requestId; }
311 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
312 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
313 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
314 inline GetApplicationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
315 inline GetApplicationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
316 inline GetApplicationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
318 private:
319
320 Aws::String m_applicationArn;
321
322 Aws::String m_applicationId;
323
324 Aws::Utils::DateTime m_creationTime;
325
326 DeployedVersionSummary m_deployedVersion;
327
328 Aws::String m_description;
329
330 EngineType m_engineType;
331
332 Aws::String m_environmentId;
333
334 Aws::String m_kmsKeyId;
335
336 Aws::Utils::DateTime m_lastStartTime;
337
338 ApplicationVersionSummary m_latestVersion;
339
340 Aws::Vector<Aws::String> m_listenerArns;
341
342 Aws::Vector<int> m_listenerPorts;
343
344 Aws::String m_loadBalancerDnsName;
345
347
348 Aws::String m_name;
349
350 Aws::String m_roleArn;
351
352 ApplicationLifecycle m_status;
353
354 Aws::String m_statusReason;
355
357
358 Aws::Vector<Aws::String> m_targetGroupArns;
359
360 Aws::String m_requestId;
361 };
362
363} // namespace Model
364} // namespace MainframeModernization
365} // namespace Aws
const Aws::Vector< LogGroupSummary > & GetLogGroups() const
GetApplicationResult & WithRequestId(const char *value)
GetApplicationResult & AddListenerArns(const Aws::String &value)
GetApplicationResult & WithListenerPorts(const Aws::Vector< int > &value)
GetApplicationResult & WithDeployedVersion(DeployedVersionSummary &&value)
GetApplicationResult & WithLatestVersion(const ApplicationVersionSummary &value)
const ApplicationVersionSummary & GetLatestVersion() const
void SetTargetGroupArns(const Aws::Vector< Aws::String > &value)
GetApplicationResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_MAINFRAMEMODERNIZATION_API GetApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const DeployedVersionSummary & GetDeployedVersion() const
GetApplicationResult & WithTargetGroupArns(Aws::Vector< Aws::String > &&value)
GetApplicationResult & WithRequestId(const Aws::String &value)
GetApplicationResult & AddTags(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetApplicationResult & WithEngineType(EngineType &&value)
GetApplicationResult & WithCreationTime(Aws::Utils::DateTime &&value)
GetApplicationResult & WithLoadBalancerDnsName(const Aws::String &value)
GetApplicationResult & WithListenerArns(Aws::Vector< Aws::String > &&value)
GetApplicationResult & WithLastStartTime(Aws::Utils::DateTime &&value)
GetApplicationResult & AddTags(const Aws::String &key, Aws::String &&value)
GetApplicationResult & WithLastStartTime(const Aws::Utils::DateTime &value)
GetApplicationResult & AddTags(Aws::String &&key, Aws::String &&value)
GetApplicationResult & WithKmsKeyId(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetApplicationResult & AddTargetGroupArns(const char *value)
GetApplicationResult & WithStatus(ApplicationLifecycle &&value)
GetApplicationResult & WithEnvironmentId(const Aws::String &value)
void SetTargetGroupArns(Aws::Vector< Aws::String > &&value)
GetApplicationResult & WithApplicationArn(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetApplicationResult & WithName(const Aws::String &value)
GetApplicationResult & WithStatusReason(Aws::String &&value)
GetApplicationResult & WithDescription(const char *value)
GetApplicationResult & AddTags(const Aws::String &key, const Aws::String &value)
GetApplicationResult & AddTargetGroupArns(const Aws::String &value)
void SetLogGroups(Aws::Vector< LogGroupSummary > &&value)
GetApplicationResult & WithName(Aws::String &&value)
GetApplicationResult & WithLoadBalancerDnsName(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
GetApplicationResult & WithStatusReason(const Aws::String &value)
GetApplicationResult & WithApplicationId(Aws::String &&value)
void SetDeployedVersion(const DeployedVersionSummary &value)
GetApplicationResult & AddLogGroups(LogGroupSummary &&value)
GetApplicationResult & AddTargetGroupArns(Aws::String &&value)
GetApplicationResult & AddTags(Aws::String &&key, const Aws::String &value)
GetApplicationResult & WithApplicationArn(const char *value)
const Aws::Vector< Aws::String > & GetListenerArns() const
GetApplicationResult & WithLogGroups(Aws::Vector< LogGroupSummary > &&value)
GetApplicationResult & WithTargetGroupArns(const Aws::Vector< Aws::String > &value)
void SetLogGroups(const Aws::Vector< LogGroupSummary > &value)
GetApplicationResult & WithDescription(const Aws::String &value)
GetApplicationResult & AddListenerArns(Aws::String &&value)
GetApplicationResult & WithDescription(Aws::String &&value)
AWS_MAINFRAMEMODERNIZATION_API GetApplicationResult()
GetApplicationResult & WithEnvironmentId(const char *value)
AWS_MAINFRAMEMODERNIZATION_API GetApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetApplicationResult & WithRoleArn(const char *value)
GetApplicationResult & WithLoadBalancerDnsName(const char *value)
GetApplicationResult & WithEnvironmentId(Aws::String &&value)
GetApplicationResult & WithDeployedVersion(const DeployedVersionSummary &value)
GetApplicationResult & WithRoleArn(const Aws::String &value)
GetApplicationResult & WithEngineType(const EngineType &value)
GetApplicationResult & WithListenerArns(const Aws::Vector< Aws::String > &value)
GetApplicationResult & AddTags(Aws::String &&key, const char *value)
GetApplicationResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetApplicationResult & WithRequestId(Aws::String &&value)
void SetListenerArns(Aws::Vector< Aws::String > &&value)
void SetLastStartTime(const Aws::Utils::DateTime &value)
const Aws::Vector< Aws::String > & GetTargetGroupArns() const
GetApplicationResult & WithCreationTime(const Aws::Utils::DateTime &value)
GetApplicationResult & WithKmsKeyId(const char *value)
GetApplicationResult & WithStatus(const ApplicationLifecycle &value)
GetApplicationResult & WithApplicationId(const Aws::String &value)
void SetLatestVersion(ApplicationVersionSummary &&value)
GetApplicationResult & AddListenerArns(const char *value)
GetApplicationResult & AddTags(const char *key, const char *value)
GetApplicationResult & WithApplicationArn(const Aws::String &value)
void SetListenerArns(const Aws::Vector< Aws::String > &value)
GetApplicationResult & WithLatestVersion(ApplicationVersionSummary &&value)
GetApplicationResult & WithKmsKeyId(const Aws::String &value)
GetApplicationResult & WithLogGroups(const Aws::Vector< LogGroupSummary > &value)
void SetLatestVersion(const ApplicationVersionSummary &value)
GetApplicationResult & WithRoleArn(Aws::String &&value)
GetApplicationResult & WithApplicationId(const char *value)
GetApplicationResult & WithStatusReason(const char *value)
GetApplicationResult & WithListenerPorts(Aws::Vector< int > &&value)
GetApplicationResult & AddLogGroups(const LogGroupSummary &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue