/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace FraudDetector { namespace Model { /** */ class CreateBatchPredictionJobRequest : public FraudDetectorRequest { public: AWS_FRAUDDETECTOR_API CreateBatchPredictionJobRequest(); // 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 "CreateBatchPredictionJob"; } AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override; AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ID of the batch prediction job.

*/ inline const Aws::String& GetJobId() const{ return m_jobId; } /** *

The ID of the batch prediction job.

*/ inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } /** *

The ID of the batch prediction job.

*/ inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } /** *

The ID of the batch prediction job.

*/ inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } /** *

The ID of the batch prediction job.

*/ inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } /** *

The ID of the batch prediction job.

*/ inline CreateBatchPredictionJobRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} /** *

The ID of the batch prediction job.

*/ inline CreateBatchPredictionJobRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} /** *

The ID of the batch prediction job.

*/ inline CreateBatchPredictionJobRequest& WithJobId(const char* value) { SetJobId(value); return *this;} /** *

The Amazon S3 location of your training file.

*/ inline const Aws::String& GetInputPath() const{ return m_inputPath; } /** *

The Amazon S3 location of your training file.

*/ inline bool InputPathHasBeenSet() const { return m_inputPathHasBeenSet; } /** *

The Amazon S3 location of your training file.

*/ inline void SetInputPath(const Aws::String& value) { m_inputPathHasBeenSet = true; m_inputPath = value; } /** *

The Amazon S3 location of your training file.

*/ inline void SetInputPath(Aws::String&& value) { m_inputPathHasBeenSet = true; m_inputPath = std::move(value); } /** *

The Amazon S3 location of your training file.

*/ inline void SetInputPath(const char* value) { m_inputPathHasBeenSet = true; m_inputPath.assign(value); } /** *

The Amazon S3 location of your training file.

*/ inline CreateBatchPredictionJobRequest& WithInputPath(const Aws::String& value) { SetInputPath(value); return *this;} /** *

The Amazon S3 location of your training file.

*/ inline CreateBatchPredictionJobRequest& WithInputPath(Aws::String&& value) { SetInputPath(std::move(value)); return *this;} /** *

The Amazon S3 location of your training file.

*/ inline CreateBatchPredictionJobRequest& WithInputPath(const char* value) { SetInputPath(value); return *this;} /** *

The Amazon S3 location of your output file.

*/ inline const Aws::String& GetOutputPath() const{ return m_outputPath; } /** *

The Amazon S3 location of your output file.

*/ inline bool OutputPathHasBeenSet() const { return m_outputPathHasBeenSet; } /** *

The Amazon S3 location of your output file.

*/ inline void SetOutputPath(const Aws::String& value) { m_outputPathHasBeenSet = true; m_outputPath = value; } /** *

The Amazon S3 location of your output file.

*/ inline void SetOutputPath(Aws::String&& value) { m_outputPathHasBeenSet = true; m_outputPath = std::move(value); } /** *

The Amazon S3 location of your output file.

*/ inline void SetOutputPath(const char* value) { m_outputPathHasBeenSet = true; m_outputPath.assign(value); } /** *

The Amazon S3 location of your output file.

*/ inline CreateBatchPredictionJobRequest& WithOutputPath(const Aws::String& value) { SetOutputPath(value); return *this;} /** *

The Amazon S3 location of your output file.

*/ inline CreateBatchPredictionJobRequest& WithOutputPath(Aws::String&& value) { SetOutputPath(std::move(value)); return *this;} /** *

The Amazon S3 location of your output file.

*/ inline CreateBatchPredictionJobRequest& WithOutputPath(const char* value) { SetOutputPath(value); return *this;} /** *

The name of the event type.

*/ inline const Aws::String& GetEventTypeName() const{ return m_eventTypeName; } /** *

The name of the event type.

*/ inline bool EventTypeNameHasBeenSet() const { return m_eventTypeNameHasBeenSet; } /** *

The name of the event type.

*/ inline void SetEventTypeName(const Aws::String& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = value; } /** *

The name of the event type.

*/ inline void SetEventTypeName(Aws::String&& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = std::move(value); } /** *

The name of the event type.

*/ inline void SetEventTypeName(const char* value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName.assign(value); } /** *

The name of the event type.

*/ inline CreateBatchPredictionJobRequest& WithEventTypeName(const Aws::String& value) { SetEventTypeName(value); return *this;} /** *

The name of the event type.

*/ inline CreateBatchPredictionJobRequest& WithEventTypeName(Aws::String&& value) { SetEventTypeName(std::move(value)); return *this;} /** *

The name of the event type.

*/ inline CreateBatchPredictionJobRequest& WithEventTypeName(const char* value) { SetEventTypeName(value); return *this;} /** *

The name of the detector.

*/ inline const Aws::String& GetDetectorName() const{ return m_detectorName; } /** *

The name of the detector.

*/ inline bool DetectorNameHasBeenSet() const { return m_detectorNameHasBeenSet; } /** *

The name of the detector.

*/ inline void SetDetectorName(const Aws::String& value) { m_detectorNameHasBeenSet = true; m_detectorName = value; } /** *

The name of the detector.

*/ inline void SetDetectorName(Aws::String&& value) { m_detectorNameHasBeenSet = true; m_detectorName = std::move(value); } /** *

The name of the detector.

*/ inline void SetDetectorName(const char* value) { m_detectorNameHasBeenSet = true; m_detectorName.assign(value); } /** *

The name of the detector.

*/ inline CreateBatchPredictionJobRequest& WithDetectorName(const Aws::String& value) { SetDetectorName(value); return *this;} /** *

The name of the detector.

*/ inline CreateBatchPredictionJobRequest& WithDetectorName(Aws::String&& value) { SetDetectorName(std::move(value)); return *this;} /** *

The name of the detector.

*/ inline CreateBatchPredictionJobRequest& WithDetectorName(const char* value) { SetDetectorName(value); return *this;} /** *

The detector version.

*/ inline const Aws::String& GetDetectorVersion() const{ return m_detectorVersion; } /** *

The detector version.

*/ inline bool DetectorVersionHasBeenSet() const { return m_detectorVersionHasBeenSet; } /** *

The detector version.

*/ inline void SetDetectorVersion(const Aws::String& value) { m_detectorVersionHasBeenSet = true; m_detectorVersion = value; } /** *

The detector version.

*/ inline void SetDetectorVersion(Aws::String&& value) { m_detectorVersionHasBeenSet = true; m_detectorVersion = std::move(value); } /** *

The detector version.

*/ inline void SetDetectorVersion(const char* value) { m_detectorVersionHasBeenSet = true; m_detectorVersion.assign(value); } /** *

The detector version.

*/ inline CreateBatchPredictionJobRequest& WithDetectorVersion(const Aws::String& value) { SetDetectorVersion(value); return *this;} /** *

The detector version.

*/ inline CreateBatchPredictionJobRequest& WithDetectorVersion(Aws::String&& value) { SetDetectorVersion(std::move(value)); return *this;} /** *

The detector version.

*/ inline CreateBatchPredictionJobRequest& WithDetectorVersion(const char* value) { SetDetectorVersion(value); return *this;} /** *

The ARN of the IAM role to use for this job request.

The IAM Role must * have read permissions to your input S3 bucket and write permissions to your * output S3 bucket. For more information about bucket permissions, see User * policy examples in the Amazon S3 User Guide.

*/ inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; } /** *

The ARN of the IAM role to use for this job request.

The IAM Role must * have read permissions to your input S3 bucket and write permissions to your * output S3 bucket. For more information about bucket permissions, see User * policy examples in the Amazon S3 User Guide.

*/ inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; } /** *

The ARN of the IAM role to use for this job request.

The IAM Role must * have read permissions to your input S3 bucket and write permissions to your * output S3 bucket. For more information about bucket permissions, see User * policy examples in the Amazon S3 User Guide.

*/ inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; } /** *

The ARN of the IAM role to use for this job request.

The IAM Role must * have read permissions to your input S3 bucket and write permissions to your * output S3 bucket. For more information about bucket permissions, see User * policy examples in the Amazon S3 User Guide.

*/ inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); } /** *

The ARN of the IAM role to use for this job request.

The IAM Role must * have read permissions to your input S3 bucket and write permissions to your * output S3 bucket. For more information about bucket permissions, see User * policy examples in the Amazon S3 User Guide.

*/ inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); } /** *

The ARN of the IAM role to use for this job request.

The IAM Role must * have read permissions to your input S3 bucket and write permissions to your * output S3 bucket. For more information about bucket permissions, see User * policy examples in the Amazon S3 User Guide.

*/ inline CreateBatchPredictionJobRequest& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;} /** *

The ARN of the IAM role to use for this job request.

The IAM Role must * have read permissions to your input S3 bucket and write permissions to your * output S3 bucket. For more information about bucket permissions, see User * policy examples in the Amazon S3 User Guide.

*/ inline CreateBatchPredictionJobRequest& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;} /** *

The ARN of the IAM role to use for this job request.

The IAM Role must * have read permissions to your input S3 bucket and write permissions to your * output S3 bucket. For more information about bucket permissions, see User * policy examples in the Amazon S3 User Guide.

*/ inline CreateBatchPredictionJobRequest& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;} /** *

A collection of key and value pairs.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

A collection of key and value pairs.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

A collection of key and value pairs.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

A collection of key and value pairs.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

A collection of key and value pairs.

*/ inline CreateBatchPredictionJobRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

A collection of key and value pairs.

*/ inline CreateBatchPredictionJobRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

A collection of key and value pairs.

*/ inline CreateBatchPredictionJobRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

A collection of key and value pairs.

*/ inline CreateBatchPredictionJobRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_jobId; bool m_jobIdHasBeenSet = false; Aws::String m_inputPath; bool m_inputPathHasBeenSet = false; Aws::String m_outputPath; bool m_outputPathHasBeenSet = false; Aws::String m_eventTypeName; bool m_eventTypeNameHasBeenSet = false; Aws::String m_detectorName; bool m_detectorNameHasBeenSet = false; Aws::String m_detectorVersion; bool m_detectorVersionHasBeenSet = false; Aws::String m_iamRoleArn; bool m_iamRoleArnHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws