7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/ProductionVariantInstanceType.h>
43 template <
typename RecommendationIdT = Aws::String>
45 m_recommendationIdHasBeenSet =
true;
46 m_recommendationId = std::forward<RecommendationIdT>(value);
48 template <
typename RecommendationIdT = Aws::String>
62 m_instanceTypeHasBeenSet =
true;
63 m_instanceType = value;
78 template <
typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
80 m_environmentHasBeenSet =
true;
81 m_environment = std::forward<EnvironmentT>(value);
83 template <
typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
88 template <
typename EnvironmentKeyT = Aws::String,
typename EnvironmentValueT = Aws::String>
90 m_environmentHasBeenSet =
true;
91 m_environment.emplace(std::forward<EnvironmentKeyT>(key), std::forward<EnvironmentValueT>(value));
101 bool m_recommendationIdHasBeenSet =
false;
102 bool m_instanceTypeHasBeenSet =
false;
103 bool m_environmentHasBeenSet =
false;
RealTimeInferenceRecommendation & WithEnvironment(EnvironmentT &&value)
bool RecommendationIdHasBeenSet() const
ProductionVariantInstanceType GetInstanceType() const
AWS_SAGEMAKER_API RealTimeInferenceRecommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
RealTimeInferenceRecommendation & WithRecommendationId(RecommendationIdT &&value)
bool EnvironmentHasBeenSet() const
void SetEnvironment(EnvironmentT &&value)
void SetRecommendationId(RecommendationIdT &&value)
AWS_SAGEMAKER_API RealTimeInferenceRecommendation()=default
RealTimeInferenceRecommendation & WithInstanceType(ProductionVariantInstanceType value)
RealTimeInferenceRecommendation & AddEnvironment(EnvironmentKeyT &&key, EnvironmentValueT &&value)
void SetInstanceType(ProductionVariantInstanceType value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
bool InstanceTypeHasBeenSet() const
const Aws::String & GetRecommendationId() const
AWS_SAGEMAKER_API RealTimeInferenceRecommendation(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ProductionVariantInstanceType
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
Aws::Utils::Json::JsonValue JsonValue