AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ElicitationCodeHookInvocationSetting.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LexModelsV2 {
20namespace Model {
21
29 public:
30 AWS_LEXMODELSV2_API ElicitationCodeHookInvocationSetting() = default;
33 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline bool GetEnableCodeHookInvocation() const { return m_enableCodeHookInvocation; }
40 inline bool EnableCodeHookInvocationHasBeenSet() const { return m_enableCodeHookInvocationHasBeenSet; }
41 inline void SetEnableCodeHookInvocation(bool value) {
42 m_enableCodeHookInvocationHasBeenSet = true;
43 m_enableCodeHookInvocation = value;
44 }
47 return *this;
48 }
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) {
60 m_invocationLabelHasBeenSet = true;
61 m_invocationLabel = std::forward<InvocationLabelT>(value);
62 }
63 template <typename InvocationLabelT = Aws::String>
65 SetInvocationLabel(std::forward<InvocationLabelT>(value));
66 return *this;
67 }
69 private:
70 bool m_enableCodeHookInvocation{false};
71
72 Aws::String m_invocationLabel;
73 bool m_enableCodeHookInvocationHasBeenSet = false;
74 bool m_invocationLabelHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace LexModelsV2
79} // 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