AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BotAliasLocaleSettings.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/CodeHookSpecification.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
34 {
35 public:
36 AWS_LEXMODELSV2_API BotAliasLocaleSettings();
37 AWS_LEXMODELSV2_API BotAliasLocaleSettings(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline bool GetEnabled() const{ return m_enabled; }
48 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
49 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
50 inline BotAliasLocaleSettings& WithEnabled(bool value) { SetEnabled(value); return *this;}
52
54
57 inline const CodeHookSpecification& GetCodeHookSpecification() const{ return m_codeHookSpecification; }
58 inline bool CodeHookSpecificationHasBeenSet() const { return m_codeHookSpecificationHasBeenSet; }
59 inline void SetCodeHookSpecification(const CodeHookSpecification& value) { m_codeHookSpecificationHasBeenSet = true; m_codeHookSpecification = value; }
60 inline void SetCodeHookSpecification(CodeHookSpecification&& value) { m_codeHookSpecificationHasBeenSet = true; m_codeHookSpecification = std::move(value); }
64 private:
65
66 bool m_enabled;
67 bool m_enabledHasBeenSet = false;
68
69 CodeHookSpecification m_codeHookSpecification;
70 bool m_codeHookSpecificationHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace LexModelsV2
75} // namespace Aws
void SetCodeHookSpecification(CodeHookSpecification &&value)
BotAliasLocaleSettings & WithCodeHookSpecification(const CodeHookSpecification &value)
BotAliasLocaleSettings & WithCodeHookSpecification(CodeHookSpecification &&value)
void SetCodeHookSpecification(const CodeHookSpecification &value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
BotAliasLocaleSettings & WithEnabled(bool value)
AWS_LEXMODELSV2_API BotAliasLocaleSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API BotAliasLocaleSettings(Aws::Utils::Json::JsonView jsonValue)
const CodeHookSpecification & GetCodeHookSpecification() const
Aws::Utils::Json::JsonValue JsonValue