/** * 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 LexModelsV2 { namespace Model { /** *

The location of audio log files collected when conversation logging is * enabled for a bot.

See Also:

AWS * API Reference

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

The Amazon S3 bucket where the audio log files are stored. The IAM role * specified in the roleArn parameter of the CreateBot * operation must have permission to write to this bucket.

*/ inline const S3BucketLogDestination& GetS3Bucket() const{ return m_s3Bucket; } /** *

The Amazon S3 bucket where the audio log files are stored. The IAM role * specified in the roleArn parameter of the CreateBot * operation must have permission to write to this bucket.

*/ inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; } /** *

The Amazon S3 bucket where the audio log files are stored. The IAM role * specified in the roleArn parameter of the CreateBot * operation must have permission to write to this bucket.

*/ inline void SetS3Bucket(const S3BucketLogDestination& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; } /** *

The Amazon S3 bucket where the audio log files are stored. The IAM role * specified in the roleArn parameter of the CreateBot * operation must have permission to write to this bucket.

*/ inline void SetS3Bucket(S3BucketLogDestination&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); } /** *

The Amazon S3 bucket where the audio log files are stored. The IAM role * specified in the roleArn parameter of the CreateBot * operation must have permission to write to this bucket.

*/ inline AudioLogDestination& WithS3Bucket(const S3BucketLogDestination& value) { SetS3Bucket(value); return *this;} /** *

The Amazon S3 bucket where the audio log files are stored. The IAM role * specified in the roleArn parameter of the CreateBot * operation must have permission to write to this bucket.

*/ inline AudioLogDestination& WithS3Bucket(S3BucketLogDestination&& value) { SetS3Bucket(std::move(value)); return *this;} private: S3BucketLogDestination m_s3Bucket; bool m_s3BucketHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws