/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace VoiceID { namespace Model { /** *

The configuration containing output file information for a batch * job.

See Also:

AWS * API Reference

*/ class OutputDataConfig { public: AWS_VOICEID_API OutputDataConfig(); AWS_VOICEID_API OutputDataConfig(Aws::Utils::Json::JsonView jsonValue); AWS_VOICEID_API OutputDataConfig& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The identifier of the KMS key you want Voice ID to use to encrypt the output * file of a speaker enrollment job/fraudster registration job.

*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *

The identifier of the KMS key you want Voice ID to use to encrypt the output * file of a speaker enrollment job/fraudster registration job.

*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** *

The identifier of the KMS key you want Voice ID to use to encrypt the output * file of a speaker enrollment job/fraudster registration job.

*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** *

The identifier of the KMS key you want Voice ID to use to encrypt the output * file of a speaker enrollment job/fraudster registration job.

*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } /** *

The identifier of the KMS key you want Voice ID to use to encrypt the output * file of a speaker enrollment job/fraudster registration job.

*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** *

The identifier of the KMS key you want Voice ID to use to encrypt the output * file of a speaker enrollment job/fraudster registration job.

*/ inline OutputDataConfig& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *

The identifier of the KMS key you want Voice ID to use to encrypt the output * file of a speaker enrollment job/fraudster registration job.

*/ inline OutputDataConfig& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** *

The identifier of the KMS key you want Voice ID to use to encrypt the output * file of a speaker enrollment job/fraudster registration job.

*/ inline OutputDataConfig& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} /** *

The S3 path of the folder where Voice ID writes the job output file. It has a * *.out extension. For example, if the input file name is * input-file.json and the output folder path is * s3://output-bucket/output-folder, the full output file path is * s3://output-bucket/output-folder/job-Id/input-file.json.out.

*/ inline const Aws::String& GetS3Uri() const{ return m_s3Uri; } /** *

The S3 path of the folder where Voice ID writes the job output file. It has a * *.out extension. For example, if the input file name is * input-file.json and the output folder path is * s3://output-bucket/output-folder, the full output file path is * s3://output-bucket/output-folder/job-Id/input-file.json.out.

*/ inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; } /** *

The S3 path of the folder where Voice ID writes the job output file. It has a * *.out extension. For example, if the input file name is * input-file.json and the output folder path is * s3://output-bucket/output-folder, the full output file path is * s3://output-bucket/output-folder/job-Id/input-file.json.out.

*/ inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; } /** *

The S3 path of the folder where Voice ID writes the job output file. It has a * *.out extension. For example, if the input file name is * input-file.json and the output folder path is * s3://output-bucket/output-folder, the full output file path is * s3://output-bucket/output-folder/job-Id/input-file.json.out.

*/ inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); } /** *

The S3 path of the folder where Voice ID writes the job output file. It has a * *.out extension. For example, if the input file name is * input-file.json and the output folder path is * s3://output-bucket/output-folder, the full output file path is * s3://output-bucket/output-folder/job-Id/input-file.json.out.

*/ inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); } /** *

The S3 path of the folder where Voice ID writes the job output file. It has a * *.out extension. For example, if the input file name is * input-file.json and the output folder path is * s3://output-bucket/output-folder, the full output file path is * s3://output-bucket/output-folder/job-Id/input-file.json.out.

*/ inline OutputDataConfig& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;} /** *

The S3 path of the folder where Voice ID writes the job output file. It has a * *.out extension. For example, if the input file name is * input-file.json and the output folder path is * s3://output-bucket/output-folder, the full output file path is * s3://output-bucket/output-folder/job-Id/input-file.json.out.

*/ inline OutputDataConfig& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;} /** *

The S3 path of the folder where Voice ID writes the job output file. It has a * *.out extension. For example, if the input file name is * input-file.json and the output folder path is * s3://output-bucket/output-folder, the full output file path is * s3://output-bucket/output-folder/job-Id/input-file.json.out.

*/ inline OutputDataConfig& WithS3Uri(const char* value) { SetS3Uri(value); return *this;} private: Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; Aws::String m_s3Uri; bool m_s3UriHasBeenSet = false; }; } // namespace Model } // namespace VoiceID } // namespace Aws