/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The object representing the Amazon S3 bucket containing the transcript, as
* well as the associated metadata.See Also:
AWS
* API Reference
The name of the bucket containing the transcript and the associated * metadata.
*/ inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; } /** *The name of the bucket containing the transcript and the associated * metadata.
*/ inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; } /** *The name of the bucket containing the transcript and the associated * metadata.
*/ inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; } /** *The name of the bucket containing the transcript and the associated * metadata.
*/ inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); } /** *The name of the bucket containing the transcript and the associated * metadata.
*/ inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); } /** *The name of the bucket containing the transcript and the associated * metadata.
*/ inline S3BucketTranscriptSource& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;} /** *The name of the bucket containing the transcript and the associated * metadata.
*/ inline S3BucketTranscriptSource& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;} /** *The name of the bucket containing the transcript and the associated * metadata.
*/ inline S3BucketTranscriptSource& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;} /** *The object that contains a path format that will be applied when Amazon Lex * reads the transcript file in the bucket you provide. Specify this object if you * only want Lex to read a subset of files in your Amazon S3 bucket.
*/ inline const PathFormat& GetPathFormat() const{ return m_pathFormat; } /** *The object that contains a path format that will be applied when Amazon Lex * reads the transcript file in the bucket you provide. Specify this object if you * only want Lex to read a subset of files in your Amazon S3 bucket.
*/ inline bool PathFormatHasBeenSet() const { return m_pathFormatHasBeenSet; } /** *The object that contains a path format that will be applied when Amazon Lex * reads the transcript file in the bucket you provide. Specify this object if you * only want Lex to read a subset of files in your Amazon S3 bucket.
*/ inline void SetPathFormat(const PathFormat& value) { m_pathFormatHasBeenSet = true; m_pathFormat = value; } /** *The object that contains a path format that will be applied when Amazon Lex * reads the transcript file in the bucket you provide. Specify this object if you * only want Lex to read a subset of files in your Amazon S3 bucket.
*/ inline void SetPathFormat(PathFormat&& value) { m_pathFormatHasBeenSet = true; m_pathFormat = std::move(value); } /** *The object that contains a path format that will be applied when Amazon Lex * reads the transcript file in the bucket you provide. Specify this object if you * only want Lex to read a subset of files in your Amazon S3 bucket.
*/ inline S3BucketTranscriptSource& WithPathFormat(const PathFormat& value) { SetPathFormat(value); return *this;} /** *The object that contains a path format that will be applied when Amazon Lex * reads the transcript file in the bucket you provide. Specify this object if you * only want Lex to read a subset of files in your Amazon S3 bucket.
*/ inline S3BucketTranscriptSource& WithPathFormat(PathFormat&& value) { SetPathFormat(std::move(value)); return *this;} /** *The format of the transcript content. Currently, Genie only supports the * Amazon Lex transcript format.
*/ inline const TranscriptFormat& GetTranscriptFormat() const{ return m_transcriptFormat; } /** *The format of the transcript content. Currently, Genie only supports the * Amazon Lex transcript format.
*/ inline bool TranscriptFormatHasBeenSet() const { return m_transcriptFormatHasBeenSet; } /** *The format of the transcript content. Currently, Genie only supports the * Amazon Lex transcript format.
*/ inline void SetTranscriptFormat(const TranscriptFormat& value) { m_transcriptFormatHasBeenSet = true; m_transcriptFormat = value; } /** *The format of the transcript content. Currently, Genie only supports the * Amazon Lex transcript format.
*/ inline void SetTranscriptFormat(TranscriptFormat&& value) { m_transcriptFormatHasBeenSet = true; m_transcriptFormat = std::move(value); } /** *The format of the transcript content. Currently, Genie only supports the * Amazon Lex transcript format.
*/ inline S3BucketTranscriptSource& WithTranscriptFormat(const TranscriptFormat& value) { SetTranscriptFormat(value); return *this;} /** *The format of the transcript content. Currently, Genie only supports the * Amazon Lex transcript format.
*/ inline S3BucketTranscriptSource& WithTranscriptFormat(TranscriptFormat&& value) { SetTranscriptFormat(std::move(value)); return *this;} /** *The object that contains the filter which will be applied when Amazon Lex * reads through the Amazon S3 bucket. Specify this object if you want Amazon Lex * to read only a subset of the Amazon S3 bucket based on the filter you * provide.
*/ inline const TranscriptFilter& GetTranscriptFilter() const{ return m_transcriptFilter; } /** *The object that contains the filter which will be applied when Amazon Lex * reads through the Amazon S3 bucket. Specify this object if you want Amazon Lex * to read only a subset of the Amazon S3 bucket based on the filter you * provide.
*/ inline bool TranscriptFilterHasBeenSet() const { return m_transcriptFilterHasBeenSet; } /** *The object that contains the filter which will be applied when Amazon Lex * reads through the Amazon S3 bucket. Specify this object if you want Amazon Lex * to read only a subset of the Amazon S3 bucket based on the filter you * provide.
*/ inline void SetTranscriptFilter(const TranscriptFilter& value) { m_transcriptFilterHasBeenSet = true; m_transcriptFilter = value; } /** *The object that contains the filter which will be applied when Amazon Lex * reads through the Amazon S3 bucket. Specify this object if you want Amazon Lex * to read only a subset of the Amazon S3 bucket based on the filter you * provide.
*/ inline void SetTranscriptFilter(TranscriptFilter&& value) { m_transcriptFilterHasBeenSet = true; m_transcriptFilter = std::move(value); } /** *The object that contains the filter which will be applied when Amazon Lex * reads through the Amazon S3 bucket. Specify this object if you want Amazon Lex * to read only a subset of the Amazon S3 bucket based on the filter you * provide.
*/ inline S3BucketTranscriptSource& WithTranscriptFilter(const TranscriptFilter& value) { SetTranscriptFilter(value); return *this;} /** *The object that contains the filter which will be applied when Amazon Lex * reads through the Amazon S3 bucket. Specify this object if you want Amazon Lex * to read only a subset of the Amazon S3 bucket based on the filter you * provide.
*/ inline S3BucketTranscriptSource& WithTranscriptFilter(TranscriptFilter&& value) { SetTranscriptFilter(std::move(value)); return *this;} /** *The ARN of the KMS key that customer use to encrypt their Amazon S3 bucket. * Only use this field if your bucket is encrypted using a customer managed KMS * key.
*/ inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; } /** *The ARN of the KMS key that customer use to encrypt their Amazon S3 bucket. * Only use this field if your bucket is encrypted using a customer managed KMS * key.
*/ inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; } /** *The ARN of the KMS key that customer use to encrypt their Amazon S3 bucket. * Only use this field if your bucket is encrypted using a customer managed KMS * key.
*/ inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; } /** *The ARN of the KMS key that customer use to encrypt their Amazon S3 bucket. * Only use this field if your bucket is encrypted using a customer managed KMS * key.
*/ inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); } /** *The ARN of the KMS key that customer use to encrypt their Amazon S3 bucket. * Only use this field if your bucket is encrypted using a customer managed KMS * key.
*/ inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); } /** *The ARN of the KMS key that customer use to encrypt their Amazon S3 bucket. * Only use this field if your bucket is encrypted using a customer managed KMS * key.
*/ inline S3BucketTranscriptSource& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;} /** *The ARN of the KMS key that customer use to encrypt their Amazon S3 bucket. * Only use this field if your bucket is encrypted using a customer managed KMS * key.
*/ inline S3BucketTranscriptSource& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;} /** *The ARN of the KMS key that customer use to encrypt their Amazon S3 bucket. * Only use this field if your bucket is encrypted using a customer managed KMS * key.
*/ inline S3BucketTranscriptSource& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;} private: Aws::String m_s3BucketName; bool m_s3BucketNameHasBeenSet = false; PathFormat m_pathFormat; bool m_pathFormatHasBeenSet = false; TranscriptFormat m_transcriptFormat; bool m_transcriptFormatHasBeenSet = false; TranscriptFilter m_transcriptFilter; bool m_transcriptFilterHasBeenSet = false; Aws::String m_kmsKeyArn; bool m_kmsKeyArnHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws