/** * 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 CreateMLModel operation, and is an * acknowledgement that Amazon ML received the request.

The * CreateMLModel operation is asynchronous. You can poll for status * updates by using the GetMLModel operation and checking the * Status parameter.

See Also:

AWS * API Reference

*/ class AWS_MACHINELEARNING_API CreateMLModelResult { public: CreateMLModelResult(); CreateMLModelResult(const Aws::AmazonWebServiceResult& result); CreateMLModelResult& 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 CreateMLModelResult& 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 CreateMLModelResult& 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 CreateMLModelResult& WithMLModelId(const char* value) { SetMLModelId(value); return *this;} private: Aws::String m_mLModelId; }; } // namespace Model } // namespace MachineLearning } // namespace Aws