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>
21template<
typename RESULT_TYPE>
22class AmazonWebServiceResult;
31namespace MainframeModernization
48 template<
typename ApplicationArnT = Aws::String>
49 void SetApplicationArn(ApplicationArnT&& value) { m_applicationArnHasBeenSet =
true; m_applicationArn = std::forward<ApplicationArnT>(value); }
50 template<
typename ApplicationArnT = Aws::String>
59 template<
typename ApplicationIdT = Aws::String>
60 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet =
true; m_applicationId = std::forward<ApplicationIdT>(value); }
61 template<
typename ApplicationIdT = Aws::String>
70 template<
typename CreationTimeT = Aws::Utils::DateTime>
71 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
72 template<
typename CreationTimeT = Aws::Utils::DateTime>
81 template<
typename DeployedVersionT = DeployedVersionSummary>
82 void SetDeployedVersion(DeployedVersionT&& value) { m_deployedVersionHasBeenSet =
true; m_deployedVersion = std::forward<DeployedVersionT>(value); }
83 template<
typename DeployedVersionT = DeployedVersionSummary>
92 template<
typename DescriptionT = Aws::String>
93 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
94 template<
typename DescriptionT = Aws::String>
113 template<
typename EnvironmentIdT = Aws::String>
114 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet =
true; m_environmentId = std::forward<EnvironmentIdT>(value); }
115 template<
typename EnvironmentIdT = Aws::String>
124 template<
typename KmsKeyIdT = Aws::String>
125 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
126 template<
typename KmsKeyIdT = Aws::String>
136 template<
typename LastStartTimeT = Aws::Utils::DateTime>
137 void SetLastStartTime(LastStartTimeT&& value) { m_lastStartTimeHasBeenSet =
true; m_lastStartTime = std::forward<LastStartTimeT>(value); }
138 template<
typename LastStartTimeT = Aws::Utils::DateTime>
147 template<
typename LatestVersionT = ApplicationVersionSummary>
148 void SetLatestVersion(LatestVersionT&& value) { m_latestVersionHasBeenSet =
true; m_latestVersion = std::forward<LatestVersionT>(value); }
149 template<
typename LatestVersionT = ApplicationVersionSummary>
160 template<
typename ListenerArnsT = Aws::Vector<Aws::String>>
161 void SetListenerArns(ListenerArnsT&& value) { m_listenerArnsHasBeenSet =
true; m_listenerArns = std::forward<ListenerArnsT>(value); }
162 template<
typename ListenerArnsT = Aws::Vector<Aws::String>>
164 template<
typename ListenerArnsT = Aws::String>
174 template<
typename ListenerPortsT = Aws::Vector<
int>>
175 void SetListenerPorts(ListenerPortsT&& value) { m_listenerPortsHasBeenSet =
true; m_listenerPorts = std::forward<ListenerPortsT>(value); }
176 template<
typename ListenerPortsT = Aws::Vector<
int>>
187 template<
typename LoadBalancerDnsNameT = Aws::String>
188 void SetLoadBalancerDnsName(LoadBalancerDnsNameT&& value) { m_loadBalancerDnsNameHasBeenSet =
true; m_loadBalancerDnsName = std::forward<LoadBalancerDnsNameT>(value); }
189 template<
typename LoadBalancerDnsNameT = Aws::String>
201 template<
typename LogGroupsT = Aws::Vector<LogGroupSummary>>
202 void SetLogGroups(LogGroupsT&& value) { m_logGroupsHasBeenSet =
true; m_logGroups = std::forward<LogGroupsT>(value); }
203 template<
typename LogGroupsT = Aws::Vector<LogGroupSummary>>
205 template<
typename LogGroupsT = LogGroupSummary>
214 template<
typename NameT = Aws::String>
215 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
216 template<
typename NameT = Aws::String>
226 template<
typename RoleArnT = Aws::String>
227 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
228 template<
typename RoleArnT = Aws::String>
246 template<
typename StatusReasonT = Aws::String>
247 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet =
true; m_statusReason = std::forward<StatusReasonT>(value); }
248 template<
typename StatusReasonT = Aws::String>
257 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
258 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
259 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
261 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
263 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
273 template<
typename TargetGroupArnsT = Aws::Vector<Aws::String>>
274 void SetTargetGroupArns(TargetGroupArnsT&& value) { m_targetGroupArnsHasBeenSet =
true; m_targetGroupArns = std::forward<TargetGroupArnsT>(value); }
275 template<
typename TargetGroupArnsT = Aws::Vector<Aws::String>>
277 template<
typename TargetGroupArnsT = Aws::String>
284 template<
typename RequestIdT = Aws::String>
285 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
286 template<
typename RequestIdT = Aws::String>
292 bool m_applicationArnHasBeenSet =
false;
295 bool m_applicationIdHasBeenSet =
false;
298 bool m_creationTimeHasBeenSet =
false;
300 DeployedVersionSummary m_deployedVersion;
301 bool m_deployedVersionHasBeenSet =
false;
304 bool m_descriptionHasBeenSet =
false;
307 bool m_engineTypeHasBeenSet =
false;
310 bool m_environmentIdHasBeenSet =
false;
313 bool m_kmsKeyIdHasBeenSet =
false;
316 bool m_lastStartTimeHasBeenSet =
false;
318 ApplicationVersionSummary m_latestVersion;
319 bool m_latestVersionHasBeenSet =
false;
322 bool m_listenerArnsHasBeenSet =
false;
325 bool m_listenerPortsHasBeenSet =
false;
328 bool m_loadBalancerDnsNameHasBeenSet =
false;
331 bool m_logGroupsHasBeenSet =
false;
334 bool m_nameHasBeenSet =
false;
337 bool m_roleArnHasBeenSet =
false;
340 bool m_statusHasBeenSet =
false;
343 bool m_statusReasonHasBeenSet =
false;
346 bool m_tagsHasBeenSet =
false;
349 bool m_targetGroupArnsHasBeenSet =
false;
352 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