/** * 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 an UpdateMLModel operation.

You * can see the updated content by using the GetMLModel * operation.

See Also:

AWS * API Reference

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

The ID assigned to the MLModel during creation. This value * should be identical to the value of the MLModelID in the * request.

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

The ID assigned to the MLModel during creation. This value * should be identical to the value of the MLModelID in the * request.

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

The ID assigned to the MLModel during creation. 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); } /** *

The ID assigned to the MLModel during creation. This value * should be identical to the value of the MLModelID in the * request.

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

The ID assigned to the MLModel during creation. This value * should be identical to the value of the MLModelID in the * request.

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

The ID assigned to the MLModel during creation. This value * should be identical to the value of the MLModelID in the * request.

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

The ID assigned to the MLModel during creation. This value * should be identical to the value of the MLModelID in the * request.

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