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/migration-hub-refactor-spaces/MigrationHubRefactorSpaces_EXPORTS.h>
12#include <aws/migration-hub-refactor-spaces/model/ApiGatewayProxyConfig.h>
13#include <aws/migration-hub-refactor-spaces/model/ApplicationState.h>
14#include <aws/migration-hub-refactor-spaces/model/ErrorResponse.h>
15#include <aws/migration-hub-refactor-spaces/model/ProxyType.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
28namespace MigrationHubRefactorSpaces {
42 template <
typename ApiGatewayProxyT = ApiGatewayProxyConfig>
44 m_apiGatewayProxyHasBeenSet =
true;
45 m_apiGatewayProxy = std::forward<ApiGatewayProxyT>(value);
47 template <
typename ApiGatewayProxyT = ApiGatewayProxyConfig>
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 ArnT = Aws::String>
78 m_arnHasBeenSet =
true;
79 m_arn = std::forward<ArnT>(value);
81 template <
typename ArnT = Aws::String>
83 SetArn(std::forward<ArnT>(value));
93 template <
typename CreatedByAccountIdT = Aws::String>
95 m_createdByAccountIdHasBeenSet =
true;
96 m_createdByAccountId = std::forward<CreatedByAccountIdT>(value);
98 template <
typename CreatedByAccountIdT = Aws::String>
110 template <
typename CreatedTimeT = Aws::Utils::DateTime>
112 m_createdTimeHasBeenSet =
true;
113 m_createdTime = std::forward<CreatedTimeT>(value);
115 template <
typename CreatedTimeT = Aws::Utils::DateTime>
127 template <
typename EnvironmentIdT = Aws::String>
129 m_environmentIdHasBeenSet =
true;
130 m_environmentId = std::forward<EnvironmentIdT>(value);
132 template <
typename EnvironmentIdT = Aws::String>
144 template <
typename ErrorT = ErrorResponse>
146 m_errorHasBeenSet =
true;
147 m_error = std::forward<ErrorT>(value);
149 template <
typename ErrorT = ErrorResponse>
151 SetError(std::forward<ErrorT>(value));
161 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
163 m_lastUpdatedTimeHasBeenSet =
true;
164 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
166 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
178 template <
typename NameT = Aws::String>
180 m_nameHasBeenSet =
true;
181 m_name = std::forward<NameT>(value);
183 template <
typename NameT = Aws::String>
185 SetName(std::forward<NameT>(value));
196 template <
typename OwnerAccountIdT = Aws::String>
198 m_ownerAccountIdHasBeenSet =
true;
199 m_ownerAccountId = std::forward<OwnerAccountIdT>(value);
201 template <
typename OwnerAccountIdT = Aws::String>
214 m_proxyTypeHasBeenSet =
true;
229 m_stateHasBeenSet =
true;
244 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
246 m_tagsHasBeenSet =
true;
247 m_tags = std::forward<TagsT>(value);
249 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
251 SetTags(std::forward<TagsT>(value));
254 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
256 m_tagsHasBeenSet =
true;
257 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
267 template <
typename VpcIdT = Aws::String>
269 m_vpcIdHasBeenSet =
true;
270 m_vpcId = std::forward<VpcIdT>(value);
272 template <
typename VpcIdT = Aws::String>
274 SetVpcId(std::forward<VpcIdT>(value));
282 template <
typename RequestIdT = Aws::String>
284 m_requestIdHasBeenSet =
true;
285 m_requestId = std::forward<RequestIdT>(value);
287 template <
typename RequestIdT = Aws::String>
308 ErrorResponse m_error;
326 bool m_apiGatewayProxyHasBeenSet =
false;
327 bool m_applicationIdHasBeenSet =
false;
328 bool m_arnHasBeenSet =
false;
329 bool m_createdByAccountIdHasBeenSet =
false;
330 bool m_createdTimeHasBeenSet =
false;
331 bool m_environmentIdHasBeenSet =
false;
332 bool m_errorHasBeenSet =
false;
333 bool m_lastUpdatedTimeHasBeenSet =
false;
334 bool m_nameHasBeenSet =
false;
335 bool m_ownerAccountIdHasBeenSet =
false;
336 bool m_proxyTypeHasBeenSet =
false;
337 bool m_stateHasBeenSet =
false;
338 bool m_tagsHasBeenSet =
false;
339 bool m_vpcIdHasBeenSet =
false;
340 bool m_requestIdHasBeenSet =
false;
GetApplicationResult & WithName(NameT &&value)
const Aws::String & GetVpcId() const
const Aws::String & GetEnvironmentId() const
void SetOwnerAccountId(OwnerAccountIdT &&value)
void SetVpcId(VpcIdT &&value)
GetApplicationResult & WithCreatedByAccountId(CreatedByAccountIdT &&value)
ProxyType GetProxyType() const
void SetCreatedByAccountId(CreatedByAccountIdT &&value)
GetApplicationResult & WithState(ApplicationState value)
void SetApiGatewayProxy(ApiGatewayProxyT &&value)
void SetArn(ArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetRequestId(RequestIdT &&value)
AWS_MIGRATIONHUBREFACTORSPACES_API GetApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MIGRATIONHUBREFACTORSPACES_API GetApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetApplicationResult & WithOwnerAccountId(OwnerAccountIdT &&value)
GetApplicationResult & WithEnvironmentId(EnvironmentIdT &&value)
const Aws::String & GetName() const
const Aws::String & GetOwnerAccountId() const
void SetApplicationId(ApplicationIdT &&value)
const Aws::String & GetArn() const
GetApplicationResult & WithTags(TagsT &&value)
const Aws::String & GetCreatedByAccountId() const
GetApplicationResult & WithProxyType(ProxyType value)
void SetState(ApplicationState value)
GetApplicationResult & WithArn(ArnT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
GetApplicationResult & WithRequestId(RequestIdT &&value)
void SetEnvironmentId(EnvironmentIdT &&value)
void SetName(NameT &&value)
ApplicationState GetState() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
GetApplicationResult & WithError(ErrorT &&value)
GetApplicationResult & WithCreatedTime(CreatedTimeT &&value)
GetApplicationResult & WithApiGatewayProxy(ApiGatewayProxyT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const ErrorResponse & GetError() const
void SetCreatedTime(CreatedTimeT &&value)
GetApplicationResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetApplicationId() const
const Aws::Utils::DateTime & GetCreatedTime() const
void SetTags(TagsT &&value)
const Aws::String & GetRequestId() const
GetApplicationResult & WithLastUpdatedTime(LastUpdatedTimeT &&value)
AWS_MIGRATIONHUBREFACTORSPACES_API GetApplicationResult()=default
void SetError(ErrorT &&value)
void SetProxyType(ProxyType value)
const ApiGatewayProxyConfig & GetApiGatewayProxy() const
GetApplicationResult & WithApplicationId(ApplicationIdT &&value)
GetApplicationResult & WithVpcId(VpcIdT &&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
Aws::Utils::Json::JsonValue JsonValue