AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetInvocationLabel(const Aws::String& value) { m_invocationLabelHasBeenSet = true; m_invocationLabel = value; }
59 inline void SetInvocationLabel(Aws::String&& value) { m_invocationLabelHasBeenSet = true; m_invocationLabel = std::move(value); }
60 inline void SetInvocationLabel(const char* value) { m_invocationLabelHasBeenSet = true; m_invocationLabel.assign(value); }
63 inline ElicitationCodeHookInvocationSetting& WithInvocationLabel(const char* value) { SetInvocationLabel(value); return *this;}
65 private:
66
67 bool m_enableCodeHookInvocation;
68 bool m_enableCodeHookInvocationHasBeenSet = false;
69
70 Aws::String m_invocationLabel;
71 bool m_invocationLabelHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace LexModelsV2
76} // 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
ElicitationCodeHookInvocationSetting & WithInvocationLabel(const char *value)
ElicitationCodeHookInvocationSetting & WithInvocationLabel(const Aws::String &value)
ElicitationCodeHookInvocationSetting & WithEnableCodeHookInvocation(bool value)
ElicitationCodeHookInvocationSetting & WithInvocationLabel(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue