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

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. If not provided, the Amazon Web Services SDK * populates this field. For more information about idempotency, see Making * retries safe with idempotent APIs.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. If not provided, the Amazon Web Services SDK * populates this field. For more information about idempotency, see Making * retries safe with idempotent APIs.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. If not provided, the Amazon Web Services SDK * populates this field. For more information about idempotency, see Making * retries safe with idempotent APIs.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. If not provided, the Amazon Web Services SDK * populates this field. For more information about idempotency, see Making * retries safe with idempotent APIs.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. If not provided, the Amazon Web Services SDK * populates this field. For more information about idempotency, see Making * retries safe with idempotent APIs.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. If not provided, the Amazon Web Services SDK * populates this field. For more information about idempotency, see Making * retries safe with idempotent APIs.

*/ inline StartFraudsterRegistrationJobRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. If not provided, the Amazon Web Services SDK * populates this field. For more information about idempotency, see Making * retries safe with idempotent APIs.

*/ inline StartFraudsterRegistrationJobRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. If not provided, the Amazon Web Services SDK * populates this field. For more information about idempotency, see Making * retries safe with idempotent APIs.

*/ inline StartFraudsterRegistrationJobRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

The IAM role Amazon Resource Name (ARN) that grants Voice ID permissions to * access customer's buckets to read the input manifest file and write the Job * output file. Refer to the Create * and edit a fraudster watchlist documentation for the permissions needed in * this role.

*/ inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; } /** *

The IAM role Amazon Resource Name (ARN) that grants Voice ID permissions to * access customer's buckets to read the input manifest file and write the Job * output file. Refer to the Create * and edit a fraudster watchlist documentation for the permissions needed in * this role.

*/ inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; } /** *

The IAM role Amazon Resource Name (ARN) that grants Voice ID permissions to * access customer's buckets to read the input manifest file and write the Job * output file. Refer to the Create * and edit a fraudster watchlist documentation for the permissions needed in * this role.

*/ inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; } /** *

The IAM role Amazon Resource Name (ARN) that grants Voice ID permissions to * access customer's buckets to read the input manifest file and write the Job * output file. Refer to the Create * and edit a fraudster watchlist documentation for the permissions needed in * this role.

*/ inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); } /** *

The IAM role Amazon Resource Name (ARN) that grants Voice ID permissions to * access customer's buckets to read the input manifest file and write the Job * output file. Refer to the Create * and edit a fraudster watchlist documentation for the permissions needed in * this role.

*/ inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); } /** *

The IAM role Amazon Resource Name (ARN) that grants Voice ID permissions to * access customer's buckets to read the input manifest file and write the Job * output file. Refer to the Create * and edit a fraudster watchlist documentation for the permissions needed in * this role.

*/ inline StartFraudsterRegistrationJobRequest& WithDataAccessRoleArn(const Aws::String& value) { SetDataAccessRoleArn(value); return *this;} /** *

The IAM role Amazon Resource Name (ARN) that grants Voice ID permissions to * access customer's buckets to read the input manifest file and write the Job * output file. Refer to the Create * and edit a fraudster watchlist documentation for the permissions needed in * this role.

*/ inline StartFraudsterRegistrationJobRequest& WithDataAccessRoleArn(Aws::String&& value) { SetDataAccessRoleArn(std::move(value)); return *this;} /** *

The IAM role Amazon Resource Name (ARN) that grants Voice ID permissions to * access customer's buckets to read the input manifest file and write the Job * output file. Refer to the Create * and edit a fraudster watchlist documentation for the permissions needed in * this role.

*/ inline StartFraudsterRegistrationJobRequest& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;} /** *

The identifier of the domain that contains the fraudster registration job and * in which the fraudsters are registered.

*/ inline const Aws::String& GetDomainId() const{ return m_domainId; } /** *

The identifier of the domain that contains the fraudster registration job and * in which the fraudsters are registered.

*/ inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; } /** *

The identifier of the domain that contains the fraudster registration job and * in which the fraudsters are registered.

*/ inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; } /** *

The identifier of the domain that contains the fraudster registration job and * in which the fraudsters are registered.

*/ inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); } /** *

The identifier of the domain that contains the fraudster registration job and * in which the fraudsters are registered.

*/ inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); } /** *

The identifier of the domain that contains the fraudster registration job and * in which the fraudsters are registered.

*/ inline StartFraudsterRegistrationJobRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} /** *

The identifier of the domain that contains the fraudster registration job and * in which the fraudsters are registered.

*/ inline StartFraudsterRegistrationJobRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} /** *

The identifier of the domain that contains the fraudster registration job and * in which the fraudsters are registered.

*/ inline StartFraudsterRegistrationJobRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;} /** *

The input data config containing an S3 URI for the input manifest file that * contains the list of fraudster registration requests.

*/ inline const InputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; } /** *

The input data config containing an S3 URI for the input manifest file that * contains the list of fraudster registration requests.

*/ inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; } /** *

The input data config containing an S3 URI for the input manifest file that * contains the list of fraudster registration requests.

*/ inline void SetInputDataConfig(const InputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; } /** *

The input data config containing an S3 URI for the input manifest file that * contains the list of fraudster registration requests.

*/ inline void SetInputDataConfig(InputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); } /** *

The input data config containing an S3 URI for the input manifest file that * contains the list of fraudster registration requests.

*/ inline StartFraudsterRegistrationJobRequest& WithInputDataConfig(const InputDataConfig& value) { SetInputDataConfig(value); return *this;} /** *

The input data config containing an S3 URI for the input manifest file that * contains the list of fraudster registration requests.

*/ inline StartFraudsterRegistrationJobRequest& WithInputDataConfig(InputDataConfig&& value) { SetInputDataConfig(std::move(value)); return *this;} /** *

The name of the new fraudster registration job.

*/ inline const Aws::String& GetJobName() const{ return m_jobName; } /** *

The name of the new fraudster registration job.

*/ inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; } /** *

The name of the new fraudster registration job.

*/ inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; } /** *

The name of the new fraudster registration job.

*/ inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); } /** *

The name of the new fraudster registration job.

*/ inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); } /** *

The name of the new fraudster registration job.

*/ inline StartFraudsterRegistrationJobRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} /** *

The name of the new fraudster registration job.

*/ inline StartFraudsterRegistrationJobRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;} /** *

The name of the new fraudster registration job.

*/ inline StartFraudsterRegistrationJobRequest& WithJobName(const char* value) { SetJobName(value); return *this;} /** *

The output data config containing the S3 location where Voice ID writes the * job output file; you must also include a KMS key ID to encrypt the file.

*/ inline const OutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; } /** *

The output data config containing the S3 location where Voice ID writes the * job output file; you must also include a KMS key ID to encrypt the file.

*/ inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; } /** *

The output data config containing the S3 location where Voice ID writes the * job output file; you must also include a KMS key ID to encrypt the file.

*/ inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; } /** *

The output data config containing the S3 location where Voice ID writes the * job output file; you must also include a KMS key ID to encrypt the file.

*/ inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); } /** *

The output data config containing the S3 location where Voice ID writes the * job output file; you must also include a KMS key ID to encrypt the file.

*/ inline StartFraudsterRegistrationJobRequest& WithOutputDataConfig(const OutputDataConfig& value) { SetOutputDataConfig(value); return *this;} /** *

The output data config containing the S3 location where Voice ID writes the * job output file; you must also include a KMS key ID to encrypt the file.

*/ inline StartFraudsterRegistrationJobRequest& WithOutputDataConfig(OutputDataConfig&& value) { SetOutputDataConfig(std::move(value)); return *this;} /** *

The registration config containing details such as the action to take when a * duplicate fraudster is detected, and the similarity threshold to use for * detecting a duplicate fraudster.

*/ inline const RegistrationConfig& GetRegistrationConfig() const{ return m_registrationConfig; } /** *

The registration config containing details such as the action to take when a * duplicate fraudster is detected, and the similarity threshold to use for * detecting a duplicate fraudster.

*/ inline bool RegistrationConfigHasBeenSet() const { return m_registrationConfigHasBeenSet; } /** *

The registration config containing details such as the action to take when a * duplicate fraudster is detected, and the similarity threshold to use for * detecting a duplicate fraudster.

*/ inline void SetRegistrationConfig(const RegistrationConfig& value) { m_registrationConfigHasBeenSet = true; m_registrationConfig = value; } /** *

The registration config containing details such as the action to take when a * duplicate fraudster is detected, and the similarity threshold to use for * detecting a duplicate fraudster.

*/ inline void SetRegistrationConfig(RegistrationConfig&& value) { m_registrationConfigHasBeenSet = true; m_registrationConfig = std::move(value); } /** *

The registration config containing details such as the action to take when a * duplicate fraudster is detected, and the similarity threshold to use for * detecting a duplicate fraudster.

*/ inline StartFraudsterRegistrationJobRequest& WithRegistrationConfig(const RegistrationConfig& value) { SetRegistrationConfig(value); return *this;} /** *

The registration config containing details such as the action to take when a * duplicate fraudster is detected, and the similarity threshold to use for * detecting a duplicate fraudster.

*/ inline StartFraudsterRegistrationJobRequest& WithRegistrationConfig(RegistrationConfig&& value) { SetRegistrationConfig(std::move(value)); return *this;} private: Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::String m_dataAccessRoleArn; bool m_dataAccessRoleArnHasBeenSet = false; Aws::String m_domainId; bool m_domainIdHasBeenSet = false; InputDataConfig m_inputDataConfig; bool m_inputDataConfigHasBeenSet = false; Aws::String m_jobName; bool m_jobNameHasBeenSet = false; OutputDataConfig m_outputDataConfig; bool m_outputDataConfigHasBeenSet = false; RegistrationConfig m_registrationConfig; bool m_registrationConfigHasBeenSet = false; }; } // namespace Model } // namespace VoiceID } // namespace Aws