7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/model/ModelPackageContainerDefinition.h>
10#include <aws/sagemaker/model/TransformInstanceType.h>
11#include <aws/sagemaker/model/ProductionVariantInstanceType.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
52 template<
typename ContainersT = Aws::Vector<ModelPackageContainerDefinition>>
53 void SetContainers(ContainersT&& value) { m_containersHasBeenSet =
true; m_containers = std::forward<ContainersT>(value); }
54 template<
typename ContainersT = Aws::Vector<ModelPackageContainerDefinition>>
56 template<
typename ContainersT = ModelPackageContainerDefinition>
68 template<
typename SupportedTransformInstanceTypesT = Aws::Vector<TransformInstanceType>>
69 void SetSupportedTransformInstanceTypes(SupportedTransformInstanceTypesT&& value) { m_supportedTransformInstanceTypesHasBeenSet =
true; m_supportedTransformInstanceTypes = std::forward<SupportedTransformInstanceTypesT>(value); }
70 template<
typename SupportedTransformInstanceTypesT = Aws::Vector<TransformInstanceType>>
83 template<
typename SupportedRealtimeInferenceInstanceTypesT = Aws::Vector<ProductionVariantInstanceType>>
84 void SetSupportedRealtimeInferenceInstanceTypes(SupportedRealtimeInferenceInstanceTypesT&& value) { m_supportedRealtimeInferenceInstanceTypesHasBeenSet =
true; m_supportedRealtimeInferenceInstanceTypes = std::forward<SupportedRealtimeInferenceInstanceTypesT>(value); }
85 template<
typename SupportedRealtimeInferenceInstanceTypesT = Aws::Vector<ProductionVariantInstanceType>>
96 template<
typename SupportedContentTypesT = Aws::Vector<Aws::String>>
97 void SetSupportedContentTypes(SupportedContentTypesT&& value) { m_supportedContentTypesHasBeenSet =
true; m_supportedContentTypes = std::forward<SupportedContentTypesT>(value); }
98 template<
typename SupportedContentTypesT = Aws::Vector<Aws::String>>
100 template<
typename SupportedContentTypesT = Aws::String>
110 template<
typename SupportedResponseMIMETypesT = Aws::Vector<Aws::String>>
111 void SetSupportedResponseMIMETypes(SupportedResponseMIMETypesT&& value) { m_supportedResponseMIMETypesHasBeenSet =
true; m_supportedResponseMIMETypes = std::forward<SupportedResponseMIMETypesT>(value); }
112 template<
typename SupportedResponseMIMETypesT = Aws::Vector<Aws::String>>
114 template<
typename SupportedResponseMIMETypesT = Aws::String>
120 bool m_containersHasBeenSet =
false;
123 bool m_supportedTransformInstanceTypesHasBeenSet =
false;
126 bool m_supportedRealtimeInferenceInstanceTypesHasBeenSet =
false;
129 bool m_supportedContentTypesHasBeenSet =
false;
132 bool m_supportedResponseMIMETypesHasBeenSet =
false;
AWS_SAGEMAKER_API InferenceSpecification()=default
void SetSupportedContentTypes(SupportedContentTypesT &&value)
const Aws::Vector< TransformInstanceType > & GetSupportedTransformInstanceTypes() const
void SetSupportedResponseMIMETypes(SupportedResponseMIMETypesT &&value)
InferenceSpecification & WithSupportedResponseMIMETypes(SupportedResponseMIMETypesT &&value)
bool SupportedRealtimeInferenceInstanceTypesHasBeenSet() const
bool SupportedTransformInstanceTypesHasBeenSet() const
InferenceSpecification & WithContainers(ContainersT &&value)
AWS_SAGEMAKER_API InferenceSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetContainers(ContainersT &&value)
void SetSupportedRealtimeInferenceInstanceTypes(SupportedRealtimeInferenceInstanceTypesT &&value)
AWS_SAGEMAKER_API InferenceSpecification(Aws::Utils::Json::JsonView jsonValue)
InferenceSpecification & WithSupportedContentTypes(SupportedContentTypesT &&value)
InferenceSpecification & AddSupportedResponseMIMETypes(SupportedResponseMIMETypesT &&value)
InferenceSpecification & WithSupportedRealtimeInferenceInstanceTypes(SupportedRealtimeInferenceInstanceTypesT &&value)
const Aws::Vector< Aws::String > & GetSupportedContentTypes() const
InferenceSpecification & AddContainers(ContainersT &&value)
void SetSupportedTransformInstanceTypes(SupportedTransformInstanceTypesT &&value)
bool SupportedResponseMIMETypesHasBeenSet() const
InferenceSpecification & WithSupportedTransformInstanceTypes(SupportedTransformInstanceTypesT &&value)
const Aws::Vector< Aws::String > & GetSupportedResponseMIMETypes() const
InferenceSpecification & AddSupportedRealtimeInferenceInstanceTypes(ProductionVariantInstanceType value)
InferenceSpecification & AddSupportedContentTypes(SupportedContentTypesT &&value)
bool SupportedContentTypesHasBeenSet() const
bool ContainersHasBeenSet() const
const Aws::Vector< ModelPackageContainerDefinition > & GetContainers() const
const Aws::Vector< ProductionVariantInstanceType > & GetSupportedRealtimeInferenceInstanceTypes() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
InferenceSpecification & AddSupportedTransformInstanceTypes(TransformInstanceType value)
ProductionVariantInstanceType
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue