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

*

You can use the GetBatchPrediction operation and check the value * of the Status parameter to see whether a * BatchPrediction is marked as DELETED.

See * Also:

AWS * API Reference

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

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

*/ inline const Aws::String& GetBatchPredictionId() const{ return m_batchPredictionId; } /** *

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

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

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

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

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

*/ inline void SetBatchPredictionId(const char* value) { m_batchPredictionId.assign(value); } /** *

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

*/ inline DeleteBatchPredictionResult& WithBatchPredictionId(const Aws::String& value) { SetBatchPredictionId(value); return *this;} /** *

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

*/ inline DeleteBatchPredictionResult& WithBatchPredictionId(Aws::String&& value) { SetBatchPredictionId(std::move(value)); return *this;} /** *

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

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