AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ErrorLogSettings.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace LexModelsV2 {
17namespace Model {
18
26 public:
27 AWS_LEXMODELSV2_API ErrorLogSettings() = default;
28 AWS_LEXMODELSV2_API ErrorLogSettings(Aws::Utils::Json::JsonView jsonValue);
29 AWS_LEXMODELSV2_API ErrorLogSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline bool GetEnabled() const { return m_enabled; }
37 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
38 inline void SetEnabled(bool value) {
39 m_enabledHasBeenSet = true;
40 m_enabled = value;
41 }
42 inline ErrorLogSettings& WithEnabled(bool value) {
43 SetEnabled(value);
44 return *this;
45 }
47 private:
48 bool m_enabled{false};
49 bool m_enabledHasBeenSet = false;
50};
51
52} // namespace Model
53} // namespace LexModelsV2
54} // namespace Aws
ErrorLogSettings & WithEnabled(bool value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API ErrorLogSettings()=default
AWS_LEXMODELSV2_API ErrorLogSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API ErrorLogSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue