AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SlotCaptureSetting.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 <aws/lexv2-models/model/ElicitationCodeHookInvocationSetting.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace LexModelsV2
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_LEXMODELSV2_API SlotCaptureSetting();
40 AWS_LEXMODELSV2_API SlotCaptureSetting(Aws::Utils::Json::JsonView jsonValue);
42 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
47 inline const ResponseSpecification& GetCaptureResponse() const{ return m_captureResponse; }
48 inline bool CaptureResponseHasBeenSet() const { return m_captureResponseHasBeenSet; }
49 inline void SetCaptureResponse(const ResponseSpecification& value) { m_captureResponseHasBeenSet = true; m_captureResponse = value; }
50 inline void SetCaptureResponse(ResponseSpecification&& value) { m_captureResponseHasBeenSet = true; m_captureResponse = std::move(value); }
52 inline SlotCaptureSetting& WithCaptureResponse(ResponseSpecification&& value) { SetCaptureResponse(std::move(value)); return *this;}
54
56
60 inline const DialogState& GetCaptureNextStep() const{ return m_captureNextStep; }
61 inline bool CaptureNextStepHasBeenSet() const { return m_captureNextStepHasBeenSet; }
62 inline void SetCaptureNextStep(const DialogState& value) { m_captureNextStepHasBeenSet = true; m_captureNextStep = value; }
63 inline void SetCaptureNextStep(DialogState&& value) { m_captureNextStepHasBeenSet = true; m_captureNextStep = std::move(value); }
64 inline SlotCaptureSetting& WithCaptureNextStep(const DialogState& value) { SetCaptureNextStep(value); return *this;}
65 inline SlotCaptureSetting& WithCaptureNextStep(DialogState&& value) { SetCaptureNextStep(std::move(value)); return *this;}
67
69
73 inline const ConditionalSpecification& GetCaptureConditional() const{ return m_captureConditional; }
74 inline bool CaptureConditionalHasBeenSet() const { return m_captureConditionalHasBeenSet; }
75 inline void SetCaptureConditional(const ConditionalSpecification& value) { m_captureConditionalHasBeenSet = true; m_captureConditional = value; }
76 inline void SetCaptureConditional(ConditionalSpecification&& value) { m_captureConditionalHasBeenSet = true; m_captureConditional = std::move(value); }
80
82
83 inline const ResponseSpecification& GetFailureResponse() const{ return m_failureResponse; }
84 inline bool FailureResponseHasBeenSet() const { return m_failureResponseHasBeenSet; }
85 inline void SetFailureResponse(const ResponseSpecification& value) { m_failureResponseHasBeenSet = true; m_failureResponse = value; }
86 inline void SetFailureResponse(ResponseSpecification&& value) { m_failureResponseHasBeenSet = true; m_failureResponse = std::move(value); }
88 inline SlotCaptureSetting& WithFailureResponse(ResponseSpecification&& value) { SetFailureResponse(std::move(value)); return *this;}
90
92
96 inline const DialogState& GetFailureNextStep() const{ return m_failureNextStep; }
97 inline bool FailureNextStepHasBeenSet() const { return m_failureNextStepHasBeenSet; }
98 inline void SetFailureNextStep(const DialogState& value) { m_failureNextStepHasBeenSet = true; m_failureNextStep = value; }
99 inline void SetFailureNextStep(DialogState&& value) { m_failureNextStepHasBeenSet = true; m_failureNextStep = std::move(value); }
100 inline SlotCaptureSetting& WithFailureNextStep(const DialogState& value) { SetFailureNextStep(value); return *this;}
101 inline SlotCaptureSetting& WithFailureNextStep(DialogState&& value) { SetFailureNextStep(std::move(value)); return *this;}
103
105
109 inline const ConditionalSpecification& GetFailureConditional() const{ return m_failureConditional; }
110 inline bool FailureConditionalHasBeenSet() const { return m_failureConditionalHasBeenSet; }
111 inline void SetFailureConditional(const ConditionalSpecification& value) { m_failureConditionalHasBeenSet = true; m_failureConditional = value; }
112 inline void SetFailureConditional(ConditionalSpecification&& value) { m_failureConditionalHasBeenSet = true; m_failureConditional = std::move(value); }
116
118
121 inline const DialogCodeHookInvocationSetting& GetCodeHook() const{ return m_codeHook; }
122 inline bool CodeHookHasBeenSet() const { return m_codeHookHasBeenSet; }
123 inline void SetCodeHook(const DialogCodeHookInvocationSetting& value) { m_codeHookHasBeenSet = true; m_codeHook = value; }
124 inline void SetCodeHook(DialogCodeHookInvocationSetting&& value) { m_codeHookHasBeenSet = true; m_codeHook = std::move(value); }
125 inline SlotCaptureSetting& WithCodeHook(const DialogCodeHookInvocationSetting& value) { SetCodeHook(value); return *this;}
126 inline SlotCaptureSetting& WithCodeHook(DialogCodeHookInvocationSetting&& value) { SetCodeHook(std::move(value)); return *this;}
128
130
133 inline const ElicitationCodeHookInvocationSetting& GetElicitationCodeHook() const{ return m_elicitationCodeHook; }
134 inline bool ElicitationCodeHookHasBeenSet() const { return m_elicitationCodeHookHasBeenSet; }
135 inline void SetElicitationCodeHook(const ElicitationCodeHookInvocationSetting& value) { m_elicitationCodeHookHasBeenSet = true; m_elicitationCodeHook = value; }
136 inline void SetElicitationCodeHook(ElicitationCodeHookInvocationSetting&& value) { m_elicitationCodeHookHasBeenSet = true; m_elicitationCodeHook = std::move(value); }
140 private:
141
142 ResponseSpecification m_captureResponse;
143 bool m_captureResponseHasBeenSet = false;
144
145 DialogState m_captureNextStep;
146 bool m_captureNextStepHasBeenSet = false;
147
148 ConditionalSpecification m_captureConditional;
149 bool m_captureConditionalHasBeenSet = false;
150
151 ResponseSpecification m_failureResponse;
152 bool m_failureResponseHasBeenSet = false;
153
154 DialogState m_failureNextStep;
155 bool m_failureNextStepHasBeenSet = false;
156
157 ConditionalSpecification m_failureConditional;
158 bool m_failureConditionalHasBeenSet = false;
159
161 bool m_codeHookHasBeenSet = false;
162
163 ElicitationCodeHookInvocationSetting m_elicitationCodeHook;
164 bool m_elicitationCodeHookHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace LexModelsV2
169} // namespace Aws
SlotCaptureSetting & WithFailureResponse(const ResponseSpecification &value)
void SetCaptureResponse(const ResponseSpecification &value)
void SetCaptureResponse(ResponseSpecification &&value)
void SetCodeHook(DialogCodeHookInvocationSetting &&value)
void SetElicitationCodeHook(const ElicitationCodeHookInvocationSetting &value)
AWS_LEXMODELSV2_API SlotCaptureSetting(Aws::Utils::Json::JsonView jsonValue)
const ConditionalSpecification & GetCaptureConditional() const
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
SlotCaptureSetting & WithFailureNextStep(const DialogState &value)
SlotCaptureSetting & WithElicitationCodeHook(ElicitationCodeHookInvocationSetting &&value)
void SetFailureNextStep(const DialogState &value)
const ResponseSpecification & GetCaptureResponse() const
SlotCaptureSetting & WithCodeHook(const DialogCodeHookInvocationSetting &value)
SlotCaptureSetting & WithFailureNextStep(DialogState &&value)
SlotCaptureSetting & WithCaptureResponse(const ResponseSpecification &value)
void SetCodeHook(const DialogCodeHookInvocationSetting &value)
void SetFailureConditional(const ConditionalSpecification &value)
void SetCaptureNextStep(const DialogState &value)
const ElicitationCodeHookInvocationSetting & GetElicitationCodeHook() const
SlotCaptureSetting & WithFailureResponse(ResponseSpecification &&value)
SlotCaptureSetting & WithCodeHook(DialogCodeHookInvocationSetting &&value)
AWS_LEXMODELSV2_API SlotCaptureSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetElicitationCodeHook(ElicitationCodeHookInvocationSetting &&value)
const DialogCodeHookInvocationSetting & GetCodeHook() const
void SetFailureResponse(const ResponseSpecification &value)
SlotCaptureSetting & WithCaptureNextStep(const DialogState &value)
SlotCaptureSetting & WithFailureConditional(ConditionalSpecification &&value)
SlotCaptureSetting & WithFailureConditional(const ConditionalSpecification &value)
SlotCaptureSetting & WithCaptureConditional(ConditionalSpecification &&value)
void SetFailureResponse(ResponseSpecification &&value)
SlotCaptureSetting & WithCaptureResponse(ResponseSpecification &&value)
SlotCaptureSetting & WithCaptureConditional(const ConditionalSpecification &value)
SlotCaptureSetting & WithCaptureNextStep(DialogState &&value)
void SetCaptureConditional(const ConditionalSpecification &value)
const ConditionalSpecification & GetFailureConditional() const
void SetFailureConditional(ConditionalSpecification &&value)
const ResponseSpecification & GetFailureResponse() const
void SetCaptureConditional(ConditionalSpecification &&value)
SlotCaptureSetting & WithElicitationCodeHook(const ElicitationCodeHookInvocationSetting &value)
Aws::Utils::Json::JsonValue JsonValue