/** * 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 CreateBatchPredictionRequest : public MachineLearningRequest { public: AWS_MACHINELEARNING_API CreateBatchPredictionRequest(); // 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 "CreateBatchPrediction"; } AWS_MACHINELEARNING_API Aws::String SerializePayload() const override; AWS_MACHINELEARNING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

A user-supplied ID that uniquely identifies the * BatchPrediction.

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

A user-supplied ID that uniquely identifies the * BatchPrediction.

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

A user-supplied ID that uniquely identifies the * BatchPrediction.

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

A user-supplied ID that uniquely identifies the * BatchPrediction.

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

A user-supplied ID that uniquely identifies the * BatchPrediction.

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

A user-supplied ID that uniquely identifies the * BatchPrediction.

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

A user-supplied ID that uniquely identifies the * BatchPrediction.

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

A user-supplied ID that uniquely identifies the * BatchPrediction.

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

A user-supplied name or description of the BatchPrediction. * BatchPredictionName can only use the UTF-8 character set.

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

A user-supplied name or description of the BatchPrediction. * BatchPredictionName can only use the UTF-8 character set.

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

A user-supplied name or description of the BatchPrediction. * BatchPredictionName can only use the UTF-8 character set.

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

A user-supplied name or description of the BatchPrediction. * BatchPredictionName can only use the UTF-8 character set.

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

A user-supplied name or description of the BatchPrediction. * BatchPredictionName can only use the UTF-8 character set.

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

A user-supplied name or description of the BatchPrediction. * BatchPredictionName can only use the UTF-8 character set.

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

A user-supplied name or description of the BatchPrediction. * BatchPredictionName can only use the UTF-8 character set.

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

A user-supplied name or description of the BatchPrediction. * BatchPredictionName can only use the UTF-8 character set.

*/ inline CreateBatchPredictionRequest& WithBatchPredictionName(const char* value) { SetBatchPredictionName(value); return *this;} /** *

The ID of the MLModel that will generate predictions for the * group of observations.

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

The ID of the MLModel that will generate predictions for the * group of observations.

*/ inline bool MLModelIdHasBeenSet() const { return m_mLModelIdHasBeenSet; } /** *

The ID of the MLModel that will generate predictions for the * group of observations.

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

The ID of the MLModel that will generate predictions for the * group of observations.

*/ inline void SetMLModelId(Aws::String&& value) { m_mLModelIdHasBeenSet = true; m_mLModelId = std::move(value); } /** *

The ID of the MLModel that will generate predictions for the * group of observations.

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

The ID of the MLModel that will generate predictions for the * group of observations.

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

The ID of the MLModel that will generate predictions for the * group of observations.

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

The ID of the MLModel that will generate predictions for the * group of observations.

*/ inline CreateBatchPredictionRequest& WithMLModelId(const char* value) { SetMLModelId(value); return *this;} /** *

The ID of the DataSource that points to the group of * observations to predict.

*/ inline const Aws::String& GetBatchPredictionDataSourceId() const{ return m_batchPredictionDataSourceId; } /** *

The ID of the DataSource that points to the group of * observations to predict.

*/ inline bool BatchPredictionDataSourceIdHasBeenSet() const { return m_batchPredictionDataSourceIdHasBeenSet; } /** *

The ID of the DataSource that points to the group of * observations to predict.

*/ inline void SetBatchPredictionDataSourceId(const Aws::String& value) { m_batchPredictionDataSourceIdHasBeenSet = true; m_batchPredictionDataSourceId = value; } /** *

The ID of the DataSource that points to the group of * observations to predict.

*/ inline void SetBatchPredictionDataSourceId(Aws::String&& value) { m_batchPredictionDataSourceIdHasBeenSet = true; m_batchPredictionDataSourceId = std::move(value); } /** *

The ID of the DataSource that points to the group of * observations to predict.

*/ inline void SetBatchPredictionDataSourceId(const char* value) { m_batchPredictionDataSourceIdHasBeenSet = true; m_batchPredictionDataSourceId.assign(value); } /** *

The ID of the DataSource that points to the group of * observations to predict.

*/ inline CreateBatchPredictionRequest& WithBatchPredictionDataSourceId(const Aws::String& value) { SetBatchPredictionDataSourceId(value); return *this;} /** *

The ID of the DataSource that points to the group of * observations to predict.

*/ inline CreateBatchPredictionRequest& WithBatchPredictionDataSourceId(Aws::String&& value) { SetBatchPredictionDataSourceId(std::move(value)); return *this;} /** *

The ID of the DataSource that points to the group of * observations to predict.

*/ inline CreateBatchPredictionRequest& WithBatchPredictionDataSourceId(const char* value) { SetBatchPredictionDataSourceId(value); return *this;} /** *

The location of an Amazon Simple Storage Service (Amazon S3) bucket or * directory to store the batch prediction results. The following substrings are * not allowed in the s3 key portion of the outputURI * field: ':', '//', '/./', '/../'.

Amazon ML needs permissions to store and * retrieve the logs on your behalf. For information about how to set permissions, * see the Amazon * Machine Learning Developer Guide.

*/ inline const Aws::String& GetOutputUri() const{ return m_outputUri; } /** *

The location of an Amazon Simple Storage Service (Amazon S3) bucket or * directory to store the batch prediction results. The following substrings are * not allowed in the s3 key portion of the outputURI * field: ':', '//', '/./', '/../'.

Amazon ML needs permissions to store and * retrieve the logs on your behalf. For information about how to set permissions, * see the Amazon * Machine Learning Developer Guide.

*/ inline bool OutputUriHasBeenSet() const { return m_outputUriHasBeenSet; } /** *

The location of an Amazon Simple Storage Service (Amazon S3) bucket or * directory to store the batch prediction results. The following substrings are * not allowed in the s3 key portion of the outputURI * field: ':', '//', '/./', '/../'.

Amazon ML needs permissions to store and * retrieve the logs on your behalf. For information about how to set permissions, * see the Amazon * Machine Learning Developer Guide.

*/ inline void SetOutputUri(const Aws::String& value) { m_outputUriHasBeenSet = true; m_outputUri = value; } /** *

The location of an Amazon Simple Storage Service (Amazon S3) bucket or * directory to store the batch prediction results. The following substrings are * not allowed in the s3 key portion of the outputURI * field: ':', '//', '/./', '/../'.

Amazon ML needs permissions to store and * retrieve the logs on your behalf. For information about how to set permissions, * see the Amazon * Machine Learning Developer Guide.

*/ inline void SetOutputUri(Aws::String&& value) { m_outputUriHasBeenSet = true; m_outputUri = std::move(value); } /** *

The location of an Amazon Simple Storage Service (Amazon S3) bucket or * directory to store the batch prediction results. The following substrings are * not allowed in the s3 key portion of the outputURI * field: ':', '//', '/./', '/../'.

Amazon ML needs permissions to store and * retrieve the logs on your behalf. For information about how to set permissions, * see the Amazon * Machine Learning Developer Guide.

*/ inline void SetOutputUri(const char* value) { m_outputUriHasBeenSet = true; m_outputUri.assign(value); } /** *

The location of an Amazon Simple Storage Service (Amazon S3) bucket or * directory to store the batch prediction results. The following substrings are * not allowed in the s3 key portion of the outputURI * field: ':', '//', '/./', '/../'.

Amazon ML needs permissions to store and * retrieve the logs on your behalf. For information about how to set permissions, * see the Amazon * Machine Learning Developer Guide.

*/ inline CreateBatchPredictionRequest& WithOutputUri(const Aws::String& value) { SetOutputUri(value); return *this;} /** *

The location of an Amazon Simple Storage Service (Amazon S3) bucket or * directory to store the batch prediction results. The following substrings are * not allowed in the s3 key portion of the outputURI * field: ':', '//', '/./', '/../'.

Amazon ML needs permissions to store and * retrieve the logs on your behalf. For information about how to set permissions, * see the Amazon * Machine Learning Developer Guide.

*/ inline CreateBatchPredictionRequest& WithOutputUri(Aws::String&& value) { SetOutputUri(std::move(value)); return *this;} /** *

The location of an Amazon Simple Storage Service (Amazon S3) bucket or * directory to store the batch prediction results. The following substrings are * not allowed in the s3 key portion of the outputURI * field: ':', '//', '/./', '/../'.

Amazon ML needs permissions to store and * retrieve the logs on your behalf. For information about how to set permissions, * see the Amazon * Machine Learning Developer Guide.

*/ inline CreateBatchPredictionRequest& WithOutputUri(const char* value) { SetOutputUri(value); return *this;} private: Aws::String m_batchPredictionId; bool m_batchPredictionIdHasBeenSet = false; Aws::String m_batchPredictionName; bool m_batchPredictionNameHasBeenSet = false; Aws::String m_mLModelId; bool m_mLModelIdHasBeenSet = false; Aws::String m_batchPredictionDataSourceId; bool m_batchPredictionDataSourceIdHasBeenSet = false; Aws::String m_outputUri; bool m_outputUriHasBeenSet = false; }; } // namespace Model } // namespace MachineLearning } // namespace Aws