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

Represents the output of an CreateRealtimeEndpoint * operation.

The result contains the MLModelId and the * endpoint information for the MLModel.

Note: The * endpoint information includes the URI of the MLModel; that is, the * location to send online prediction requests for the specified * MLModel.

See Also:

AWS * API Reference

*/ class CreateRealtimeEndpointResult { public: AWS_MACHINELEARNING_API CreateRealtimeEndpointResult(); AWS_MACHINELEARNING_API CreateRealtimeEndpointResult(const Aws::AmazonWebServiceResult& result); AWS_MACHINELEARNING_API CreateRealtimeEndpointResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A user-supplied ID that uniquely identifies the MLModel. This * value should be identical to the value of the MLModelId in the * request.

*/ inline const Aws::String& GetMLModelId() const{ return m_mLModelId; } /** *

A user-supplied ID that uniquely identifies the MLModel. This * value should be identical to the value of the MLModelId in the * request.

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

A user-supplied ID that uniquely identifies the MLModel. This * value should be identical to the value of the MLModelId in the * request.

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

A user-supplied ID that uniquely identifies the MLModel. This * value should be identical to the value of the MLModelId in the * request.

*/ inline void SetMLModelId(const char* value) { m_mLModelId.assign(value); } /** *

A user-supplied ID that uniquely identifies the MLModel. This * value should be identical to the value of the MLModelId in the * request.

*/ inline CreateRealtimeEndpointResult& WithMLModelId(const Aws::String& value) { SetMLModelId(value); return *this;} /** *

A user-supplied ID that uniquely identifies the MLModel. This * value should be identical to the value of the MLModelId in the * request.

*/ inline CreateRealtimeEndpointResult& WithMLModelId(Aws::String&& value) { SetMLModelId(std::move(value)); return *this;} /** *

A user-supplied ID that uniquely identifies the MLModel. This * value should be identical to the value of the MLModelId in the * request.

*/ inline CreateRealtimeEndpointResult& WithMLModelId(const char* value) { SetMLModelId(value); return *this;} /** *

The endpoint information of the MLModel

*/ inline const RealtimeEndpointInfo& GetRealtimeEndpointInfo() const{ return m_realtimeEndpointInfo; } /** *

The endpoint information of the MLModel

*/ inline void SetRealtimeEndpointInfo(const RealtimeEndpointInfo& value) { m_realtimeEndpointInfo = value; } /** *

The endpoint information of the MLModel

*/ inline void SetRealtimeEndpointInfo(RealtimeEndpointInfo&& value) { m_realtimeEndpointInfo = std::move(value); } /** *

The endpoint information of the MLModel

*/ inline CreateRealtimeEndpointResult& WithRealtimeEndpointInfo(const RealtimeEndpointInfo& value) { SetRealtimeEndpointInfo(value); return *this;} /** *

The endpoint information of the MLModel

*/ inline CreateRealtimeEndpointResult& WithRealtimeEndpointInfo(RealtimeEndpointInfo&& value) { SetRealtimeEndpointInfo(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 CreateRealtimeEndpointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateRealtimeEndpointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateRealtimeEndpointResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_mLModelId; RealtimeEndpointInfo m_realtimeEndpointInfo; Aws::String m_requestId; }; } // namespace Model } // namespace MachineLearning } // namespace Aws