/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { class DescribeEndpointConfigResult { public: AWS_SAGEMAKER_API DescribeEndpointConfigResult(); AWS_SAGEMAKER_API DescribeEndpointConfigResult(const Aws::AmazonWebServiceResult& result); AWS_SAGEMAKER_API DescribeEndpointConfigResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Name of the SageMaker endpoint configuration.

*/ inline const Aws::String& GetEndpointConfigName() const{ return m_endpointConfigName; } /** *

Name of the SageMaker endpoint configuration.

*/ inline void SetEndpointConfigName(const Aws::String& value) { m_endpointConfigName = value; } /** *

Name of the SageMaker endpoint configuration.

*/ inline void SetEndpointConfigName(Aws::String&& value) { m_endpointConfigName = std::move(value); } /** *

Name of the SageMaker endpoint configuration.

*/ inline void SetEndpointConfigName(const char* value) { m_endpointConfigName.assign(value); } /** *

Name of the SageMaker endpoint configuration.

*/ inline DescribeEndpointConfigResult& WithEndpointConfigName(const Aws::String& value) { SetEndpointConfigName(value); return *this;} /** *

Name of the SageMaker endpoint configuration.

*/ inline DescribeEndpointConfigResult& WithEndpointConfigName(Aws::String&& value) { SetEndpointConfigName(std::move(value)); return *this;} /** *

Name of the SageMaker endpoint configuration.

*/ inline DescribeEndpointConfigResult& WithEndpointConfigName(const char* value) { SetEndpointConfigName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the endpoint configuration.

*/ inline const Aws::String& GetEndpointConfigArn() const{ return m_endpointConfigArn; } /** *

The Amazon Resource Name (ARN) of the endpoint configuration.

*/ inline void SetEndpointConfigArn(const Aws::String& value) { m_endpointConfigArn = value; } /** *

The Amazon Resource Name (ARN) of the endpoint configuration.

*/ inline void SetEndpointConfigArn(Aws::String&& value) { m_endpointConfigArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the endpoint configuration.

*/ inline void SetEndpointConfigArn(const char* value) { m_endpointConfigArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the endpoint configuration.

*/ inline DescribeEndpointConfigResult& WithEndpointConfigArn(const Aws::String& value) { SetEndpointConfigArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the endpoint configuration.

*/ inline DescribeEndpointConfigResult& WithEndpointConfigArn(Aws::String&& value) { SetEndpointConfigArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the endpoint configuration.

*/ inline DescribeEndpointConfigResult& WithEndpointConfigArn(const char* value) { SetEndpointConfigArn(value); return *this;} /** *

An array of ProductionVariant objects, one for each model that * you want to host at this endpoint.

*/ inline const Aws::Vector& GetProductionVariants() const{ return m_productionVariants; } /** *

An array of ProductionVariant objects, one for each model that * you want to host at this endpoint.

*/ inline void SetProductionVariants(const Aws::Vector& value) { m_productionVariants = value; } /** *

An array of ProductionVariant objects, one for each model that * you want to host at this endpoint.

*/ inline void SetProductionVariants(Aws::Vector&& value) { m_productionVariants = std::move(value); } /** *

An array of ProductionVariant objects, one for each model that * you want to host at this endpoint.

*/ inline DescribeEndpointConfigResult& WithProductionVariants(const Aws::Vector& value) { SetProductionVariants(value); return *this;} /** *

An array of ProductionVariant objects, one for each model that * you want to host at this endpoint.

*/ inline DescribeEndpointConfigResult& WithProductionVariants(Aws::Vector&& value) { SetProductionVariants(std::move(value)); return *this;} /** *

An array of ProductionVariant objects, one for each model that * you want to host at this endpoint.

*/ inline DescribeEndpointConfigResult& AddProductionVariants(const ProductionVariant& value) { m_productionVariants.push_back(value); return *this; } /** *

An array of ProductionVariant objects, one for each model that * you want to host at this endpoint.

*/ inline DescribeEndpointConfigResult& AddProductionVariants(ProductionVariant&& value) { m_productionVariants.push_back(std::move(value)); return *this; } inline const DataCaptureConfig& GetDataCaptureConfig() const{ return m_dataCaptureConfig; } inline void SetDataCaptureConfig(const DataCaptureConfig& value) { m_dataCaptureConfig = value; } inline void SetDataCaptureConfig(DataCaptureConfig&& value) { m_dataCaptureConfig = std::move(value); } inline DescribeEndpointConfigResult& WithDataCaptureConfig(const DataCaptureConfig& value) { SetDataCaptureConfig(value); return *this;} inline DescribeEndpointConfigResult& WithDataCaptureConfig(DataCaptureConfig&& value) { SetDataCaptureConfig(std::move(value)); return *this;} /** *

Amazon Web Services KMS key ID Amazon SageMaker uses to encrypt data when * storing it on the ML storage volume attached to the instance.

*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *

Amazon Web Services KMS key ID Amazon SageMaker uses to encrypt data when * storing it on the ML storage volume attached to the instance.

*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; } /** *

Amazon Web Services KMS key ID Amazon SageMaker uses to encrypt data when * storing it on the ML storage volume attached to the instance.

*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); } /** *

Amazon Web Services KMS key ID Amazon SageMaker uses to encrypt data when * storing it on the ML storage volume attached to the instance.

*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); } /** *

Amazon Web Services KMS key ID Amazon SageMaker uses to encrypt data when * storing it on the ML storage volume attached to the instance.

*/ inline DescribeEndpointConfigResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *

Amazon Web Services KMS key ID Amazon SageMaker uses to encrypt data when * storing it on the ML storage volume attached to the instance.

*/ inline DescribeEndpointConfigResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** *

Amazon Web Services KMS key ID Amazon SageMaker uses to encrypt data when * storing it on the ML storage volume attached to the instance.

*/ inline DescribeEndpointConfigResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} /** *

A timestamp that shows when the endpoint configuration was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

A timestamp that shows when the endpoint configuration was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

A timestamp that shows when the endpoint configuration was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } /** *

A timestamp that shows when the endpoint configuration was created.

*/ inline DescribeEndpointConfigResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

A timestamp that shows when the endpoint configuration was created.

*/ inline DescribeEndpointConfigResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

Returns the description of an endpoint configuration created using the * CreateEndpointConfig API.

*/ inline const AsyncInferenceConfig& GetAsyncInferenceConfig() const{ return m_asyncInferenceConfig; } /** *

Returns the description of an endpoint configuration created using the * CreateEndpointConfig API.

*/ inline void SetAsyncInferenceConfig(const AsyncInferenceConfig& value) { m_asyncInferenceConfig = value; } /** *

Returns the description of an endpoint configuration created using the * CreateEndpointConfig API.

*/ inline void SetAsyncInferenceConfig(AsyncInferenceConfig&& value) { m_asyncInferenceConfig = std::move(value); } /** *

Returns the description of an endpoint configuration created using the * CreateEndpointConfig API.

*/ inline DescribeEndpointConfigResult& WithAsyncInferenceConfig(const AsyncInferenceConfig& value) { SetAsyncInferenceConfig(value); return *this;} /** *

Returns the description of an endpoint configuration created using the * CreateEndpointConfig API.

*/ inline DescribeEndpointConfigResult& WithAsyncInferenceConfig(AsyncInferenceConfig&& value) { SetAsyncInferenceConfig(std::move(value)); return *this;} /** *

The configuration parameters for an explainer.

*/ inline const ExplainerConfig& GetExplainerConfig() const{ return m_explainerConfig; } /** *

The configuration parameters for an explainer.

*/ inline void SetExplainerConfig(const ExplainerConfig& value) { m_explainerConfig = value; } /** *

The configuration parameters for an explainer.

*/ inline void SetExplainerConfig(ExplainerConfig&& value) { m_explainerConfig = std::move(value); } /** *

The configuration parameters for an explainer.

*/ inline DescribeEndpointConfigResult& WithExplainerConfig(const ExplainerConfig& value) { SetExplainerConfig(value); return *this;} /** *

The configuration parameters for an explainer.

*/ inline DescribeEndpointConfigResult& WithExplainerConfig(ExplainerConfig&& value) { SetExplainerConfig(std::move(value)); return *this;} /** *

An array of ProductionVariant objects, one for each model that * you want to host at this endpoint in shadow mode with production traffic * replicated from the model specified on ProductionVariants.

*/ inline const Aws::Vector& GetShadowProductionVariants() const{ return m_shadowProductionVariants; } /** *

An array of ProductionVariant objects, one for each model that * you want to host at this endpoint in shadow mode with production traffic * replicated from the model specified on ProductionVariants.

*/ inline void SetShadowProductionVariants(const Aws::Vector& value) { m_shadowProductionVariants = value; } /** *

An array of ProductionVariant objects, one for each model that * you want to host at this endpoint in shadow mode with production traffic * replicated from the model specified on ProductionVariants.

*/ inline void SetShadowProductionVariants(Aws::Vector&& value) { m_shadowProductionVariants = std::move(value); } /** *

An array of ProductionVariant objects, one for each model that * you want to host at this endpoint in shadow mode with production traffic * replicated from the model specified on ProductionVariants.

*/ inline DescribeEndpointConfigResult& WithShadowProductionVariants(const Aws::Vector& value) { SetShadowProductionVariants(value); return *this;} /** *

An array of ProductionVariant objects, one for each model that * you want to host at this endpoint in shadow mode with production traffic * replicated from the model specified on ProductionVariants.

*/ inline DescribeEndpointConfigResult& WithShadowProductionVariants(Aws::Vector&& value) { SetShadowProductionVariants(std::move(value)); return *this;} /** *

An array of ProductionVariant objects, one for each model that * you want to host at this endpoint in shadow mode with production traffic * replicated from the model specified on ProductionVariants.

*/ inline DescribeEndpointConfigResult& AddShadowProductionVariants(const ProductionVariant& value) { m_shadowProductionVariants.push_back(value); return *this; } /** *

An array of ProductionVariant objects, one for each model that * you want to host at this endpoint in shadow mode with production traffic * replicated from the model specified on ProductionVariants.

*/ inline DescribeEndpointConfigResult& AddShadowProductionVariants(ProductionVariant&& value) { m_shadowProductionVariants.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeEndpointConfigResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeEndpointConfigResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeEndpointConfigResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_endpointConfigName; Aws::String m_endpointConfigArn; Aws::Vector m_productionVariants; DataCaptureConfig m_dataCaptureConfig; Aws::String m_kmsKeyId; Aws::Utils::DateTime m_creationTime; AsyncInferenceConfig m_asyncInferenceConfig; ExplainerConfig m_explainerConfig; Aws::Vector m_shadowProductionVariants; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws