/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { /** *

Provides information about the endpoint of the model * deployment.

See Also:

AWS * API Reference

*/ class ModelDeployResult { public: AWS_SAGEMAKER_API ModelDeployResult(); AWS_SAGEMAKER_API ModelDeployResult(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API ModelDeployResult& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the endpoint to which the model has been deployed.

*

If model deployment fails, this field is omitted from the response.

* */ inline const Aws::String& GetEndpointName() const{ return m_endpointName; } /** *

The name of the endpoint to which the model has been deployed.

*

If model deployment fails, this field is omitted from the response.

* */ inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; } /** *

The name of the endpoint to which the model has been deployed.

*

If model deployment fails, this field is omitted from the response.

* */ inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; } /** *

The name of the endpoint to which the model has been deployed.

*

If model deployment fails, this field is omitted from the response.

* */ inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); } /** *

The name of the endpoint to which the model has been deployed.

*

If model deployment fails, this field is omitted from the response.

* */ inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); } /** *

The name of the endpoint to which the model has been deployed.

*

If model deployment fails, this field is omitted from the response.

* */ inline ModelDeployResult& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;} /** *

The name of the endpoint to which the model has been deployed.

*

If model deployment fails, this field is omitted from the response.

* */ inline ModelDeployResult& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;} /** *

The name of the endpoint to which the model has been deployed.

*

If model deployment fails, this field is omitted from the response.

* */ inline ModelDeployResult& WithEndpointName(const char* value) { SetEndpointName(value); return *this;} private: Aws::String m_endpointName; bool m_endpointNameHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws