/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MigrationHubRefactorSpaces { namespace Model { /** *

The summary information for the routes as a response to * ListRoutes.

See Also:

AWS * API Reference

*/ class RouteSummary { public: AWS_MIGRATIONHUBREFACTORSPACES_API RouteSummary(); AWS_MIGRATIONHUBREFACTORSPACES_API RouteSummary(Aws::Utils::Json::JsonView jsonValue); AWS_MIGRATIONHUBREFACTORSPACES_API RouteSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MIGRATIONHUBREFACTORSPACES_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

If set to true, this option appends the source path to the * service URL endpoint.

*/ inline bool GetAppendSourcePath() const{ return m_appendSourcePath; } /** *

If set to true, this option appends the source path to the * service URL endpoint.

*/ inline bool AppendSourcePathHasBeenSet() const { return m_appendSourcePathHasBeenSet; } /** *

If set to true, this option appends the source path to the * service URL endpoint.

*/ inline void SetAppendSourcePath(bool value) { m_appendSourcePathHasBeenSet = true; m_appendSourcePath = value; } /** *

If set to true, this option appends the source path to the * service URL endpoint.

*/ inline RouteSummary& WithAppendSourcePath(bool value) { SetAppendSourcePath(value); return *this;} /** *

The unique identifier of the application.

*/ inline const Aws::String& GetApplicationId() const{ return m_applicationId; } /** *

The unique identifier of the application.

*/ inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } /** *

The unique identifier of the application.

*/ inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } /** *

The unique identifier of the application.

*/ inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } /** *

The unique identifier of the application.

*/ inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } /** *

The unique identifier of the application.

*/ inline RouteSummary& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *

The unique identifier of the application.

*/ inline RouteSummary& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} /** *

The unique identifier of the application.

*/ inline RouteSummary& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} /** *

The Amazon Resource Name (ARN) of the route.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) of the route.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the route.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The Amazon Resource Name (ARN) of the route.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the route.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the route.

*/ inline RouteSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the route.

*/ inline RouteSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the route.

*/ inline RouteSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *

The Amazon Web Services account ID of the route creator.

*/ inline const Aws::String& GetCreatedByAccountId() const{ return m_createdByAccountId; } /** *

The Amazon Web Services account ID of the route creator.

*/ inline bool CreatedByAccountIdHasBeenSet() const { return m_createdByAccountIdHasBeenSet; } /** *

The Amazon Web Services account ID of the route creator.

*/ inline void SetCreatedByAccountId(const Aws::String& value) { m_createdByAccountIdHasBeenSet = true; m_createdByAccountId = value; } /** *

The Amazon Web Services account ID of the route creator.

*/ inline void SetCreatedByAccountId(Aws::String&& value) { m_createdByAccountIdHasBeenSet = true; m_createdByAccountId = std::move(value); } /** *

The Amazon Web Services account ID of the route creator.

*/ inline void SetCreatedByAccountId(const char* value) { m_createdByAccountIdHasBeenSet = true; m_createdByAccountId.assign(value); } /** *

The Amazon Web Services account ID of the route creator.

*/ inline RouteSummary& WithCreatedByAccountId(const Aws::String& value) { SetCreatedByAccountId(value); return *this;} /** *

The Amazon Web Services account ID of the route creator.

*/ inline RouteSummary& WithCreatedByAccountId(Aws::String&& value) { SetCreatedByAccountId(std::move(value)); return *this;} /** *

The Amazon Web Services account ID of the route creator.

*/ inline RouteSummary& WithCreatedByAccountId(const char* value) { SetCreatedByAccountId(value); return *this;} /** *

A timestamp that indicates when the route is created.

*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *

A timestamp that indicates when the route is created.

*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *

A timestamp that indicates when the route is created.

*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *

A timestamp that indicates when the route is created.

*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *

A timestamp that indicates when the route is created.

*/ inline RouteSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *

A timestamp that indicates when the route is created.

