AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DialogCodeHookSettings.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 DialogCodeHookSettings() = default;
28 AWS_LEXMODELSV2_API DialogCodeHookSettings(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 DialogCodeHookSettings& 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
AWS_LEXMODELSV2_API DialogCodeHookSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
DialogCodeHookSettings & WithEnabled(bool value)
AWS_LEXMODELSV2_API DialogCodeHookSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API DialogCodeHookSettings()=default
Aws::Utils::Json::JsonValue JsonValue