7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/m2/MainframeModernization_EXPORTS.h>
12#include <aws/m2/model/ApplicationLifecycle.h>
13#include <aws/m2/model/ApplicationVersionSummary.h>
14#include <aws/m2/model/DeployedVersionSummary.h>
15#include <aws/m2/model/EngineType.h>
16#include <aws/m2/model/LogGroupSummary.h>
21template <
typename RESULT_TYPE>
22class AmazonWebServiceResult;
29namespace MainframeModernization {
42 template <
typename ApplicationArnT = Aws::String>
44 m_applicationArnHasBeenSet =
true;
45 m_applicationArn = std::forward<ApplicationArnT>(value);
47 template <
typename ApplicationArnT = Aws::String>
59 template <
typename ApplicationIdT = Aws::String>
61 m_applicationIdHasBeenSet =
true;
62 m_applicationId = std::forward<ApplicationIdT>(value);
64 template <
typename ApplicationIdT = Aws::String>
76 template <
typename CreationTimeT = Aws::Utils::DateTime>
78 m_creationTimeHasBeenSet =
true;
79 m_creationTime = std::forward<CreationTimeT>(value);
81 template <
typename CreationTimeT = Aws::Utils::DateTime>
93 template <
typename DeployedVersionT = DeployedVersionSummary>
95 m_deployedVersionHasBeenSet =
true;
96 m_deployedVersion = std::forward<DeployedVersionT>(value);
98 template <
typename DeployedVersionT = DeployedVersionSummary>
110 template <
typename DescriptionT = Aws::String>
112 m_descriptionHasBeenSet =
true;
113 m_description = std::forward<DescriptionT>(value);
115 template <
typename DescriptionT = Aws::String>
128 m_engineTypeHasBeenSet =
true;
129 m_engineType = value;
143 template <
typename EnvironmentIdT = Aws::String>
145 m_environmentIdHasBeenSet =
true;
146 m_environmentId = std::forward<EnvironmentIdT>(value);
148 template <
typename EnvironmentIdT = Aws::String>
160 template <
typename KmsKeyIdT = Aws::String>
162 m_kmsKeyIdHasBeenSet =
true;
163 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
165 template <
typename KmsKeyIdT = Aws::String>
178 template <
typename LastStartTimeT = Aws::Utils::DateTime>
180 m_lastStartTimeHasBeenSet =
true;
181 m_lastStartTime = std::forward<LastStartTimeT>(value);
183 template <
typename LastStartTimeT = Aws::Utils::DateTime>
195 template <
typename LatestVersionT = ApplicationVersionSummary>
197 m_latestVersionHasBeenSet =
true;
198 m_latestVersion = std::forward<LatestVersionT>(value);
200 template <
typename LatestVersionT = ApplicationVersionSummary>
214 template <
typename ListenerArnsT = Aws::Vector<Aws::String>>
216 m_listenerArnsHasBeenSet =
true;
217 m_listenerArns = std::forward<ListenerArnsT>(value);
219 template <
typename ListenerArnsT = Aws::Vector<Aws::String>>
224 template <
typename ListenerArnsT = Aws::String>
226 m_listenerArnsHasBeenSet =
true;
227 m_listenerArns.emplace_back(std::forward<ListenerArnsT>(value));
238 template <
typename ListenerPortsT = Aws::Vector<
int>>
240 m_listenerPortsHasBeenSet =
true;
241 m_listenerPorts = std::forward<ListenerPortsT>(value);
243 template <
typename ListenerPortsT = Aws::Vector<
int>>
249 m_listenerPortsHasBeenSet =
true;
250 m_listenerPorts.push_back(value);
261 template <
typename LoadBalancerDnsNameT = Aws::String>
263 m_loadBalancerDnsNameHasBeenSet =
true;
264 m_loadBalancerDnsName = std::forward<LoadBalancerDnsNameT>(value);
266 template <
typename LoadBalancerDnsNameT = Aws::String>
281 template <
typename LogGroupsT = Aws::Vector<LogGroupSummary>>
283 m_logGroupsHasBeenSet =
true;
284 m_logGroups = std::forward<LogGroupsT>(value);
286 template <
typename LogGroupsT = Aws::Vector<LogGroupSummary>>
291 template <
typename LogGroupsT = LogGroupSummary>
293 m_logGroupsHasBeenSet =
true;
294 m_logGroups.emplace_back(std::forward<LogGroupsT>(value));
304 template <
typename NameT = Aws::String>
306 m_nameHasBeenSet =
true;
307 m_name = std::forward<NameT>(value);
309 template <
typename NameT = Aws::String>
311 SetName(std::forward<NameT>(value));
322 template <
typename RoleArnT = Aws::String>
324 m_roleArnHasBeenSet =
true;
325 m_roleArn = std::forward<RoleArnT>(value);
327 template <
typename RoleArnT = Aws::String>
340 m_statusHasBeenSet =
true;
354 template <
typename StatusReasonT = Aws::String>
356 m_statusReasonHasBeenSet =
true;
357 m_statusReason = std::forward<StatusReasonT>(value);
359 template <
typename StatusReasonT = Aws::String>
371 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
373 m_tagsHasBeenSet =
true;
374 m_tags = std::forward<TagsT>(value);
376 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
378 SetTags(std::forward<TagsT>(value));
381 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
383 m_tagsHasBeenSet =
true;
384 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
395 template <
typename TargetGroupArnsT = Aws::Vector<Aws::String>>
397 m_targetGroupArnsHasBeenSet =
true;
398 m_targetGroupArns = std::forward<TargetGroupArnsT>(value);
400 template <
typename TargetGroupArnsT = Aws::Vector<Aws::String>>
405 template <
typename TargetGroupArnsT = Aws::String>
407 m_targetGroupArnsHasBeenSet =
true;
408 m_targetGroupArns.emplace_back(std::forward<TargetGroupArnsT>(value));
416 template <
typename RequestIdT = Aws::String>
418 m_requestIdHasBeenSet =
true;
419 m_requestId = std::forward<RequestIdT>(value);
421 template <
typename RequestIdT = Aws::String>
434 DeployedVersionSummary m_deployedVersion;
446 ApplicationVersionSummary m_latestVersion;
469 bool m_applicationArnHasBeenSet =
false;
470 bool m_applicationIdHasBeenSet =
false;
471 bool m_creationTimeHasBeenSet =
false;
472 bool m_deployedVersionHasBeenSet =
false;
473 bool m_descriptionHasBeenSet =
false;
474 bool m_engineTypeHasBeenSet =
false;
475 bool m_environmentIdHasBeenSet =
false;
476 bool m_kmsKeyIdHasBeenSet =
false;
477 bool m_lastStartTimeHasBeenSet =
false;
478 bool m_latestVersionHasBeenSet =
false;
479 bool m_listenerArnsHasBeenSet =
false;
480 bool m_listenerPortsHasBeenSet =
false;
481 bool m_loadBalancerDnsNameHasBeenSet =
false;
482 bool m_logGroupsHasBeenSet =
false;
483 bool m_nameHasBeenSet =
false;
484 bool m_roleArnHasBeenSet =
false;
485 bool m_statusHasBeenSet =
false;
486 bool m_statusReasonHasBeenSet =
false;
487 bool m_tagsHasBeenSet =
false;
488 bool m_targetGroupArnsHasBeenSet =
false;
489 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)
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