*/ inline RouteSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} /** *

The unique identifier of the environment.

*/ inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } /** *

The unique identifier of the environment.

*/ inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } /** *

The unique identifier of the environment.

*/ inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } /** *

The unique identifier of the environment.

*/ inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } /** *

The unique identifier of the environment.

*/ inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } /** *

The unique identifier of the environment.

*/ inline RouteSummary& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} /** *

The unique identifier of the environment.

*/ inline RouteSummary& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} /** *

The unique identifier of the environment.

*/ inline RouteSummary& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} /** *

Any error associated with the route resource.

*/ inline const ErrorResponse& GetError() const{ return m_error; } /** *

Any error associated with the route resource.

*/ inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } /** *

Any error associated with the route resource.

*/ inline void SetError(const ErrorResponse& value) { m_errorHasBeenSet = true; m_error = value; } /** *

Any error associated with the route resource.

*/ inline void SetError(ErrorResponse&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } /** *

Any error associated with the route resource.

*/ inline RouteSummary& WithError(const ErrorResponse& value) { SetError(value); return *this;} /** *

Any error associated with the route resource.

*/ inline RouteSummary& WithError(ErrorResponse&& value) { SetError(std::move(value)); return *this;} /** *

Indicates whether to match all subpaths of the given source path. If this * value is false, requests must match the source path exactly before * they are forwarded to this route's service.

*/ inline bool GetIncludeChildPaths() const{ return m_includeChildPaths; } /** *

Indicates whether to match all subpaths of the given source path. If this * value is false, requests must match the source path exactly before * they are forwarded to this route's service.

*/ inline bool IncludeChildPathsHasBeenSet() const { return m_includeChildPathsHasBeenSet; } /** *

Indicates whether to match all subpaths of the given source path. If this * value is false, requests must match the source path exactly before * they are forwarded to this route's service.

*/ inline void SetIncludeChildPaths(bool value) { m_includeChildPathsHasBeenSet = true; m_includeChildPaths = value; } /** *

Indicates whether to match all subpaths of the given source path. If this * value is false, requests must match the source path exactly before * they are forwarded to this route's service.

*/ inline RouteSummary& WithIncludeChildPaths(bool value) { SetIncludeChildPaths(value); return *this;} /** *

A timestamp that indicates when the route was last updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *

A timestamp that indicates when the route was last updated.

*/ inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; } /** *

A timestamp that indicates when the route was last updated.

*/ inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; } /** *

A timestamp that indicates when the route was last updated.

*/ inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); } /** *

A timestamp that indicates when the route was last updated.

*/ inline RouteSummary& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;} /** *

A timestamp that indicates when the route was last updated.

*/ inline RouteSummary& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} /** *

A list of HTTP methods to match. An empty list matches all values. If a * method is present, only HTTP requests using that method are forwarded to this * route’s service.

*/ inline const Aws::Vector& GetMethods() const{ return m_methods; } /** *

A list of HTTP methods to match. An empty list matches all values. If a * method is present, only HTTP requests using that method are forwarded to this * route’s service.

*/ inline bool MethodsHasBeenSet() const { return m_methodsHasBeenSet; } /** *

A list of HTTP methods to match. An empty list matches all values. If a * method is present, only HTTP requests using that method are forwarded to this * route’s service.

*/ inline void SetMethods(const Aws::Vector& value) { m_methodsHasBeenSet = true; m_methods = value; } /** *

A list of HTTP methods to match. An empty list matches all values. If a * method is present, only HTTP requests using that method are forwarded to this * route’s service.

*/ inline void SetMethods(Aws::Vector&& value) { m_methodsHasBeenSet = true; m_methods = std::move(value); } /** *

A list of HTTP methods to match. An empty list matches all values. If a * method is present, only HTTP requests using that method are forwarded to this * route’s service.

*/ inline RouteSummary& WithMethods(const Aws::Vector& value) { SetMethods(value); return *this;} /** *

A list of HTTP methods to match. An empty list matches all values. If a * method is present, only HTTP requests using that method are forwarded to this * route’s service.

*/ inline RouteSummary& WithMethods(Aws::Vector&& value) { SetMethods(std::move(value)); return *this;} /** *

A list of HTTP methods to match. An empty list matches all values. If a * method is present, only HTTP requests using that method are forwarded to this * route’s service.

*/ inline RouteSummary& AddMethods(const HttpMethod& value) { m_methodsHasBeenSet = true; m_methods.push_back(value); return *this; } /** *

A list of HTTP methods to match. An empty list matches all values. If a * method is present, only HTTP requests using that method are forwarded to this * route’s service.

*/ inline RouteSummary& AddMethods(HttpMethod&& value) { m_methodsHasBeenSet = true; m_methods.push_back(std::move(value)); return *this; } /** *

The Amazon Web Services account ID of the route owner.

*/ inline const Aws::String& GetOwnerAccountId() const{ return m_ownerAccountId; } /** *

The Amazon Web Services account ID of the route owner.

*/ inline bool OwnerAccountIdHasBeenSet() const { return m_ownerAccountIdHasBeenSet; } /** *

The Amazon Web Services account ID of the route owner.

*/ inline void SetOwnerAccountId(const Aws::String& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = value; } /** *

The Amazon Web Services account ID of the route owner.

*/ inline void SetOwnerAccountId(Aws::String&& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = std::move(value); } /** *

The Amazon Web Services account ID of the route owner.

*/ inline void SetOwnerAccountId(const char* value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId.assign(value); } /** *

The Amazon Web Services account ID of the route owner.

*/ inline RouteSummary& WithOwnerAccountId(const Aws::String& value) { SetOwnerAccountId(value); return *this;} /** *

The Amazon Web Services account ID of the route owner.

*/ inline RouteSummary& WithOwnerAccountId(Aws::String&& value) { SetOwnerAccountId(std::move(value)); return *this;} /** *

The Amazon Web Services account ID of the route owner.

*/ inline RouteSummary& WithOwnerAccountId(const char* value) { SetOwnerAccountId(value); return *this;} /** *

A mapping of Amazon API Gateway path resources to resource IDs.

*/ inline const Aws::Map& GetPathResourceToId() const{ return m_pathResourceToId; } /** *

A mapping of Amazon API Gateway path resources to resource IDs.

*/ inline bool PathResourceToIdHasBeenSet() const { return m_pathResourceToIdHasBeenSet; } /** *

A mapping of Amazon API Gateway path resources to resource IDs.

*/ inline void SetPathResourceToId(const Aws::Map& value) { m_pathResourceToIdHasBeenSet = true; m_pathResourceToId = value; } /** *

A mapping of Amazon API Gateway path resources to resource IDs.

*/ inline void SetPathResourceToId(Aws::Map&& value) { m_pathResourceToIdHasBeenSet = true; m_pathResourceToId = std::move(value); } /** *

A mapping of Amazon API Gateway path resources to resource IDs.

*/ inline RouteSummary& WithPathResourceToId(const Aws::Map& value) { SetPathResourceToId(value); return *this;} /** *

A mapping of Amazon API Gateway path resources to resource IDs.

*/ inline RouteSummary& WithPathResourceToId(Aws::Map&& value) { SetPathResourceToId(std::move(value)); return *this;} /** *

A mapping of Amazon API Gateway path resources to resource IDs.

*/ inline RouteSummary& AddPathResourceToId(const Aws::String& key, const Aws::String& value) { m_pathResourceToIdHasBeenSet = true; m_pathResourceToId.emplace(key, value); return *this; } /** *

A mapping of Amazon API Gateway path resources to resource IDs.

*/ inline RouteSummary& AddPathResourceToId(Aws::String&& key, const Aws::String& value) { m_pathResourceToIdHasBeenSet = true; m_pathResourceToId.emplace(std::move(key), value); return *this; } /** *

A mapping of Amazon API Gateway path resources to resource IDs.

*/ inline RouteSummary& AddPathResourceToId(const Aws::String& key, Aws::String&& value) { m_pathResourceToIdHasBeenSet = true; m_pathResourceToId.emplace(key, std::move(value)); return *this; } /** *

A mapping of Amazon API Gateway path resources to resource IDs.

*/ inline RouteSummary& AddPathResourceToId(Aws::String&& key, Aws::String&& value) { m_pathResourceToIdHasBeenSet = true; m_pathResourceToId.emplace(std::move(key), std::move(value)); return *this; } /** *

A mapping of Amazon API Gateway path resources to resource IDs.

*/ inline RouteSummary& AddPathResourceToId(const char* key, Aws::String&& value) { m_pathResourceToIdHasBeenSet = true; m_pathResourceToId.emplace(key, std::move(value)); return *this; } /** *

A mapping of Amazon API Gateway path resources to resource IDs.

*/ inline RouteSummary& AddPathResourceToId(Aws::String&& key, const char* value) { m_pathResourceToIdHasBeenSet = true; m_pathResourceToId.emplace(std::move(key), value); return *this; } /** *

A mapping of Amazon API Gateway path resources to resource IDs.

*/ inline RouteSummary& AddPathResourceToId(const char* key, const char* value) { m_pathResourceToIdHasBeenSet = true; m_pathResourceToId.emplace(key, value); return *this; } /** *

The unique identifier of the route.

*/ inline const Aws::String& GetRouteId() const{ return m_routeId; } /** *

The unique identifier of the route.

*/ inline bool RouteIdHasBeenSet() const { return m_routeIdHasBeenSet; } /** *

The unique identifier of the route.

*/ inline void SetRouteId(const Aws::String& value) { m_routeIdHasBeenSet = true; m_routeId = value; } /** *

The unique identifier of the route.

*/ inline void SetRouteId(Aws::String&& value) { m_routeIdHasBeenSet = true; m_routeId = std::move(value); } /** *

The unique identifier of the route.

*/ inline void SetRouteId(const char* value) { m_routeIdHasBeenSet = true; m_routeId.assign(value); } /** *

The unique identifier of the route.

*/ inline RouteSummary& WithRouteId(const Aws::String& value) { SetRouteId(value); return *this;} /** *

The unique identifier of the route.

*/ inline RouteSummary& WithRouteId(Aws::String&& value) { SetRouteId(std::move(value)); return *this;} /** *

The unique identifier of the route.

*/ inline RouteSummary& WithRouteId(const char* value) { SetRouteId(value); return *this;} /** *

The route type of the route.

*/ inline const RouteType& GetRouteType() const{ return m_routeType; } /** *

The route type of the route.

*/ inline bool RouteTypeHasBeenSet() const { return m_routeTypeHasBeenSet; } /** *

The route type of the route.

*/ inline void SetRouteType(const RouteType& value) { m_routeTypeHasBeenSet = true; m_routeType = value; } /** *

The route type of the route.

*/ inline void SetRouteType(RouteType&& value) { m_routeTypeHasBeenSet = true; m_routeType = std::move(value); } /** *

The route type of the route.

*/ inline RouteSummary& WithRouteType(const RouteType& value) { SetRouteType(value); return *this;} /** *

The route type of the route.

*/ inline RouteSummary& WithRouteType(RouteType&& value) { SetRouteType(std::move(value)); return *this;} /** *

The unique identifier of the service.

*/ inline const Aws::String& GetServiceId() const{ return m_serviceId; } /** *

The unique identifier of the service.

*/ inline bool ServiceIdHasBeenSet() const { return m_serviceIdHasBeenSet; } /** *

The unique identifier of the service.

*/ inline void SetServiceId(const Aws::String& value) { m_serviceIdHasBeenSet = true; m_serviceId = value; } /** *

The unique identifier of the service.

*/ inline void SetServiceId(Aws::String&& value) { m_serviceIdHasBeenSet = true; m_serviceId = std::move(value); } /** *

The unique identifier of the service.

*/ inline void SetServiceId(const char* value) { m_serviceIdHasBeenSet = true; m_serviceId.assign(value); } /** *

The unique identifier of the service.

*/ inline RouteSummary& WithServiceId(const Aws::String& value) { SetServiceId(value); return *this;} /** *

The unique identifier of the service.

*/ inline RouteSummary& WithServiceId(Aws::String&& value) { SetServiceId(std::move(value)); return *this;} /** *

The unique identifier of the service.

*/ inline RouteSummary& WithServiceId(const char* value) { SetServiceId(value); return *this;} /** *

This is the path that Refactor Spaces uses to match traffic. Paths must start * with / and are relative to the base of the application. To use path * parameters in the source path, add a variable in curly braces. For example, the * resource path {user} represents a path parameter called 'user'.

*/ inline const Aws::String& GetSourcePath() const{ return m_sourcePath; } /** *

This is the path that Refactor Spaces uses to match traffic. Paths must start * with / and are relative to the base of the application. To use path * parameters in the source path, add a variable in curly braces. For example, the * resource path {user} represents a path parameter called 'user'.

*/ inline bool SourcePathHasBeenSet() const { return m_sourcePathHasBeenSet; } /** *

This is the path that Refactor Spaces uses to match traffic. Paths must start * with / and are relative to the base of the application. To use path * parameters in the source path, add a variable in curly braces. For example, the * resource path {user} represents a path parameter called 'user'.

*/ inline void SetSourcePath(const Aws::String& value) { m_sourcePathHasBeenSet = true; m_sourcePath = value; } /** *

This is the path that Refactor Spaces uses to match traffic. Paths must start * with / and are relative to the base of the application. To use path * parameters in the source path, add a variable in curly braces. For example, the * resource path {user} represents a path parameter called 'user'.

*/ inline void SetSourcePath(Aws::String&& value) { m_sourcePathHasBeenSet = true; m_sourcePath = std::move(value); } /** *

This is the path that Refactor Spaces uses to match traffic. Paths must start * with / and are relative to the base of the application. To use path * parameters in the source path, add a variable in curly braces. For example, the * resource path {user} represents a path parameter called 'user'.

*/ inline void SetSourcePath(const char* value) { m_sourcePathHasBeenSet = true; m_sourcePath.assign(value); } /** *

This is the path that Refactor Spaces uses to match traffic. Paths must start * with / and are relative to the base of the application. To use path * parameters in the source path, add a variable in curly braces. For example, the * resource path {user} represents a path parameter called 'user'.

*/ inline RouteSummary& WithSourcePath(const Aws::String& value) { SetSourcePath(value); return *this;} /** *

This is the path that Refactor Spaces uses to match traffic. Paths must start * with / and are relative to the base of the application. To use path * parameters in the source path, add a variable in curly braces. For example, the * resource path {user} represents a path parameter called 'user'.

*/ inline RouteSummary& WithSourcePath(Aws::String&& value) { SetSourcePath(std::move(value)); return *this;} /** *

This is the path that Refactor Spaces uses to match traffic. Paths must start * with / and are relative to the base of the application. To use path * parameters in the source path, add a variable in curly braces. For example, the * resource path {user} represents a path parameter called 'user'.

*/ inline RouteSummary& WithSourcePath(const char* value) { SetSourcePath(value); return *this;} /** *

The current state of the route.

*/ inline const RouteState& GetState() const{ return m_state; } /** *

The current state of the route.

*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *

The current state of the route.

*/ inline void SetState(const RouteState& value) { m_stateHasBeenSet = true; m_state = value; } /** *

The current state of the route.

*/ inline void SetState(RouteState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *

The current state of the route.

*/ inline RouteSummary& WithState(const RouteState& value) { SetState(value); return *this;} /** *

The current state of the route.

*/ inline RouteSummary& WithState(RouteState&& value) { SetState(std::move(value)); return *this;} /** *

The tags assigned to the route.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The tags assigned to the route.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The tags assigned to the route.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The tags assigned to the route.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The tags assigned to the route.

*/ inline RouteSummary& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The tags assigned to the route.

*/ inline RouteSummary& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The tags assigned to the route.

*/ inline RouteSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

The tags assigned to the route.

*/ inline RouteSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags assigned to the route.

*/ inline RouteSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags assigned to the route.

*/ inline RouteSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The tags assigned to the route.

*/ inline RouteSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags assigned to the route.

*/ inline RouteSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags assigned to the route.

*/ inline RouteSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: bool m_appendSourcePath; bool m_appendSourcePathHasBeenSet = false; Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_createdByAccountId; bool m_createdByAccountIdHasBeenSet = false; Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; Aws::String m_environmentId; bool m_environmentIdHasBeenSet = false; ErrorResponse m_error; bool m_errorHasBeenSet = false; bool m_includeChildPaths; bool m_includeChildPathsHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedTime; bool m_lastUpdatedTimeHasBeenSet = false; Aws::Vector m_methods; bool m_methodsHasBeenSet = false; Aws::String m_ownerAccountId; bool m_ownerAccountIdHasBeenSet = false; Aws::Map m_pathResourceToId; bool m_pathResourceToIdHasBeenSet = false; Aws::String m_routeId; bool m_routeIdHasBeenSet = false; RouteType m_routeType; bool m_routeTypeHasBeenSet = false; Aws::String m_serviceId; bool m_serviceIdHasBeenSet = false; Aws::String m_sourcePath; bool m_sourcePathHasBeenSet = false; RouteState m_state; bool m_stateHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace MigrationHubRefactorSpaces } // namespace Aws