7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/m2/MainframeModernization_EXPORTS.h>
13#include <aws/m2/model/ApplicationLifecycle.h>
14#include <aws/m2/model/ApplicationVersionSummary.h>
15#include <aws/m2/model/DeployedVersionSummary.h>
16#include <aws/m2/model/EngineType.h>
17#include <aws/m2/model/LogGroupSummary.h>
22template <
typename RESULT_TYPE>
23class AmazonWebServiceResult;
30namespace MainframeModernization {
43 template <
typename ApplicationArnT = Aws::String>
45 m_applicationArnHasBeenSet =
true;
46 m_applicationArn = std::forward<ApplicationArnT>(value);
48 template <
typename ApplicationArnT = Aws::String>
60 template <
typename ApplicationIdT = Aws::String>
62 m_applicationIdHasBeenSet =
true;
63 m_applicationId = std::forward<ApplicationIdT>(value);
65 template <
typename ApplicationIdT = Aws::String>
77 template <
typename CreationTimeT = Aws::Utils::DateTime>
79 m_creationTimeHasBeenSet =
true;
80 m_creationTime = std::forward<CreationTimeT>(value);
82 template <
typename CreationTimeT = Aws::Utils::DateTime>
94 template <
typename DeployedVersionT = DeployedVersionSummary>
96 m_deployedVersionHasBeenSet =
true;
97 m_deployedVersion = std::forward<DeployedVersionT>(value);
99 template <
typename DeployedVersionT = DeployedVersionSummary>
111 template <
typename DescriptionT = Aws::String>
113 m_descriptionHasBeenSet =
true;
114 m_description = std::forward<DescriptionT>(value);
116 template <
typename DescriptionT = Aws::String>
129 m_engineTypeHasBeenSet =
true;
130 m_engineType = value;
144 template <
typename EnvironmentIdT = Aws::String>
146 m_environmentIdHasBeenSet =
true;
147 m_environmentId = std::forward<EnvironmentIdT>(value);
149 template <
typename EnvironmentIdT = Aws::String>
161 template <
typename KmsKeyIdT = Aws::String>
163 m_kmsKeyIdHasBeenSet =
true;
164 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
166 template <
typename KmsKeyIdT = Aws::String>
179 template <
typename LastStartTimeT = Aws::Utils::DateTime>
181 m_lastStartTimeHasBeenSet =
true;
182 m_lastStartTime = std::forward<LastStartTimeT>(value);
184 template <
typename LastStartTimeT = Aws::Utils::DateTime>
196 template <
typename LatestVersionT = ApplicationVersionSummary>
198 m_latestVersionHasBeenSet =
true;
199 m_latestVersion = std::forward<LatestVersionT>(value);
201 template <
typename LatestVersionT = ApplicationVersionSummary>
215 template <
typename ListenerArnsT = Aws::Vector<Aws::String>>
217 m_listenerArnsHasBeenSet =
true;
218 m_listenerArns = std::forward<ListenerArnsT>(value);
220 template <
typename ListenerArnsT = Aws::Vector<Aws::String>>
225 template <
typename ListenerArnsT = Aws::String>
227 m_listenerArnsHasBeenSet =
true;
228 m_listenerArns.emplace_back(std::forward<ListenerArnsT>(value));
239 template <
typename ListenerPortsT = Aws::Vector<
int>>
241 m_listenerPortsHasBeenSet =
true;
242 m_listenerPorts = std::forward<ListenerPortsT>(value);
244 template <
typename ListenerPortsT = Aws::Vector<
int>>
250 m_listenerPortsHasBeenSet =
true;
251 m_listenerPorts.push_back(value);
262 template <
typename LoadBalancerDnsNameT = Aws::String>
264 m_loadBalancerDnsNameHasBeenSet =
true;
265 m_loadBalancerDnsName = std::forward<LoadBalancerDnsNameT>(value);
267 template <
typename LoadBalancerDnsNameT = Aws::String>
282 template <
typename LogGroupsT = Aws::Vector<LogGroupSummary>>
284 m_logGroupsHasBeenSet =
true;
285 m_logGroups = std::forward<LogGroupsT>(value);
287 template <
typename LogGroupsT = Aws::Vector<LogGroupSummary>>
292 template <
typename LogGroupsT = LogGroupSummary>
294 m_logGroupsHasBeenSet =
true;
295 m_logGroups.emplace_back(std::forward<LogGroupsT>(value));
305 template <
typename NameT = Aws::String>
307 m_nameHasBeenSet =
true;
308 m_name = std::forward<NameT>(value);
310 template <
typename NameT = Aws::String>
312 SetName(std::forward<NameT>(value));
323 template <
typename RoleArnT = Aws::String>
325 m_roleArnHasBeenSet =
true;
326 m_roleArn = std::forward<RoleArnT>(value);
328 template <
typename RoleArnT = Aws::String>
341 m_statusHasBeenSet =
true;
355 template <
typename StatusReasonT = Aws::String>
357 m_statusReasonHasBeenSet =
true;
358 m_statusReason = std::forward<StatusReasonT>(value);
360 template <
typename StatusReasonT = Aws::String>
372 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
374 m_tagsHasBeenSet =
true;
375 m_tags = std::forward<TagsT>(value);
377 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
379 SetTags(std::forward<TagsT>(value));
382 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
384 m_tagsHasBeenSet =
true;
385 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
396 template <
typename TargetGroupArnsT = Aws::Vector<Aws::String>>
398 m_targetGroupArnsHasBeenSet =
true;
399 m_targetGroupArns = std::forward<TargetGroupArnsT>(value);
401 template <
typename TargetGroupArnsT = Aws::Vector<Aws::String>>
406 template <
typename TargetGroupArnsT = Aws::String>
408 m_targetGroupArnsHasBeenSet =
true;
409 m_targetGroupArns.emplace_back(std::forward<TargetGroupArnsT>(value));
417 template <
typename RequestIdT = Aws::String>
419 m_requestIdHasBeenSet =
true;
420 m_requestId = std::forward<RequestIdT>(value);
422 template <
typename RequestIdT = Aws::String>
437 DeployedVersionSummary m_deployedVersion;
449 ApplicationVersionSummary m_latestVersion;
473 bool m_applicationArnHasBeenSet =
false;
474 bool m_applicationIdHasBeenSet =
false;
475 bool m_creationTimeHasBeenSet =
false;
476 bool m_deployedVersionHasBeenSet =
false;
477 bool m_descriptionHasBeenSet =
false;
478 bool m_engineTypeHasBeenSet =
false;
479 bool m_environmentIdHasBeenSet =
false;
480 bool m_kmsKeyIdHasBeenSet =
false;
481 bool m_lastStartTimeHasBeenSet =
false;
482 bool m_latestVersionHasBeenSet =
false;
483 bool m_listenerArnsHasBeenSet =
false;
484 bool m_listenerPortsHasBeenSet =
false;
485 bool m_loadBalancerDnsNameHasBeenSet =
false;
486 bool m_logGroupsHasBeenSet =
false;
487 bool m_nameHasBeenSet =
false;
488 bool m_roleArnHasBeenSet =
false;
489 bool m_statusHasBeenSet =
false;
490 bool m_statusReasonHasBeenSet =
false;
491 bool m_tagsHasBeenSet =
false;
492 bool m_targetGroupArnsHasBeenSet =
false;
493 bool m_requestIdHasBeenSet =
false;
const Aws::Vector< LogGroupSummary > & GetLogGroups() const
void SetDeployedVersion(DeployedVersionT &&value)
GetApplicationResult & WithDeployedVersion(DeployedVersionT &&value)
const Aws::String & GetRequestId() const
GetApplicationResult & WithKmsKeyId(KmsKeyIdT &&value)
GetApplicationResult & WithEngineType(EngineType value)
const ApplicationVersionSummary & GetLatestVersion() const
AWS_MAINFRAMEMODERNIZATION_API GetApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetLoadBalancerDnsName() const
const DeployedVersionSummary & GetDeployedVersion() const
void SetRoleArn(RoleArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetApplicationId() const
const Aws::String & GetEnvironmentId() const
void SetApplicationArn(ApplicationArnT &&value)
void SetListenerArns(ListenerArnsT &&value)
GetApplicationResult & WithListenerArns(ListenerArnsT &&value)
GetApplicationResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetLastStartTime(LastStartTimeT &&value)
ApplicationLifecycle GetStatus() const
const Aws::String & GetStatusReason() const
GetApplicationResult & WithRoleArn(RoleArnT &&value)
GetApplicationResult & WithCreationTime(CreationTimeT &&value)
void SetLatestVersion(LatestVersionT &&value)
const Aws::String & GetKmsKeyId() const
GetApplicationResult & WithListenerPorts(ListenerPortsT &&value)
GetApplicationResult & WithLatestVersion(LatestVersionT &&value)
GetApplicationResult & WithStatus(ApplicationLifecycle value)
EngineType GetEngineType() const
void SetCreationTime(CreationTimeT &&value)
GetApplicationResult & WithLastStartTime(LastStartTimeT &&value)
const Aws::Vector< int > & GetListenerPorts() const
void SetLogGroups(LogGroupsT &&value)
GetApplicationResult & AddListenerPorts(int value)
void SetTags(TagsT &&value)
void SetName(NameT &&value)
const Aws::Vector< Aws::String > & GetListenerArns() const
const Aws::String & GetApplicationArn() const
GetApplicationResult & WithRequestId(RequestIdT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetName() const
GetApplicationResult & WithTargetGroupArns(TargetGroupArnsT &&value)
void SetListenerPorts(ListenerPortsT &&value)
void SetRequestId(RequestIdT &&value)
GetApplicationResult & WithDescription(DescriptionT &&value)
GetApplicationResult & WithName(NameT &&value)
void SetApplicationId(ApplicationIdT &&value)
AWS_MAINFRAMEMODERNIZATION_API GetApplicationResult()=default
GetApplicationResult & WithApplicationId(ApplicationIdT &&value)
void SetEngineType(EngineType value)
AWS_MAINFRAMEMODERNIZATION_API GetApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetApplicationResult & WithLoadBalancerDnsName(LoadBalancerDnsNameT &&value)
void SetDescription(DescriptionT &&value)
const Aws::Vector< Aws::String > & GetTargetGroupArns() const
void SetStatusReason(StatusReasonT &&value)
const Aws::String & GetRoleArn() const
void SetEnvironmentId(EnvironmentIdT &&value)
GetApplicationResult & AddLogGroups(LogGroupsT &&value)
void SetLoadBalancerDnsName(LoadBalancerDnsNameT &&value)
GetApplicationResult & AddListenerArns(ListenerArnsT &&value)
void SetTargetGroupArns(TargetGroupArnsT &&value)
GetApplicationResult & WithStatusReason(StatusReasonT &&value)
GetApplicationResult & WithLogGroups(LogGroupsT &&value)
GetApplicationResult & WithEnvironmentId(EnvironmentIdT &&value)
const Aws::String & GetDescription() const
GetApplicationResult & AddTargetGroupArns(TargetGroupArnsT &&value)
GetApplicationResult & WithTags(TagsT &&value)
const Aws::Utils::DateTime & GetLastStartTime() const
GetApplicationResult & WithApplicationArn(ApplicationArnT &&value)
void SetStatus(ApplicationLifecycle 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