/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Settings for logging audio of conversations between Amazon Lex and a user.
* You specify whether to log audio and the Amazon S3 bucket where the audio file
* is stored.See Also:
AWS
* API Reference
Determines whether audio logging in enabled for the bot.
*/ inline bool GetEnabled() const{ return m_enabled; } /** *Determines whether audio logging in enabled for the bot.
*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *Determines whether audio logging in enabled for the bot.
*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *Determines whether audio logging in enabled for the bot.
*/ inline AudioLogSetting& WithEnabled(bool value) { SetEnabled(value); return *this;} inline const AudioLogDestination& GetDestination() const{ return m_destination; } inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; } inline void SetDestination(const AudioLogDestination& value) { m_destinationHasBeenSet = true; m_destination = value; } inline void SetDestination(AudioLogDestination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); } inline AudioLogSetting& WithDestination(const AudioLogDestination& value) { SetDestination(value); return *this;} inline AudioLogSetting& WithDestination(AudioLogDestination&& value) { SetDestination(std::move(value)); return *this;} private: bool m_enabled; bool m_enabledHasBeenSet = false; AudioLogDestination m_destination; bool m_destinationHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws