7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/migration-hub-refactor-spaces/MigrationHubRefactorSpacesRequest.h>
11#include <aws/migration-hub-refactor-spaces/MigrationHubRefactorSpaces_EXPORTS.h>
12#include <aws/migration-hub-refactor-spaces/model/DefaultRouteInput.h>
13#include <aws/migration-hub-refactor-spaces/model/RouteType.h>
14#include <aws/migration-hub-refactor-spaces/model/UriPathRouteInput.h>
19namespace MigrationHubRefactorSpaces {
42 template <
typename ApplicationIdentifierT = Aws::String>
44 m_applicationIdentifierHasBeenSet =
true;
45 m_applicationIdentifier = std::forward<ApplicationIdentifierT>(value);
47 template <
typename ApplicationIdentifierT = Aws::String>
61 template <
typename ClientTokenT = Aws::String>
63 m_clientTokenHasBeenSet =
true;
64 m_clientToken = std::forward<ClientTokenT>(value);
66 template <
typename ClientTokenT = Aws::String>
79 template <
typename DefaultRouteT = DefaultRouteInput>
81 m_defaultRouteHasBeenSet =
true;
82 m_defaultRoute = std::forward<DefaultRouteT>(value);
84 template <
typename DefaultRouteT = DefaultRouteInput>
97 template <
typename EnvironmentIdentifierT = Aws::String>
99 m_environmentIdentifierHasBeenSet =
true;
100 m_environmentIdentifier = std::forward<EnvironmentIdentifierT>(value);
102 template <
typename EnvironmentIdentifierT = Aws::String>
119 m_routeTypeHasBeenSet =
true;
135 template <
typename ServiceIdentifierT = Aws::String>
137 m_serviceIdentifierHasBeenSet =
true;
138 m_serviceIdentifier = std::forward<ServiceIdentifierT>(value);
140 template <
typename ServiceIdentifierT = Aws::String>
154 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
156 m_tagsHasBeenSet =
true;
157 m_tags = std::forward<TagsT>(value);
159 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
161 SetTags(std::forward<TagsT>(value));
164 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
166 m_tagsHasBeenSet =
true;
167 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
178 template <
typename UriPathRouteT = UriPathRouteInput>
180 m_uriPathRouteHasBeenSet =
true;
181 m_uriPathRoute = std::forward<UriPathRouteT>(value);
183 template <
typename UriPathRouteT = UriPathRouteInput>
194 DefaultRouteInput m_defaultRoute;
204 UriPathRouteInput m_uriPathRoute;
205 bool m_applicationIdentifierHasBeenSet =
false;
206 bool m_clientTokenHasBeenSet =
true;
207 bool m_defaultRouteHasBeenSet =
false;
208 bool m_environmentIdentifierHasBeenSet =
false;
209 bool m_routeTypeHasBeenSet =
false;
210 bool m_serviceIdentifierHasBeenSet =
false;
211 bool m_tagsHasBeenSet =
false;
212 bool m_uriPathRouteHasBeenSet =
false;
bool ApplicationIdentifierHasBeenSet() const
const Aws::String & GetServiceIdentifier() const
const Aws::String & GetClientToken() const
const Aws::String & GetApplicationIdentifier() const
bool ServiceIdentifierHasBeenSet() const
bool ClientTokenHasBeenSet() const
AWS_MIGRATIONHUBREFACTORSPACES_API CreateRouteRequest()=default
void SetRouteType(RouteType value)
void SetEnvironmentIdentifier(EnvironmentIdentifierT &&value)
void SetClientToken(ClientTokenT &&value)
CreateRouteRequest & WithClientToken(ClientTokenT &&value)
void SetTags(TagsT &&value)
void SetServiceIdentifier(ServiceIdentifierT &&value)
CreateRouteRequest & WithRouteType(RouteType value)
CreateRouteRequest & WithEnvironmentIdentifier(EnvironmentIdentifierT &&value)
const DefaultRouteInput & GetDefaultRoute() const
AWS_MIGRATIONHUBREFACTORSPACES_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
bool UriPathRouteHasBeenSet() const
bool TagsHasBeenSet() const
CreateRouteRequest & WithApplicationIdentifier(ApplicationIdentifierT &&value)
void SetApplicationIdentifier(ApplicationIdentifierT &&value)
RouteType GetRouteType() const
bool EnvironmentIdentifierHasBeenSet() const
bool RouteTypeHasBeenSet() const
CreateRouteRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateRouteRequest & WithTags(TagsT &&value)
void SetUriPathRoute(UriPathRouteT &&value)
CreateRouteRequest & WithUriPathRoute(UriPathRouteT &&value)
const Aws::String & GetEnvironmentIdentifier() const
void SetDefaultRoute(DefaultRouteT &&value)
bool DefaultRouteHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateRouteRequest & WithServiceIdentifier(ServiceIdentifierT &&value)
const UriPathRouteInput & GetUriPathRoute() const
CreateRouteRequest & WithDefaultRoute(DefaultRouteT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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