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/ErrorResponse.h>
13#include <aws/migration-hub-refactor-spaces/model/LambdaEndpointConfig.h>
14#include <aws/migration-hub-refactor-spaces/model/ServiceEndpointType.h>
15#include <aws/migration-hub-refactor-spaces/model/ServiceState.h>
16#include <aws/migration-hub-refactor-spaces/model/UrlEndpointConfig.h>
21template <
typename RESULT_TYPE>
22class AmazonWebServiceResult;
29namespace MigrationHubRefactorSpaces {
42 template <
typename ApplicationIdT = Aws::String>
44 m_applicationIdHasBeenSet =
true;
45 m_applicationId = std::forward<ApplicationIdT>(value);
47 template <
typename ApplicationIdT = Aws::String>
59 template <
typename ArnT = Aws::String>
61 m_arnHasBeenSet =
true;
62 m_arn = std::forward<ArnT>(value);
64 template <
typename ArnT = Aws::String>
66 SetArn(std::forward<ArnT>(value));
76 template <
typename CreatedByAccountIdT = Aws::String>
78 m_createdByAccountIdHasBeenSet =
true;
79 m_createdByAccountId = std::forward<CreatedByAccountIdT>(value);
81 template <
typename CreatedByAccountIdT = Aws::String>
93 template <
typename CreatedTimeT = Aws::Utils::DateTime>
95 m_createdTimeHasBeenSet =
true;
96 m_createdTime = std::forward<CreatedTimeT>(value);
98 template <
typename CreatedTimeT = Aws::Utils::DateTime>
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_endpointTypeHasBeenSet =
true;
129 m_endpointType = value;
142 template <
typename EnvironmentIdT = Aws::String>
144 m_environmentIdHasBeenSet =
true;
145 m_environmentId = std::forward<EnvironmentIdT>(value);
147 template <
typename EnvironmentIdT = Aws::String>
159 template <
typename ErrorT = ErrorResponse>
161 m_errorHasBeenSet =
true;
162 m_error = std::forward<ErrorT>(value);
164 template <
typename ErrorT = ErrorResponse>
166 SetError(std::forward<ErrorT>(value));
178 template <
typename LambdaEndpo
intT = LambdaEndpo
intConfig>
180 m_lambdaEndpointHasBeenSet =
true;
181 m_lambdaEndpoint = std::forward<LambdaEndpointT>(value);
183 template <
typename LambdaEndpo
intT = LambdaEndpo
intConfig>
195 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
197 m_lastUpdatedTimeHasBeenSet =
true;
198 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
200 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
212 template <
typename NameT = Aws::String>
214 m_nameHasBeenSet =
true;
215 m_name = std::forward<NameT>(value);
217 template <
typename NameT = Aws::String>
219 SetName(std::forward<NameT>(value));
229 template <
typename OwnerAccountIdT = Aws::String>
231 m_ownerAccountIdHasBeenSet =
true;
232 m_ownerAccountId = std::forward<OwnerAccountIdT>(value);
234 template <
typename OwnerAccountIdT = Aws::String>
246 template <
typename ServiceIdT = Aws::String>
248 m_serviceIdHasBeenSet =
true;
249 m_serviceId = std::forward<ServiceIdT>(value);
251 template <
typename ServiceIdT = Aws::String>
264 m_stateHasBeenSet =
true;
279 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
281 m_tagsHasBeenSet =
true;
282 m_tags = std::forward<TagsT>(value);
284 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
286 SetTags(std::forward<TagsT>(value));
289 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
291 m_tagsHasBeenSet =
true;
292 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
304 template <
typename UrlEndpo
intT = UrlEndpo
intConfig>
306 m_urlEndpointHasBeenSet =
true;
307 m_urlEndpoint = std::forward<UrlEndpointT>(value);
309 template <
typename UrlEndpo
intT = UrlEndpo
intConfig>
321 template <
typename VpcIdT = Aws::String>
323 m_vpcIdHasBeenSet =
true;
324 m_vpcId = std::forward<VpcIdT>(value);
326 template <
typename VpcIdT = Aws::String>
328 SetVpcId(std::forward<VpcIdT>(value));
336 template <
typename RequestIdT = Aws::String>
338 m_requestIdHasBeenSet =
true;
339 m_requestId = std::forward<RequestIdT>(value);
341 template <
typename RequestIdT = Aws::String>
364 ErrorResponse m_error;
366 LambdaEndpointConfig m_lambdaEndpoint;
380 UrlEndpointConfig m_urlEndpoint;
386 bool m_applicationIdHasBeenSet =
false;
387 bool m_arnHasBeenSet =
false;
388 bool m_createdByAccountIdHasBeenSet =
false;
389 bool m_createdTimeHasBeenSet =
false;
390 bool m_descriptionHasBeenSet =
false;
391 bool m_endpointTypeHasBeenSet =
false;
392 bool m_environmentIdHasBeenSet =
false;
393 bool m_errorHasBeenSet =
false;
394 bool m_lambdaEndpointHasBeenSet =
false;
395 bool m_lastUpdatedTimeHasBeenSet =
false;
396 bool m_nameHasBeenSet =
false;
397 bool m_ownerAccountIdHasBeenSet =
false;
398 bool m_serviceIdHasBeenSet =
false;
399 bool m_stateHasBeenSet =
false;
400 bool m_tagsHasBeenSet =
false;
401 bool m_urlEndpointHasBeenSet =
false;
402 bool m_vpcIdHasBeenSet =
false;
403 bool m_requestIdHasBeenSet =
false;
GetServiceResult & WithError(ErrorT &&value)
const UrlEndpointConfig & GetUrlEndpoint() const
GetServiceResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetServiceResult & WithVpcId(VpcIdT &&value)
GetServiceResult & WithApplicationId(ApplicationIdT &&value)
const Aws::String & GetDescription() const
const LambdaEndpointConfig & GetLambdaEndpoint() const
const Aws::String & GetVpcId() const
void SetServiceId(ServiceIdT &&value)
void SetCreatedTime(CreatedTimeT &&value)
void SetDescription(DescriptionT &&value)
void SetVpcId(VpcIdT &&value)
const Aws::String & GetApplicationId() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetState(ServiceState value)
void SetTags(TagsT &&value)
GetServiceResult & WithOwnerAccountId(OwnerAccountIdT &&value)
GetServiceResult & WithTags(TagsT &&value)
AWS_MIGRATIONHUBREFACTORSPACES_API GetServiceResult()=default
void SetRequestId(RequestIdT &&value)
GetServiceResult & WithDescription(DescriptionT &&value)
void SetCreatedByAccountId(CreatedByAccountIdT &&value)
AWS_MIGRATIONHUBREFACTORSPACES_API GetServiceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ServiceState GetState() const
ServiceEndpointType GetEndpointType() const
GetServiceResult & WithEndpointType(ServiceEndpointType value)
const Aws::String & GetArn() const
GetServiceResult & WithState(ServiceState value)
void SetEnvironmentId(EnvironmentIdT &&value)
void SetEndpointType(ServiceEndpointType value)
void SetArn(ArnT &&value)
void SetError(ErrorT &&value)
GetServiceResult & WithEnvironmentId(EnvironmentIdT &&value)
void SetName(NameT &&value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
GetServiceResult & WithCreatedByAccountId(CreatedByAccountIdT &&value)
const Aws::String & GetServiceId() const
GetServiceResult & WithCreatedTime(CreatedTimeT &&value)
GetServiceResult & WithArn(ArnT &&value)
GetServiceResult & WithRequestId(RequestIdT &&value)
void SetUrlEndpoint(UrlEndpointT &&value)
const Aws::String & GetEnvironmentId() const
const Aws::String & GetOwnerAccountId() const
GetServiceResult & WithLastUpdatedTime(LastUpdatedTimeT &&value)
GetServiceResult & WithName(NameT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Utils::DateTime & GetCreatedTime() const
const ErrorResponse & GetError() const
const Aws::String & GetRequestId() const
const Aws::String & GetName() const
const Aws::String & GetCreatedByAccountId() const
void SetLambdaEndpoint(LambdaEndpointT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetOwnerAccountId(OwnerAccountIdT &&value)
void SetApplicationId(ApplicationIdT &&value)
GetServiceResult & WithServiceId(ServiceIdT &&value)
AWS_MIGRATIONHUBREFACTORSPACES_API GetServiceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetServiceResult & WithUrlEndpoint(UrlEndpointT &&value)
GetServiceResult & WithLambdaEndpoint(LambdaEndpointT &&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