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/migration-hub-refactor-spaces/MigrationHubRefactorSpaces_EXPORTS.h>
13#include <aws/migration-hub-refactor-spaces/model/ErrorResponse.h>
14#include <aws/migration-hub-refactor-spaces/model/HttpMethod.h>
15#include <aws/migration-hub-refactor-spaces/model/RouteState.h>
16#include <aws/migration-hub-refactor-spaces/model/RouteType.h>
21template <
typename RESULT_TYPE>
22class AmazonWebServiceResult;
29namespace MigrationHubRefactorSpaces {
44 m_appendSourcePathHasBeenSet =
true;
45 m_appendSourcePath = value;
58 template <
typename ApplicationIdT = Aws::String>
60 m_applicationIdHasBeenSet =
true;
61 m_applicationId = std::forward<ApplicationIdT>(value);
63 template <
typename ApplicationIdT = Aws::String>
75 template <
typename ArnT = Aws::String>
77 m_arnHasBeenSet =
true;
78 m_arn = std::forward<ArnT>(value);
80 template <
typename ArnT = Aws::String>
82 SetArn(std::forward<ArnT>(value));
92 template <
typename CreatedByAccountIdT = Aws::String>
94 m_createdByAccountIdHasBeenSet =
true;
95 m_createdByAccountId = std::forward<CreatedByAccountIdT>(value);
97 template <
typename CreatedByAccountIdT = Aws::String>
109 template <
typename CreatedTimeT = Aws::Utils::DateTime>
111 m_createdTimeHasBeenSet =
true;
112 m_createdTime = std::forward<CreatedTimeT>(value);
114 template <
typename CreatedTimeT = Aws::Utils::DateTime>
126 template <
typename EnvironmentIdT = Aws::String>
128 m_environmentIdHasBeenSet =
true;
129 m_environmentId = std::forward<EnvironmentIdT>(value);
131 template <
typename EnvironmentIdT = Aws::String>
143 template <
typename ErrorT = ErrorResponse>
145 m_errorHasBeenSet =
true;
146 m_error = std::forward<ErrorT>(value);
148 template <
typename ErrorT = ErrorResponse>
150 SetError(std::forward<ErrorT>(value));
163 m_includeChildPathsHasBeenSet =
true;
164 m_includeChildPaths = value;
177 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
179 m_lastUpdatedTimeHasBeenSet =
true;
180 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
182 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
196 template <
typename MethodsT = Aws::Vector<HttpMethod>>
198 m_methodsHasBeenSet =
true;
199 m_methods = std::forward<MethodsT>(value);
201 template <
typename MethodsT = Aws::Vector<HttpMethod>>
207 m_methodsHasBeenSet =
true;
208 m_methods.push_back(value);
218 template <
typename OwnerAccountIdT = Aws::String>
220 m_ownerAccountIdHasBeenSet =
true;
221 m_ownerAccountId = std::forward<OwnerAccountIdT>(value);
223 template <
typename OwnerAccountIdT = Aws::String>
235 template <
typename PathResourceToIdT = Aws::Map<Aws::String, Aws::String>>
237 m_pathResourceToIdHasBeenSet =
true;
238 m_pathResourceToId = std::forward<PathResourceToIdT>(value);
240 template <
typename PathResourceToIdT = Aws::Map<Aws::String, Aws::String>>
245 template <
typename PathResourceToIdKeyT = Aws::String,
typename PathResourceToIdValueT = Aws::String>
247 m_pathResourceToIdHasBeenSet =
true;
248 m_pathResourceToId.emplace(std::forward<PathResourceToIdKeyT>(key), std::forward<PathResourceToIdValueT>(value));
261 template <
typename RouteIdT = Aws::String>
263 m_routeIdHasBeenSet =
true;
264 m_routeId = std::forward<RouteIdT>(value);
266 template <
typename RouteIdT = Aws::String>
279 m_routeTypeHasBeenSet =
true;
293 template <
typename ServiceIdT = Aws::String>
295 m_serviceIdHasBeenSet =
true;
296 m_serviceId = std::forward<ServiceIdT>(value);
298 template <
typename ServiceIdT = Aws::String>
313 template <
typename SourcePathT = Aws::String>
315 m_sourcePathHasBeenSet =
true;
316 m_sourcePath = std::forward<SourcePathT>(value);
318 template <
typename SourcePathT = Aws::String>
331 m_stateHasBeenSet =
true;
346 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
348 m_tagsHasBeenSet =
true;
349 m_tags = std::forward<TagsT>(value);
351 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
353 SetTags(std::forward<TagsT>(value));
356 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
358 m_tagsHasBeenSet =
true;
359 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
367 template <
typename RequestIdT = Aws::String>
369 m_requestIdHasBeenSet =
true;
370 m_requestId = std::forward<RequestIdT>(value);
372 template <
typename RequestIdT = Aws::String>
381 bool m_appendSourcePath{
false};
393 ErrorResponse m_error;
395 bool m_includeChildPaths{
false};
419 bool m_appendSourcePathHasBeenSet =
false;
420 bool m_applicationIdHasBeenSet =
false;
421 bool m_arnHasBeenSet =
false;
422 bool m_createdByAccountIdHasBeenSet =
false;
423 bool m_createdTimeHasBeenSet =
false;
424 bool m_environmentIdHasBeenSet =
false;
425 bool m_errorHasBeenSet =
false;
426 bool m_includeChildPathsHasBeenSet =
false;
427 bool m_lastUpdatedTimeHasBeenSet =
false;
428 bool m_methodsHasBeenSet =
false;
429 bool m_ownerAccountIdHasBeenSet =
false;
430 bool m_pathResourceToIdHasBeenSet =
false;
431 bool m_routeIdHasBeenSet =
false;
432 bool m_routeTypeHasBeenSet =
false;
433 bool m_serviceIdHasBeenSet =
false;
434 bool m_sourcePathHasBeenSet =
false;
435 bool m_stateHasBeenSet =
false;
436 bool m_tagsHasBeenSet =
false;
437 bool m_requestIdHasBeenSet =
false;
GetRouteResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetRouteResult & WithRequestId(RequestIdT &&value)
GetRouteResult & WithTags(TagsT &&value)
AWS_MIGRATIONHUBREFACTORSPACES_API GetRouteResult()=default
GetRouteResult & WithCreatedTime(CreatedTimeT &&value)
GetRouteResult & WithApplicationId(ApplicationIdT &&value)
GetRouteResult & WithAppendSourcePath(bool value)
bool GetIncludeChildPaths() const
const Aws::String & GetOwnerAccountId() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
const Aws::String & GetArn() const
RouteState GetState() const
const ErrorResponse & GetError() const
const Aws::String & GetServiceId() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetCreatedByAccountId() const
GetRouteResult & WithRouteType(RouteType value)
GetRouteResult & AddPathResourceToId(PathResourceToIdKeyT &&key, PathResourceToIdValueT &&value)
const Aws::Vector< HttpMethod > & GetMethods() const
RouteType GetRouteType() const
void SetMethods(MethodsT &&value)
GetRouteResult & WithRouteId(RouteIdT &&value)
void SetApplicationId(ApplicationIdT &&value)
const Aws::String & GetApplicationId() const
void SetCreatedTime(CreatedTimeT &&value)
GetRouteResult & WithLastUpdatedTime(LastUpdatedTimeT &&value)
void SetTags(TagsT &&value)
void SetArn(ArnT &&value)
void SetCreatedByAccountId(CreatedByAccountIdT &&value)
void SetRouteType(RouteType value)
const Aws::String & GetSourcePath() const
void SetIncludeChildPaths(bool value)
GetRouteResult & WithEnvironmentId(EnvironmentIdT &&value)
GetRouteResult & WithCreatedByAccountId(CreatedByAccountIdT &&value)
GetRouteResult & WithArn(ArnT &&value)
GetRouteResult & WithMethods(MethodsT &&value)
void SetServiceId(ServiceIdT &&value)
void SetEnvironmentId(EnvironmentIdT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
void SetOwnerAccountId(OwnerAccountIdT &&value)
GetRouteResult & WithServiceId(ServiceIdT &&value)
GetRouteResult & AddMethods(HttpMethod value)
void SetPathResourceToId(PathResourceToIdT &&value)
void SetSourcePath(SourcePathT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
GetRouteResult & WithIncludeChildPaths(bool value)
const Aws::String & GetEnvironmentId() const
void SetAppendSourcePath(bool value)
void SetRouteId(RouteIdT &&value)
GetRouteResult & WithOwnerAccountId(OwnerAccountIdT &&value)
const Aws::String & GetRouteId() const
const Aws::Map< Aws::String, Aws::String > & GetPathResourceToId() const
GetRouteResult & WithError(ErrorT &&value)
AWS_MIGRATIONHUBREFACTORSPACES_API GetRouteResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
bool GetAppendSourcePath() const
void SetError(ErrorT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_MIGRATIONHUBREFACTORSPACES_API GetRouteResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRouteResult & WithSourcePath(SourcePathT &&value)
const Aws::String & GetRequestId() const
GetRouteResult & WithState(RouteState value)
GetRouteResult & WithPathResourceToId(PathResourceToIdT &&value)
void SetState(RouteState 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