/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Defines settings to enable text conversation logs.See Also:
* AWS
* API Reference
Determines whether conversation logs should be stored for an alias.
*/ inline bool GetEnabled() const{ return m_enabled; } /** *Determines whether conversation logs should be stored for an alias.
*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *Determines whether conversation logs should be stored for an alias.
*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *Determines whether conversation logs should be stored for an alias.
*/ inline TextLogSetting& WithEnabled(bool value) { SetEnabled(value); return *this;} inline const TextLogDestination& GetDestination() const{ return m_destination; } inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; } inline void SetDestination(const TextLogDestination& value) { m_destinationHasBeenSet = true; m_destination = value; } inline void SetDestination(TextLogDestination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); } inline TextLogSetting& WithDestination(const TextLogDestination& value) { SetDestination(value); return *this;} inline TextLogSetting& WithDestination(TextLogDestination&& value) { SetDestination(std::move(value)); return *this;} private: bool m_enabled; bool m_enabledHasBeenSet = false; TextLogDestination m_destination; bool m_destinationHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws