/** * 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 namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { class AWS_SAGEMAKER_API DescribeModelResult { public: DescribeModelResult(); DescribeModelResult(const Aws::AmazonWebServiceResult& result); DescribeModelResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Name of the Amazon SageMaker model.

*/ inline const Aws::String& GetModelName() const{ return m_modelName; } /** *

Name of the Amazon SageMaker model.

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

Name of the Amazon SageMaker model.

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

Name of the Amazon SageMaker model.

*/ inline void SetModelName(const char* value) { m_modelName.assign(value); } /** *

Name of the Amazon SageMaker model.

*/ inline DescribeModelResult& WithModelName(const Aws::String& value) { SetModelName(value); return *this;} /** *

Name of the Amazon SageMaker model.

*/ inline DescribeModelResult& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;} /** *

Name of the Amazon SageMaker model.

*/ inline DescribeModelResult& WithModelName(const char* value) { SetModelName(value); return *this;} /** *

The location of the primary inference code, associated artifacts, and custom * environment map that the inference code uses when it is deployed in production. *

*/ inline const ContainerDefinition& GetPrimaryContainer() const{ return m_primaryContainer; } /** *

The location of the primary inference code, associated artifacts, and custom * environment map that the inference code uses when it is deployed in production. *

*/ inline void SetPrimaryContainer(const ContainerDefinition& value) { m_primaryContainer = value; } /** *

The location of the primary inference code, associated artifacts, and custom * environment map that the inference code uses when it is deployed in production. *

*/ inline void SetPrimaryContainer(ContainerDefinition&& value) { m_primaryContainer = std::move(value); } /** *

The location of the primary inference code, associated artifacts, and custom * environment map that the inference code uses when it is deployed in production. *

*/ inline DescribeModelResult& WithPrimaryContainer(const ContainerDefinition& value) { SetPrimaryContainer(value); return *this;} /** *

The location of the primary inference code, associated artifacts, and custom * environment map that the inference code uses when it is deployed in production. *

*/ inline DescribeModelResult& WithPrimaryContainer(ContainerDefinition&& value) { SetPrimaryContainer(std::move(value)); return *this;} /** *

The containers in the inference pipeline.

*/ inline const Aws::Vector& GetContainers() const{ return m_containers; } /** *

The containers in the inference pipeline.

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

The containers in the inference pipeline.

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

The containers in the inference pipeline.

*/ inline DescribeModelResult& WithContainers(const Aws::Vector& value) { SetContainers(value); return *this;} /** *

The containers in the inference pipeline.

*/ inline DescribeModelResult& WithContainers(Aws::Vector&& value) { SetContainers(std::move(value)); return *this;} /** *

The containers in the inference pipeline.

*/ inline DescribeModelResult& AddContainers(const ContainerDefinition& value) { m_containers.push_back(value); return *this; } /** *

The containers in the inference pipeline.

*/ inline DescribeModelResult& AddContainers(ContainerDefinition&& value) { m_containers.push_back(std::move(value)); return *this; } /** *

The Amazon Resource Name (ARN) of the IAM role that you specified for the * model.

*/ inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; } /** *

The Amazon Resource Name (ARN) of the IAM role that you specified for the * model.

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

The Amazon Resource Name (ARN) of the IAM role that you specified for the * model.

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

The Amazon Resource Name (ARN) of the IAM role that you specified for the * model.

*/ inline void SetExecutionRoleArn(const char* value) { m_executionRoleArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the IAM role that you specified for the * model.

*/ inline DescribeModelResult& WithExecutionRoleArn(const Aws::String& value) { SetExecutionRoleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM role that you specified for the * model.

*/ inline DescribeModelResult& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM role that you specified for the * model.

*/ inline DescribeModelResult& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;} /** *

A VpcConfig object that specifies the VPC that this model has access * to. For more information, see Protect * Endpoints by Using an Amazon Virtual Private Cloud

*/ inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; } /** *

A VpcConfig object that specifies the VPC that this model has access * to. For more information, see Protect * Endpoints by Using an Amazon Virtual Private Cloud

*/ inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfig = value; } /** *

A VpcConfig object that specifies the VPC that this model has access * to. For more information, see Protect * Endpoints by Using an Amazon Virtual Private Cloud

*/ inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfig = std::move(value); } /** *

A VpcConfig object that specifies the VPC that this model has access * to. For more information, see Protect * Endpoints by Using an Amazon Virtual Private Cloud

*/ inline DescribeModelResult& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;} /** *

A VpcConfig object that specifies the VPC that this model has access * to. For more information, see Protect * Endpoints by Using an Amazon Virtual Private Cloud

*/ inline DescribeModelResult& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;} /** *

A timestamp that shows when the model was created.

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

A timestamp that shows when the model was created.

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

A timestamp that shows when the model was created.

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

A timestamp that shows when the model was created.

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

A timestamp that shows when the model was created.

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

The Amazon Resource Name (ARN) of the model.

*/ inline const Aws::String& GetModelArn() const{ return m_modelArn; } /** *

The Amazon Resource Name (ARN) of the model.

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

The Amazon Resource Name (ARN) of the model.

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

The Amazon Resource Name (ARN) of the model.

*/ inline void SetModelArn(const char* value) { m_modelArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the model.

*/ inline DescribeModelResult& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the model.

*/ inline DescribeModelResult& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the model.

*/ inline DescribeModelResult& WithModelArn(const char* value) { SetModelArn(value); return *this;} /** *

If True, no inbound or outbound network calls can be made to or * from the model container.

*/ inline bool GetEnableNetworkIsolation() const{ return m_enableNetworkIsolation; } /** *

If True, no inbound or outbound network calls can be made to or * from the model container.

*/ inline void SetEnableNetworkIsolation(bool value) { m_enableNetworkIsolation = value; } /** *

If True, no inbound or outbound network calls can be made to or * from the model container.

*/ inline DescribeModelResult& WithEnableNetworkIsolation(bool value) { SetEnableNetworkIsolation(value); return *this;} private: Aws::String m_modelName; ContainerDefinition m_primaryContainer; Aws::Vector m_containers; Aws::String m_executionRoleArn; VpcConfig m_vpcConfig; Aws::Utils::DateTime m_creationTime; Aws::String m_modelArn; bool m_enableNetworkIsolation; }; } // namespace Model } // namespace SageMaker } // namespace Aws