AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DialogCodeHookInvocationSetting.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/model/PostDialogCodeHookInvocationSpecification.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LexModelsV2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LEXMODELSV2_API DialogCodeHookInvocationSetting();
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline bool GetEnableCodeHookInvocation() const{ return m_enableCodeHookInvocation; }
47 inline bool EnableCodeHookInvocationHasBeenSet() const { return m_enableCodeHookInvocationHasBeenSet; }
48 inline void SetEnableCodeHookInvocation(bool value) { m_enableCodeHookInvocationHasBeenSet = true; m_enableCodeHookInvocation = value; }
51
53
57 inline bool GetActive() const{ return m_active; }
58 inline bool ActiveHasBeenSet() const { return m_activeHasBeenSet; }
59 inline void SetActive(bool value) { m_activeHasBeenSet = true; m_active = value; }
60 inline DialogCodeHookInvocationSetting& WithActive(bool value) { SetActive(value); return *this;}
62
64
68 inline const Aws::String& GetInvocationLabel() const{ return m_invocationLabel; }
69 inline bool InvocationLabelHasBeenSet() const { return m_invocationLabelHasBeenSet; }
70 inline void SetInvocationLabel(const Aws::String& value) { m_invocationLabelHasBeenSet = true; m_invocationLabel = value; }
71 inline void SetInvocationLabel(Aws::String&& value) { m_invocationLabelHasBeenSet = true; m_invocationLabel = std::move(value); }
72 inline void SetInvocationLabel(const char* value) { m_invocationLabelHasBeenSet = true; m_invocationLabel.assign(value); }
74 inline DialogCodeHookInvocationSetting& WithInvocationLabel(Aws::String&& value) { SetInvocationLabel(std::move(value)); return *this;}
75 inline DialogCodeHookInvocationSetting& WithInvocationLabel(const char* value) { SetInvocationLabel(value); return *this;}
77
79
83 inline const PostDialogCodeHookInvocationSpecification& GetPostCodeHookSpecification() const{ return m_postCodeHookSpecification; }
84 inline bool PostCodeHookSpecificationHasBeenSet() const { return m_postCodeHookSpecificationHasBeenSet; }
85 inline void SetPostCodeHookSpecification(const PostDialogCodeHookInvocationSpecification& value) { m_postCodeHookSpecificationHasBeenSet = true; m_postCodeHookSpecification = value; }
86 inline void SetPostCodeHookSpecification(PostDialogCodeHookInvocationSpecification&& value) { m_postCodeHookSpecificationHasBeenSet = true; m_postCodeHookSpecification = std::move(value); }
90 private:
91
92 bool m_enableCodeHookInvocation;
93 bool m_enableCodeHookInvocationHasBeenSet = false;
94
95 bool m_active;
96 bool m_activeHasBeenSet = false;
97
98 Aws::String m_invocationLabel;
99 bool m_invocationLabelHasBeenSet = false;
100
101 PostDialogCodeHookInvocationSpecification m_postCodeHookSpecification;
102 bool m_postCodeHookSpecificationHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace LexModelsV2
107} // namespace Aws
void SetPostCodeHookSpecification(PostDialogCodeHookInvocationSpecification &&value)
DialogCodeHookInvocationSetting & WithInvocationLabel(const char *value)
void SetPostCodeHookSpecification(const PostDialogCodeHookInvocationSpecification &value)
AWS_LEXMODELSV2_API DialogCodeHookInvocationSetting(Aws::Utils::Json::JsonView jsonValue)
const PostDialogCodeHookInvocationSpecification & GetPostCodeHookSpecification() const
DialogCodeHookInvocationSetting & WithInvocationLabel(Aws::String &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
DialogCodeHookInvocationSetting & WithPostCodeHookSpecification(PostDialogCodeHookInvocationSpecification &&value)
DialogCodeHookInvocationSetting & WithEnableCodeHookInvocation(bool value)
DialogCodeHookInvocationSetting & WithInvocationLabel(const Aws::String &value)
DialogCodeHookInvocationSetting & WithPostCodeHookSpecification(const PostDialogCodeHookInvocationSpecification &value)
AWS_LEXMODELSV2_API DialogCodeHookInvocationSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue