/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 a CreateEvaluation operation, and is * an acknowledgement that Amazon ML received the request.

* CreateEvaluation operation is asynchronous. You can poll for status * updates by using the GetEvcaluation operation and checking the * Status parameter.

See Also:

AWS * API Reference

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

The user-supplied ID that uniquely identifies the Evaluation. * This value should be identical to the value of the EvaluationId in * the request.

*/ inline const Aws::String& GetEvaluationId() const{ return m_evaluationId; } /** *

The user-supplied ID that uniquely identifies the Evaluation. * This value should be identical to the value of the EvaluationId in * the request.

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

The user-supplied ID that uniquely identifies the Evaluation. * This value should be identical to the value of the EvaluationId in * the request.

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

The user-supplied ID that uniquely identifies the Evaluation. * This value should be identical to the value of the EvaluationId in * the request.

*/ inline void SetEvaluationId(const char* value) { m_evaluationId.assign(value); } /** *

The user-supplied ID that uniquely identifies the Evaluation. * This value should be identical to the value of the EvaluationId in * the request.

*/ inline CreateEvaluationResult& WithEvaluationId(const Aws::String& value) { SetEvaluationId(value); return *this;} /** *

The user-supplied ID that uniquely identifies the Evaluation. * This value should be identical to the value of the EvaluationId in * the request.

*/ inline CreateEvaluationResult& WithEvaluationId(Aws::String&& value) { SetEvaluationId(std::move(value)); return *this;} /** *

The user-supplied ID that uniquely identifies the Evaluation. * This value should be identical to the value of the EvaluationId in * the request.

*/ inline CreateEvaluationResult& WithEvaluationId(const char* value) { SetEvaluationId(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 CreateEvaluationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateEvaluationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateEvaluationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_evaluationId; Aws::String m_requestId; }; } // namespace Model } // namespace MachineLearning } // namespace Aws