AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InitialResponseSetting.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/ResponseSpecification.h>
9#include <aws/lexv2-models/model/DialogState.h>
10#include <aws/lexv2-models/model/ConditionalSpecification.h>
11#include <aws/lexv2-models/model/DialogCodeHookInvocationSetting.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace LexModelsV2
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_LEXMODELSV2_API InitialResponseSetting();
39 AWS_LEXMODELSV2_API InitialResponseSetting(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
46 inline const ResponseSpecification& GetInitialResponse() const{ return m_initialResponse; }
47 inline bool InitialResponseHasBeenSet() const { return m_initialResponseHasBeenSet; }
48 inline void SetInitialResponse(const ResponseSpecification& value) { m_initialResponseHasBeenSet = true; m_initialResponse = value; }
49 inline void SetInitialResponse(ResponseSpecification&& value) { m_initialResponseHasBeenSet = true; m_initialResponse = std::move(value); }
51 inline InitialResponseSetting& WithInitialResponse(ResponseSpecification&& value) { SetInitialResponse(std::move(value)); return *this;}
53
55
58 inline const DialogState& GetNextStep() const{ return m_nextStep; }
59 inline bool NextStepHasBeenSet() const { return m_nextStepHasBeenSet; }
60 inline void SetNextStep(const DialogState& value) { m_nextStepHasBeenSet = true; m_nextStep = value; }
61 inline void SetNextStep(DialogState&& value) { m_nextStepHasBeenSet = true; m_nextStep = std::move(value); }
62 inline InitialResponseSetting& WithNextStep(const DialogState& value) { SetNextStep(value); return *this;}
63 inline InitialResponseSetting& WithNextStep(DialogState&& value) { SetNextStep(std::move(value)); return *this;}
65
67
68 inline const ConditionalSpecification& GetConditional() const{ return m_conditional; }
69 inline bool ConditionalHasBeenSet() const { return m_conditionalHasBeenSet; }
70 inline void SetConditional(const ConditionalSpecification& value) { m_conditionalHasBeenSet = true; m_conditional = value; }
71 inline void SetConditional(ConditionalSpecification&& value) { m_conditionalHasBeenSet = true; m_conditional = std::move(value); }
73 inline InitialResponseSetting& WithConditional(ConditionalSpecification&& value) { SetConditional(std::move(value)); return *this;}
75
77
78 inline const DialogCodeHookInvocationSetting& GetCodeHook() const{ return m_codeHook; }
79 inline bool CodeHookHasBeenSet() const { return m_codeHookHasBeenSet; }
80 inline void SetCodeHook(const DialogCodeHookInvocationSetting& value) { m_codeHookHasBeenSet = true; m_codeHook = value; }
81 inline void SetCodeHook(DialogCodeHookInvocationSetting&& value) { m_codeHookHasBeenSet = true; m_codeHook = std::move(value); }
83 inline InitialResponseSetting& WithCodeHook(DialogCodeHookInvocationSetting&& value) { SetCodeHook(std::move(value)); return *this;}
85 private:
86
87 ResponseSpecification m_initialResponse;
88 bool m_initialResponseHasBeenSet = false;
89
90 DialogState m_nextStep;
91 bool m_nextStepHasBeenSet = false;
92
93 ConditionalSpecification m_conditional;
94 bool m_conditionalHasBeenSet = false;
95
97 bool m_codeHookHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace LexModelsV2
102} // namespace Aws
InitialResponseSetting & WithCodeHook(DialogCodeHookInvocationSetting &&value)
const ResponseSpecification & GetInitialResponse() const
const DialogCodeHookInvocationSetting & GetCodeHook() const
InitialResponseSetting & WithNextStep(DialogState &&value)
InitialResponseSetting & WithNextStep(const DialogState &value)
InitialResponseSetting & WithCodeHook(const DialogCodeHookInvocationSetting &value)
void SetCodeHook(DialogCodeHookInvocationSetting &&value)
InitialResponseSetting & WithInitialResponse(const ResponseSpecification &value)
void SetConditional(const ConditionalSpecification &value)
AWS_LEXMODELSV2_API InitialResponseSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInitialResponse(const ResponseSpecification &value)
void SetInitialResponse(ResponseSpecification &&value)
InitialResponseSetting & WithConditional(const ConditionalSpecification &value)
void SetCodeHook(const DialogCodeHookInvocationSetting &value)
void SetConditional(ConditionalSpecification &&value)
const ConditionalSpecification & GetConditional() const
InitialResponseSetting & WithConditional(ConditionalSpecification &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
InitialResponseSetting & WithInitialResponse(ResponseSpecification &&value)
AWS_LEXMODELSV2_API InitialResponseSetting(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue