AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TextLogSetting.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/TextLogDestination.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LexModelsV2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_LEXMODELSV2_API TextLogSetting();
36 AWS_LEXMODELSV2_API TextLogSetting(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LEXMODELSV2_API TextLogSetting& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline bool GetEnabled() const{ return m_enabled; }
46 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
47 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
48 inline TextLogSetting& WithEnabled(bool value) { SetEnabled(value); return *this;}
50
52
53 inline const TextLogDestination& GetDestination() const{ return m_destination; }
54 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
55 inline void SetDestination(const TextLogDestination& value) { m_destinationHasBeenSet = true; m_destination = value; }
56 inline void SetDestination(TextLogDestination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
57 inline TextLogSetting& WithDestination(const TextLogDestination& value) { SetDestination(value); return *this;}
58 inline TextLogSetting& WithDestination(TextLogDestination&& value) { SetDestination(std::move(value)); return *this;}
60
62
65 inline bool GetSelectiveLoggingEnabled() const{ return m_selectiveLoggingEnabled; }
66 inline bool SelectiveLoggingEnabledHasBeenSet() const { return m_selectiveLoggingEnabledHasBeenSet; }
67 inline void SetSelectiveLoggingEnabled(bool value) { m_selectiveLoggingEnabledHasBeenSet = true; m_selectiveLoggingEnabled = value; }
68 inline TextLogSetting& WithSelectiveLoggingEnabled(bool value) { SetSelectiveLoggingEnabled(value); return *this;}
70 private:
71
72 bool m_enabled;
73 bool m_enabledHasBeenSet = false;
74
75 TextLogDestination m_destination;
76 bool m_destinationHasBeenSet = false;
77
78 bool m_selectiveLoggingEnabled;
79 bool m_selectiveLoggingEnabledHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace LexModelsV2
84} // namespace Aws
TextLogSetting & WithSelectiveLoggingEnabled(bool value)
TextLogSetting & WithDestination(const TextLogDestination &value)
AWS_LEXMODELSV2_API TextLogSetting(Aws::Utils::Json::JsonView jsonValue)
const TextLogDestination & GetDestination() const
void SetDestination(const TextLogDestination &value)
TextLogSetting & WithDestination(TextLogDestination &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
TextLogSetting & WithEnabled(bool value)
void SetDestination(TextLogDestination &&value)
AWS_LEXMODELSV2_API TextLogSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue