7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/TextLogDestination.h>
47 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
55 template<
typename DestinationT = TextLogDestination>
56 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet =
true; m_destination = std::forward<DestinationT>(value); }
57 template<
typename DestinationT = TextLogDestination>
72 bool m_enabled{
false};
73 bool m_enabledHasBeenSet =
false;
75 TextLogDestination m_destination;
76 bool m_destinationHasBeenSet =
false;
78 bool m_selectiveLoggingEnabled{
false};
79 bool m_selectiveLoggingEnabledHasBeenSet =
false;
TextLogSetting & WithSelectiveLoggingEnabled(bool value)
AWS_LEXMODELSV2_API TextLogSetting()=default
bool DestinationHasBeenSet() const
bool SelectiveLoggingEnabledHasBeenSet() const
bool EnabledHasBeenSet() const
AWS_LEXMODELSV2_API TextLogSetting(Aws::Utils::Json::JsonView jsonValue)
const TextLogDestination & GetDestination() const
TextLogSetting & WithDestination(DestinationT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSelectiveLoggingEnabled(bool value)
void SetDestination(DestinationT &&value)
TextLogSetting & WithEnabled(bool value)
void SetEnabled(bool value)
bool GetSelectiveLoggingEnabled() const
AWS_LEXMODELSV2_API TextLogSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue