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/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/HttpMethod.h>
14#include <aws/migration-hub-refactor-spaces/model/RouteState.h>
15#include <aws/migration-hub-refactor-spaces/model/RouteType.h>
26namespace MigrationHubRefactorSpaces {
50 m_appendSourcePathHasBeenSet =
true;
51 m_appendSourcePath = value;
65 template <
typename ApplicationIdT = Aws::String>
67 m_applicationIdHasBeenSet =
true;
68 m_applicationId = std::forward<ApplicationIdT>(value);
70 template <
typename ApplicationIdT = Aws::String>
83 template <
typename ArnT = Aws::String>
85 m_arnHasBeenSet =
true;
86 m_arn = std::forward<ArnT>(value);
88 template <
typename ArnT = Aws::String>
90 SetArn(std::forward<ArnT>(value));
101 template <
typename CreatedByAccountIdT = Aws::String>
103 m_createdByAccountIdHasBeenSet =
true;
104 m_createdByAccountId = std::forward<CreatedByAccountIdT>(value);
106 template <
typename CreatedByAccountIdT = Aws::String>
119 template <
typename CreatedTimeT = Aws::Utils::DateTime>
121 m_createdTimeHasBeenSet =
true;
122 m_createdTime = std::forward<CreatedTimeT>(value);
124 template <
typename CreatedTimeT = Aws::Utils::DateTime>
137 template <
typename EnvironmentIdT = Aws::String>
139 m_environmentIdHasBeenSet =
true;
140 m_environmentId = std::forward<EnvironmentIdT>(value);
142 template <
typename EnvironmentIdT = Aws::String>
155 template <
typename ErrorT = ErrorResponse>
157 m_errorHasBeenSet =
true;
158 m_error = std::forward<ErrorT>(value);
160 template <
typename ErrorT = ErrorResponse>
162 SetError(std::forward<ErrorT>(value));
176 m_includeChildPathsHasBeenSet =
true;
177 m_includeChildPaths = value;
191 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
193 m_lastUpdatedTimeHasBeenSet =
true;
194 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
196 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
211 template <
typename MethodsT = Aws::Vector<HttpMethod>>
213 m_methodsHasBeenSet =
true;
214 m_methods = std::forward<MethodsT>(value);
216 template <
typename MethodsT = Aws::Vector<HttpMethod>>
222 m_methodsHasBeenSet =
true;
223 m_methods.push_back(value);
234 template <
typename OwnerAccountIdT = Aws::String>
236 m_ownerAccountIdHasBeenSet =
true;
237 m_ownerAccountId = std::forward<OwnerAccountIdT>(value);
239 template <
typename OwnerAccountIdT = Aws::String>
252 template <
typename PathResourceToIdT = Aws::Map<Aws::String, Aws::String>>
254 m_pathResourceToIdHasBeenSet =
true;
255 m_pathResourceToId = std::forward<PathResourceToIdT>(value);
257 template <
typename PathResourceToIdT = Aws::Map<Aws::String, Aws::String>>
262 template <
typename PathResourceToIdKeyT = Aws::String,
typename PathResourceToIdValueT = Aws::String>
264 m_pathResourceToIdHasBeenSet =
true;
265 m_pathResourceToId.emplace(std::forward<PathResourceToIdKeyT>(key), std::forward<PathResourceToIdValueT>(value));
276 template <
typename RouteIdT = Aws::String>
278 m_routeIdHasBeenSet =
true;
279 m_routeId = std::forward<RouteIdT>(value);
281 template <
typename RouteIdT = Aws::String>
295 m_routeTypeHasBeenSet =
true;
310 template <
typename ServiceIdT = Aws::String>
312 m_serviceIdHasBeenSet =
true;
313 m_serviceId = std::forward<ServiceIdT>(value);
315 template <
typename ServiceIdT = Aws::String>
331 template <
typename SourcePathT = Aws::String>
333 m_sourcePathHasBeenSet =
true;
334 m_sourcePath = std::forward<SourcePathT>(value);
336 template <
typename SourcePathT = Aws::String>
350 m_stateHasBeenSet =
true;
365 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
367 m_tagsHasBeenSet =
true;
368 m_tags = std::forward<TagsT>(value);
370 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
372 SetTags(std::forward<TagsT>(value));
375 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
377 m_tagsHasBeenSet =
true;
378 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
383 bool m_appendSourcePath{
false};
395 ErrorResponse m_error;
397 bool m_includeChildPaths{
false};
418 bool m_appendSourcePathHasBeenSet =
false;
419 bool m_applicationIdHasBeenSet =
false;
420 bool m_arnHasBeenSet =
false;
421 bool m_createdByAccountIdHasBeenSet =
false;
422 bool m_createdTimeHasBeenSet =
false;
423 bool m_environmentIdHasBeenSet =
false;
424 bool m_errorHasBeenSet =
false;
425 bool m_includeChildPathsHasBeenSet =
false;
426 bool m_lastUpdatedTimeHasBeenSet =
false;
427 bool m_methodsHasBeenSet =
false;
428 bool m_ownerAccountIdHasBeenSet =
false;
429 bool m_pathResourceToIdHasBeenSet =
false;
430 bool m_routeIdHasBeenSet =
false;
431 bool m_routeTypeHasBeenSet =
false;
432 bool m_serviceIdHasBeenSet =
false;
433 bool m_sourcePathHasBeenSet =
false;
434 bool m_stateHasBeenSet =
false;
435 bool m_tagsHasBeenSet =
false;
void SetEnvironmentId(EnvironmentIdT &&value)
void SetRouteId(RouteIdT &&value)
bool ServiceIdHasBeenSet() const
bool IncludeChildPathsHasBeenSet() const
bool TagsHasBeenSet() const
RouteSummary & WithError(ErrorT &&value)
RouteSummary & WithArn(ArnT &&value)
RouteSummary & WithServiceId(ServiceIdT &&value)
RouteSummary & WithLastUpdatedTime(LastUpdatedTimeT &&value)
const ErrorResponse & GetError() const
bool EnvironmentIdHasBeenSet() const
bool StateHasBeenSet() const
bool ApplicationIdHasBeenSet() const
const Aws::String & GetApplicationId() const
void SetPathResourceToId(PathResourceToIdT &&value)
bool GetAppendSourcePath() const
bool OwnerAccountIdHasBeenSet() const
void SetMethods(MethodsT &&value)
const Aws::String & GetRouteId() const
void SetAppendSourcePath(bool value)
void SetSourcePath(SourcePathT &&value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
RouteSummary & WithApplicationId(ApplicationIdT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
AWS_MIGRATIONHUBREFACTORSPACES_API RouteSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIncludeChildPaths(bool value)
bool ErrorHasBeenSet() const
void SetArn(ArnT &&value)
RouteState GetState() const
void SetCreatedTime(CreatedTimeT &&value)
bool CreatedByAccountIdHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetPathResourceToId() const
RouteSummary & WithTags(TagsT &&value)
RouteSummary & WithIncludeChildPaths(bool value)
RouteType GetRouteType() const
AWS_MIGRATIONHUBREFACTORSPACES_API RouteSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedTime() const
RouteSummary & WithCreatedTime(CreatedTimeT &&value)
RouteSummary & WithState(RouteState value)
RouteSummary & WithRouteType(RouteType value)
AWS_MIGRATIONHUBREFACTORSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteSummary & WithMethods(MethodsT &&value)
bool LastUpdatedTimeHasBeenSet() const
bool CreatedTimeHasBeenSet() const
RouteSummary & AddMethods(HttpMethod value)
RouteSummary & WithSourcePath(SourcePathT &&value)
const Aws::String & GetEnvironmentId() const
const Aws::String & GetCreatedByAccountId() const
bool ArnHasBeenSet() const
const Aws::String & GetOwnerAccountId() const
void SetApplicationId(ApplicationIdT &&value)
bool SourcePathHasBeenSet() const
const Aws::String & GetSourcePath() const
bool PathResourceToIdHasBeenSet() const
void SetOwnerAccountId(OwnerAccountIdT &&value)
void SetError(ErrorT &&value)
bool RouteTypeHasBeenSet() const
RouteSummary & WithRouteId(RouteIdT &&value)
RouteSummary & WithCreatedByAccountId(CreatedByAccountIdT &&value)
AWS_MIGRATIONHUBREFACTORSPACES_API RouteSummary()=default
void SetCreatedByAccountId(CreatedByAccountIdT &&value)
const Aws::String & GetServiceId() const
bool GetIncludeChildPaths() const
RouteSummary & WithAppendSourcePath(bool value)
bool AppendSourcePathHasBeenSet() const
bool MethodsHasBeenSet() const
RouteSummary & WithPathResourceToId(PathResourceToIdT &&value)
bool RouteIdHasBeenSet() const
RouteSummary & WithEnvironmentId(EnvironmentIdT &&value)
RouteSummary & WithOwnerAccountId(OwnerAccountIdT &&value)
RouteSummary & AddPathResourceToId(PathResourceToIdKeyT &&key, PathResourceToIdValueT &&value)
const Aws::Vector< HttpMethod > & GetMethods() const
void SetRouteType(RouteType value)
const Aws::String & GetArn() const
void SetServiceId(ServiceIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(TagsT &&value)
void SetState(RouteState value)
RouteSummary & AddTags(TagsKeyT &&key, TagsValueT &&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