/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure of additional Inference Specification. Additional Inference
* Specification specifies details about inference jobs that can be run with models
* based on this model packageSee Also:
AWS
* API Reference
A unique name to identify the additional inference specification. The name * must be unique within the list of your additional inference specifications for a * particular model package.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *A unique name to identify the additional inference specification. The name * must be unique within the list of your additional inference specifications for a * particular model package.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *A unique name to identify the additional inference specification. The name * must be unique within the list of your additional inference specifications for a * particular model package.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *A unique name to identify the additional inference specification. The name * must be unique within the list of your additional inference specifications for a * particular model package.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *A unique name to identify the additional inference specification. The name * must be unique within the list of your additional inference specifications for a * particular model package.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *A unique name to identify the additional inference specification. The name * must be unique within the list of your additional inference specifications for a * particular model package.
*/ inline AdditionalInferenceSpecificationDefinition& WithName(const Aws::String& value) { SetName(value); return *this;} /** *A unique name to identify the additional inference specification. The name * must be unique within the list of your additional inference specifications for a * particular model package.
*/ inline AdditionalInferenceSpecificationDefinition& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *A unique name to identify the additional inference specification. The name * must be unique within the list of your additional inference specifications for a * particular model package.
*/ inline AdditionalInferenceSpecificationDefinition& WithName(const char* value) { SetName(value); return *this;} /** *A description of the additional Inference specification
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description of the additional Inference specification
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description of the additional Inference specification
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description of the additional Inference specification
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description of the additional Inference specification
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description of the additional Inference specification
*/ inline AdditionalInferenceSpecificationDefinition& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of the additional Inference specification
*/ inline AdditionalInferenceSpecificationDefinition& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of the additional Inference specification
*/ inline AdditionalInferenceSpecificationDefinition& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The Amazon ECR registry path of the Docker image that contains the inference * code.
*/ inline const Aws::VectorThe Amazon ECR registry path of the Docker image that contains the inference * code.
*/ inline bool ContainersHasBeenSet() const { return m_containersHasBeenSet; } /** *The Amazon ECR registry path of the Docker image that contains the inference * code.
*/ inline void SetContainers(const Aws::VectorThe Amazon ECR registry path of the Docker image that contains the inference * code.
*/ inline void SetContainers(Aws::VectorThe Amazon ECR registry path of the Docker image that contains the inference * code.
*/ inline AdditionalInferenceSpecificationDefinition& WithContainers(const Aws::VectorThe Amazon ECR registry path of the Docker image that contains the inference * code.
*/ inline AdditionalInferenceSpecificationDefinition& WithContainers(Aws::VectorThe Amazon ECR registry path of the Docker image that contains the inference * code.
*/ inline AdditionalInferenceSpecificationDefinition& AddContainers(const ModelPackageContainerDefinition& value) { m_containersHasBeenSet = true; m_containers.push_back(value); return *this; } /** *The Amazon ECR registry path of the Docker image that contains the inference * code.
*/ inline AdditionalInferenceSpecificationDefinition& AddContainers(ModelPackageContainerDefinition&& value) { m_containersHasBeenSet = true; m_containers.push_back(std::move(value)); return *this; } /** *A list of the instance types on which a transformation job can be run or on * which an endpoint can be deployed.
*/ inline const Aws::VectorA list of the instance types on which a transformation job can be run or on * which an endpoint can be deployed.
*/ inline bool SupportedTransformInstanceTypesHasBeenSet() const { return m_supportedTransformInstanceTypesHasBeenSet; } /** *A list of the instance types on which a transformation job can be run or on * which an endpoint can be deployed.
*/ inline void SetSupportedTransformInstanceTypes(const Aws::VectorA list of the instance types on which a transformation job can be run or on * which an endpoint can be deployed.
*/ inline void SetSupportedTransformInstanceTypes(Aws::VectorA list of the instance types on which a transformation job can be run or on * which an endpoint can be deployed.
*/ inline AdditionalInferenceSpecificationDefinition& WithSupportedTransformInstanceTypes(const Aws::VectorA list of the instance types on which a transformation job can be run or on * which an endpoint can be deployed.
*/ inline AdditionalInferenceSpecificationDefinition& WithSupportedTransformInstanceTypes(Aws::VectorA list of the instance types on which a transformation job can be run or on * which an endpoint can be deployed.
*/ inline AdditionalInferenceSpecificationDefinition& AddSupportedTransformInstanceTypes(const TransformInstanceType& value) { m_supportedTransformInstanceTypesHasBeenSet = true; m_supportedTransformInstanceTypes.push_back(value); return *this; } /** *A list of the instance types on which a transformation job can be run or on * which an endpoint can be deployed.
*/ inline AdditionalInferenceSpecificationDefinition& AddSupportedTransformInstanceTypes(TransformInstanceType&& value) { m_supportedTransformInstanceTypesHasBeenSet = true; m_supportedTransformInstanceTypes.push_back(std::move(value)); return *this; } /** *A list of the instance types that are used to generate inferences in * real-time.
*/ inline const Aws::VectorA list of the instance types that are used to generate inferences in * real-time.
*/ inline bool SupportedRealtimeInferenceInstanceTypesHasBeenSet() const { return m_supportedRealtimeInferenceInstanceTypesHasBeenSet; } /** *A list of the instance types that are used to generate inferences in * real-time.
*/ inline void SetSupportedRealtimeInferenceInstanceTypes(const Aws::VectorA list of the instance types that are used to generate inferences in * real-time.
*/ inline void SetSupportedRealtimeInferenceInstanceTypes(Aws::VectorA list of the instance types that are used to generate inferences in * real-time.
*/ inline AdditionalInferenceSpecificationDefinition& WithSupportedRealtimeInferenceInstanceTypes(const Aws::VectorA list of the instance types that are used to generate inferences in * real-time.
*/ inline AdditionalInferenceSpecificationDefinition& WithSupportedRealtimeInferenceInstanceTypes(Aws::VectorA list of the instance types that are used to generate inferences in * real-time.
*/ inline AdditionalInferenceSpecificationDefinition& AddSupportedRealtimeInferenceInstanceTypes(const ProductionVariantInstanceType& value) { m_supportedRealtimeInferenceInstanceTypesHasBeenSet = true; m_supportedRealtimeInferenceInstanceTypes.push_back(value); return *this; } /** *A list of the instance types that are used to generate inferences in * real-time.
*/ inline AdditionalInferenceSpecificationDefinition& AddSupportedRealtimeInferenceInstanceTypes(ProductionVariantInstanceType&& value) { m_supportedRealtimeInferenceInstanceTypesHasBeenSet = true; m_supportedRealtimeInferenceInstanceTypes.push_back(std::move(value)); return *this; } /** *The supported MIME types for the input data.
*/ inline const Aws::VectorThe supported MIME types for the input data.
*/ inline bool SupportedContentTypesHasBeenSet() const { return m_supportedContentTypesHasBeenSet; } /** *The supported MIME types for the input data.
*/ inline void SetSupportedContentTypes(const Aws::VectorThe supported MIME types for the input data.
*/ inline void SetSupportedContentTypes(Aws::VectorThe supported MIME types for the input data.
*/ inline AdditionalInferenceSpecificationDefinition& WithSupportedContentTypes(const Aws::VectorThe supported MIME types for the input data.
*/ inline AdditionalInferenceSpecificationDefinition& WithSupportedContentTypes(Aws::VectorThe supported MIME types for the input data.
*/ inline AdditionalInferenceSpecificationDefinition& AddSupportedContentTypes(const Aws::String& value) { m_supportedContentTypesHasBeenSet = true; m_supportedContentTypes.push_back(value); return *this; } /** *The supported MIME types for the input data.
*/ inline AdditionalInferenceSpecificationDefinition& AddSupportedContentTypes(Aws::String&& value) { m_supportedContentTypesHasBeenSet = true; m_supportedContentTypes.push_back(std::move(value)); return *this; } /** *The supported MIME types for the input data.
*/ inline AdditionalInferenceSpecificationDefinition& AddSupportedContentTypes(const char* value) { m_supportedContentTypesHasBeenSet = true; m_supportedContentTypes.push_back(value); return *this; } /** *The supported MIME types for the output data.
*/ inline const Aws::VectorThe supported MIME types for the output data.
*/ inline bool SupportedResponseMIMETypesHasBeenSet() const { return m_supportedResponseMIMETypesHasBeenSet; } /** *The supported MIME types for the output data.
*/ inline void SetSupportedResponseMIMETypes(const Aws::VectorThe supported MIME types for the output data.
*/ inline void SetSupportedResponseMIMETypes(Aws::VectorThe supported MIME types for the output data.
*/ inline AdditionalInferenceSpecificationDefinition& WithSupportedResponseMIMETypes(const Aws::VectorThe supported MIME types for the output data.
*/ inline AdditionalInferenceSpecificationDefinition& WithSupportedResponseMIMETypes(Aws::VectorThe supported MIME types for the output data.
*/ inline AdditionalInferenceSpecificationDefinition& AddSupportedResponseMIMETypes(const Aws::String& value) { m_supportedResponseMIMETypesHasBeenSet = true; m_supportedResponseMIMETypes.push_back(value); return *this; } /** *The supported MIME types for the output data.
*/ inline AdditionalInferenceSpecificationDefinition& AddSupportedResponseMIMETypes(Aws::String&& value) { m_supportedResponseMIMETypesHasBeenSet = true; m_supportedResponseMIMETypes.push_back(std::move(value)); return *this; } /** *The supported MIME types for the output data.
*/ inline AdditionalInferenceSpecificationDefinition& AddSupportedResponseMIMETypes(const char* value) { m_supportedResponseMIMETypesHasBeenSet = true; m_supportedResponseMIMETypes.push_back(value); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector