/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about the endpoint of the model
* deployment.See Also:
AWS
* API Reference
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