/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace MachineLearning { namespace Model { /** */ class UpdateBatchPredictionRequest : public MachineLearningRequest { public: AWS_MACHINELEARNING_API UpdateBatchPredictionRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateBatchPrediction"; } AWS_MACHINELEARNING_API Aws::String SerializePayload() const override; AWS_MACHINELEARNING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ID assigned to the BatchPrediction during creation.

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

The ID assigned to the BatchPrediction during creation.

*/ inline bool BatchPredictionIdHasBeenSet() const { return m_batchPredictionIdHasBeenSet; } /** *

The ID assigned to the BatchPrediction during creation.

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

The ID assigned to the BatchPrediction during creation.

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

The ID assigned to the BatchPrediction during creation.

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

The ID assigned to the BatchPrediction during creation.

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

The ID assigned to the BatchPrediction during creation.

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

The ID assigned to the BatchPrediction during creation.

*/ inline UpdateBatchPredictionRequest& WithBatchPredictionId(const char* value) { SetBatchPredictionId(value); return *this;} /** *

A new user-supplied name or description of the * BatchPrediction.

*/ inline const Aws::String& GetBatchPredictionName() const{ return m_batchPredictionName; } /** *

A new user-supplied name or description of the * BatchPrediction.

*/ inline bool BatchPredictionNameHasBeenSet() const { return m_batchPredictionNameHasBeenSet; } /** *

A new user-supplied name or description of the * BatchPrediction.

*/ inline void SetBatchPredictionName(const Aws::String& value) { m_batchPredictionNameHasBeenSet = true; m_batchPredictionName = value; } /** *

A new user-supplied name or description of the * BatchPrediction.

*/ inline void SetBatchPredictionName(Aws::String&& value) { m_batchPredictionNameHasBeenSet = true; m_batchPredictionName = std::move(value); } /** *

A new user-supplied name or description of the * BatchPrediction.

*/ inline void SetBatchPredictionName(const char* value) { m_batchPredictionNameHasBeenSet = true; m_batchPredictionName.assign(value); } /** *

A new user-supplied name or description of the * BatchPrediction.

*/ inline UpdateBatchPredictionRequest& WithBatchPredictionName(const Aws::String& value) { SetBatchPredictionName(value); return *this;} /** *

A new user-supplied name or description of the * BatchPrediction.

*/ inline UpdateBatchPredictionRequest& WithBatchPredictionName(Aws::String&& value) { SetBatchPredictionName(std::move(value)); return *this;} /** *

A new user-supplied name or description of the * BatchPrediction.

*/ inline UpdateBatchPredictionRequest& WithBatchPredictionName(const char* value) { SetBatchPredictionName(value); return *this;} private: Aws::String m_batchPredictionId; bool m_batchPredictionIdHasBeenSet = false; Aws::String m_batchPredictionName; bool m_batchPredictionNameHasBeenSet = false; }; } // namespace Model } // namespace MachineLearning } // namespace Aws