AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ElicitationCodeHookInvocationSetting.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 ElicitationCodeHookInvocationSetting() = default;
38 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline bool GetEnableCodeHookInvocation() const { return m_enableCodeHookInvocation; }
46 inline bool EnableCodeHookInvocationHasBeenSet() const { return m_enableCodeHookInvocationHasBeenSet; }
47 inline void SetEnableCodeHookInvocation(bool value) { m_enableCodeHookInvocationHasBeenSet = true; m_enableCodeHookInvocation = value; }
50
52
56 inline const Aws::String& GetInvocationLabel() const { return m_invocationLabel; }
57 inline bool InvocationLabelHasBeenSet() const { return m_invocationLabelHasBeenSet; }
58 template<typename InvocationLabelT = Aws::String>
59 void SetInvocationLabel(InvocationLabelT&& value) { m_invocationLabelHasBeenSet = true; m_invocationLabel = std::forward<InvocationLabelT>(value); }
60 template<typename InvocationLabelT = Aws::String>
61 ElicitationCodeHookInvocationSetting& WithInvocationLabel(InvocationLabelT&& value) { SetInvocationLabel(std::forward<InvocationLabelT>(value)); return *this;}
63 private:
64
65 bool m_enableCodeHookInvocation{false};
66 bool m_enableCodeHookInvocationHasBeenSet = false;
67
68 Aws::String m_invocationLabel;
69 bool m_invocationLabelHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace LexModelsV2
74} // namespace Aws
AWS_LEXMODELSV2_API ElicitationCodeHookInvocationSetting(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API ElicitationCodeHookInvocationSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API ElicitationCodeHookInvocationSetting()=default
ElicitationCodeHookInvocationSetting & WithInvocationLabel(InvocationLabelT &&value)
ElicitationCodeHookInvocationSetting & WithEnableCodeHookInvocation(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue