7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/Destination.h>
11#include <aws/sagemaker/model/InferenceRouterRoutingPreference.h>
12#include <aws/sagemaker/model/RoutingTargetAsyncInferenceConfig.h>
50 template <
typename NameT = Aws::String>
52 m_nameHasBeenSet =
true;
53 m_name = std::forward<NameT>(value);
55 template <
typename NameT = Aws::String>
57 SetName(std::forward<NameT>(value));
75 template <
typename DestinationsT = Aws::Vector<Destination>>
77 m_destinationsHasBeenSet =
true;
78 m_destinations = std::forward<DestinationsT>(value);
80 template <
typename DestinationsT = Aws::Vector<Destination>>
85 template <
typename DestinationsT = Destination>
87 m_destinationsHasBeenSet =
true;
88 m_destinations.emplace_back(std::forward<DestinationsT>(value));
110 template <
typename AsyncInferenceConfigT = RoutingTargetAsyncInferenceConfig>
112 m_asyncInferenceConfigHasBeenSet =
true;
113 m_asyncInferenceConfig = std::forward<AsyncInferenceConfigT>(value);
115 template <
typename AsyncInferenceConfigT = RoutingTargetAsyncInferenceConfig>
139 m_routingPreferenceHasBeenSet =
true;
140 m_routingPreference = value;
155 bool m_nameHasBeenSet =
false;
156 bool m_destinationsHasBeenSet =
false;
157 bool m_asyncInferenceConfigHasBeenSet =
false;
158 bool m_routingPreferenceHasBeenSet =
false;
RoutingTarget & AddDestinations(DestinationsT &&value)
bool DestinationsHasBeenSet() const
const RoutingTargetAsyncInferenceConfig & GetAsyncInferenceConfig() const
bool RoutingPreferenceHasBeenSet() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDestinations(DestinationsT &&value)
AWS_SAGEMAKER_API RoutingTarget()=default
RoutingTarget & WithName(NameT &&value)
const Aws::Vector< Destination > & GetDestinations() const
void SetAsyncInferenceConfig(AsyncInferenceConfigT &&value)
AWS_SAGEMAKER_API RoutingTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
InferenceRouterRoutingPreference GetRoutingPreference() const
bool NameHasBeenSet() const
RoutingTarget & WithRoutingPreference(InferenceRouterRoutingPreference value)
const Aws::String & GetName() const
void SetName(NameT &&value)
bool AsyncInferenceConfigHasBeenSet() const
void SetRoutingPreference(InferenceRouterRoutingPreference value)
AWS_SAGEMAKER_API RoutingTarget(Aws::Utils::Json::JsonView jsonValue)
RoutingTarget & WithAsyncInferenceConfig(AsyncInferenceConfigT &&value)
RoutingTarget & WithDestinations(DestinationsT &&value)
InferenceRouterRoutingPreference
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue