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

*

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

See Also:

AWS * API Reference

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

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

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

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

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

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

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

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

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

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

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

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

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

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