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

You * can use the GetMLModel operation and check the value of the * Status parameter to see whether an MLModel is marked * as DELETED.

See Also:

AWS * API Reference

*/ class DeleteMLModelResult { public: AWS_MACHINELEARNING_API DeleteMLModelResult(); AWS_MACHINELEARNING_API DeleteMLModelResult(const Aws::AmazonWebServiceResult& result); AWS_MACHINELEARNING_API DeleteMLModelResult& 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 DeleteMLModelResult& 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 DeleteMLModelResult& 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 DeleteMLModelResult& 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 DeleteMLModelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteMLModelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteMLModelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_mLModelId; Aws::String m_requestId; }; } // namespace Model } // namespace MachineLearning } // namespace Aws