/** * 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 CreateBatchImportJobRequest : public FraudDetectorRequest { public: AWS_FRAUDDETECTOR_API CreateBatchImportJobRequest(); // 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 "CreateBatchImportJob"; } AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override; AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ID of the batch import job. The ID cannot be of a past job, unless the * job exists in CREATE_FAILED state.

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

The ID of the batch import job. The ID cannot be of a past job, unless the * job exists in CREATE_FAILED state.

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

The ID of the batch import job. The ID cannot be of a past job, unless the * job exists in CREATE_FAILED state.

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

The ID of the batch import job. The ID cannot be of a past job, unless the * job exists in CREATE_FAILED state.

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

The ID of the batch import job. The ID cannot be of a past job, unless the * job exists in CREATE_FAILED state.

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

The ID of the batch import job. The ID cannot be of a past job, unless the * job exists in CREATE_FAILED state.

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

The ID of the batch import job. The ID cannot be of a past job, unless the * job exists in CREATE_FAILED state.

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

The ID of the batch import job. The ID cannot be of a past job, unless the * job exists in CREATE_FAILED state.

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

The URI that points to the Amazon S3 location of your data file.

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

The URI that points to the Amazon S3 location of your data file.

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

The URI that points to the Amazon S3 location of your data file.

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

The URI that points to the Amazon S3 location of your data file.

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

The URI that points to the Amazon S3 location of your data file.

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

The URI that points to the Amazon S3 location of your data file.

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

The URI that points to the Amazon S3 location of your data file.

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

The URI that points to the Amazon S3 location of your data file.

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

The URI that points to the Amazon S3 location for storing your results.

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

The URI that points to the Amazon S3 location for storing your results.

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

The URI that points to the Amazon S3 location for storing your results.

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

The URI that points to the Amazon S3 location for storing your results.

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

The URI that points to the Amazon S3 location for storing your results.

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

The URI that points to the Amazon S3 location for storing your results.

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

The URI that points to the Amazon S3 location for storing your results.

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

The URI that points to the Amazon S3 location for storing your results.

*/ inline CreateBatchImportJobRequest& 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 CreateBatchImportJobRequest& WithEventTypeName(const Aws::String& value) { SetEventTypeName(value); return *this;} /** *

The name of the event type.

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

The name of the event type.

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

The ARN of the IAM role created for Amazon S3 bucket that holds your data * file.

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 created for Amazon S3 bucket that holds your data * file.

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 created for Amazon S3 bucket that holds your data * file.

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 created for Amazon S3 bucket that holds your data * file.

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 created for Amazon S3 bucket that holds your data * file.

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 created for Amazon S3 bucket that holds your data * file.

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 CreateBatchImportJobRequest& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;} /** *

The ARN of the IAM role created for Amazon S3 bucket that holds your data * file.

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 CreateBatchImportJobRequest& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;} /** *

The ARN of the IAM role created for Amazon S3 bucket that holds your data * file.

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 CreateBatchImportJobRequest& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;} /** *

A collection of key-value pairs associated with this request.

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

A collection of key-value pairs associated with this request.

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

A collection of key-value pairs associated with this request.

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

A collection of key-value pairs associated with this request.

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

A collection of key-value pairs associated with this request.

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

A collection of key-value pairs associated with this request.

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

A collection of key-value pairs associated with this request.

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

A collection of key-value pairs associated with this request.

*/ inline CreateBatchImportJobRequest& 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_iamRoleArn; bool m_iamRoleArnHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws