AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SlotValueElicitationSetting.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/SlotDefaultValueSpecification.h>
9#include <aws/lexv2-models/model/SlotConstraint.h>
10#include <aws/lexv2-models/model/PromptSpecification.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/lexv2-models/model/WaitAndContinueSpecification.h>
13#include <aws/lexv2-models/model/SlotCaptureSetting.h>
14#include <aws/lexv2-models/model/SlotResolutionSetting.h>
15#include <aws/lexv2-models/model/SampleUtterance.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace LexModelsV2
29{
30namespace Model
31{
32
40 {
41 public:
42 AWS_LEXMODELSV2_API SlotValueElicitationSetting();
45 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
54 inline const SlotDefaultValueSpecification& GetDefaultValueSpecification() const{ return m_defaultValueSpecification; }
55 inline bool DefaultValueSpecificationHasBeenSet() const { return m_defaultValueSpecificationHasBeenSet; }
56 inline void SetDefaultValueSpecification(const SlotDefaultValueSpecification& value) { m_defaultValueSpecificationHasBeenSet = true; m_defaultValueSpecification = value; }
57 inline void SetDefaultValueSpecification(SlotDefaultValueSpecification&& value) { m_defaultValueSpecificationHasBeenSet = true; m_defaultValueSpecification = std::move(value); }
61
63
66 inline const SlotConstraint& GetSlotConstraint() const{ return m_slotConstraint; }
67 inline bool SlotConstraintHasBeenSet() const { return m_slotConstraintHasBeenSet; }
68 inline void SetSlotConstraint(const SlotConstraint& value) { m_slotConstraintHasBeenSet = true; m_slotConstraint = value; }
69 inline void SetSlotConstraint(SlotConstraint&& value) { m_slotConstraintHasBeenSet = true; m_slotConstraint = std::move(value); }
71 inline SlotValueElicitationSetting& WithSlotConstraint(SlotConstraint&& value) { SetSlotConstraint(std::move(value)); return *this;}
73
75
78 inline const PromptSpecification& GetPromptSpecification() const{ return m_promptSpecification; }
79 inline bool PromptSpecificationHasBeenSet() const { return m_promptSpecificationHasBeenSet; }
80 inline void SetPromptSpecification(const PromptSpecification& value) { m_promptSpecificationHasBeenSet = true; m_promptSpecification = value; }
81 inline void SetPromptSpecification(PromptSpecification&& value) { m_promptSpecificationHasBeenSet = true; m_promptSpecification = std::move(value); }
85
87
93 inline const Aws::Vector<SampleUtterance>& GetSampleUtterances() const{ return m_sampleUtterances; }
94 inline bool SampleUtterancesHasBeenSet() const { return m_sampleUtterancesHasBeenSet; }
95 inline void SetSampleUtterances(const Aws::Vector<SampleUtterance>& value) { m_sampleUtterancesHasBeenSet = true; m_sampleUtterances = value; }
96 inline void SetSampleUtterances(Aws::Vector<SampleUtterance>&& value) { m_sampleUtterancesHasBeenSet = true; m_sampleUtterances = std::move(value); }
99 inline SlotValueElicitationSetting& AddSampleUtterances(const SampleUtterance& value) { m_sampleUtterancesHasBeenSet = true; m_sampleUtterances.push_back(value); return *this; }
100 inline SlotValueElicitationSetting& AddSampleUtterances(SampleUtterance&& value) { m_sampleUtterancesHasBeenSet = true; m_sampleUtterances.push_back(std::move(value)); return *this; }
102
104
105 inline const WaitAndContinueSpecification& GetWaitAndContinueSpecification() const{ return m_waitAndContinueSpecification; }
106 inline bool WaitAndContinueSpecificationHasBeenSet() const { return m_waitAndContinueSpecificationHasBeenSet; }
107 inline void SetWaitAndContinueSpecification(const WaitAndContinueSpecification& value) { m_waitAndContinueSpecificationHasBeenSet = true; m_waitAndContinueSpecification = value; }
108 inline void SetWaitAndContinueSpecification(WaitAndContinueSpecification&& value) { m_waitAndContinueSpecificationHasBeenSet = true; m_waitAndContinueSpecification = std::move(value); }
112
114
118 inline const SlotCaptureSetting& GetSlotCaptureSetting() const{ return m_slotCaptureSetting; }
119 inline bool SlotCaptureSettingHasBeenSet() const { return m_slotCaptureSettingHasBeenSet; }
120 inline void SetSlotCaptureSetting(const SlotCaptureSetting& value) { m_slotCaptureSettingHasBeenSet = true; m_slotCaptureSetting = value; }
121 inline void SetSlotCaptureSetting(SlotCaptureSetting&& value) { m_slotCaptureSettingHasBeenSet = true; m_slotCaptureSetting = std::move(value); }
125
127
131 inline const SlotResolutionSetting& GetSlotResolutionSetting() const{ return m_slotResolutionSetting; }
132 inline bool SlotResolutionSettingHasBeenSet() const { return m_slotResolutionSettingHasBeenSet; }
133 inline void SetSlotResolutionSetting(const SlotResolutionSetting& value) { m_slotResolutionSettingHasBeenSet = true; m_slotResolutionSetting = value; }
134 inline void SetSlotResolutionSetting(SlotResolutionSetting&& value) { m_slotResolutionSettingHasBeenSet = true; m_slotResolutionSetting = std::move(value); }
138 private:
139
140 SlotDefaultValueSpecification m_defaultValueSpecification;
141 bool m_defaultValueSpecificationHasBeenSet = false;
142
143 SlotConstraint m_slotConstraint;
144 bool m_slotConstraintHasBeenSet = false;
145
146 PromptSpecification m_promptSpecification;
147 bool m_promptSpecificationHasBeenSet = false;
148
149 Aws::Vector<SampleUtterance> m_sampleUtterances;
150 bool m_sampleUtterancesHasBeenSet = false;
151
152 WaitAndContinueSpecification m_waitAndContinueSpecification;
153 bool m_waitAndContinueSpecificationHasBeenSet = false;
154
155 SlotCaptureSetting m_slotCaptureSetting;
156 bool m_slotCaptureSettingHasBeenSet = false;
157
158 SlotResolutionSetting m_slotResolutionSetting;
159 bool m_slotResolutionSettingHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace LexModelsV2
164} // namespace Aws
void SetSampleUtterances(const Aws::Vector< SampleUtterance > &value)
SlotValueElicitationSetting & WithSlotResolutionSetting(const SlotResolutionSetting &value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
SlotValueElicitationSetting & WithSlotConstraint(const SlotConstraint &value)
SlotValueElicitationSetting & WithWaitAndContinueSpecification(WaitAndContinueSpecification &&value)
void SetSampleUtterances(Aws::Vector< SampleUtterance > &&value)
SlotValueElicitationSetting & WithSlotConstraint(SlotConstraint &&value)
SlotValueElicitationSetting & WithPromptSpecification(PromptSpecification &&value)
SlotValueElicitationSetting & WithPromptSpecification(const PromptSpecification &value)
SlotValueElicitationSetting & AddSampleUtterances(const SampleUtterance &value)
void SetWaitAndContinueSpecification(WaitAndContinueSpecification &&value)
const WaitAndContinueSpecification & GetWaitAndContinueSpecification() const
SlotValueElicitationSetting & AddSampleUtterances(SampleUtterance &&value)
void SetPromptSpecification(const PromptSpecification &value)
void SetDefaultValueSpecification(const SlotDefaultValueSpecification &value)
SlotValueElicitationSetting & WithSampleUtterances(const Aws::Vector< SampleUtterance > &value)
const SlotDefaultValueSpecification & GetDefaultValueSpecification() const
AWS_LEXMODELSV2_API SlotValueElicitationSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
SlotValueElicitationSetting & WithWaitAndContinueSpecification(const WaitAndContinueSpecification &value)
void SetDefaultValueSpecification(SlotDefaultValueSpecification &&value)
SlotValueElicitationSetting & WithDefaultValueSpecification(SlotDefaultValueSpecification &&value)
AWS_LEXMODELSV2_API SlotValueElicitationSetting(Aws::Utils::Json::JsonView jsonValue)
SlotValueElicitationSetting & WithDefaultValueSpecification(const SlotDefaultValueSpecification &value)
const Aws::Vector< SampleUtterance > & GetSampleUtterances() const
SlotValueElicitationSetting & WithSlotCaptureSetting(SlotCaptureSetting &&value)
SlotValueElicitationSetting & WithSlotResolutionSetting(SlotResolutionSetting &&value)
SlotValueElicitationSetting & WithSlotCaptureSetting(const SlotCaptureSetting &value)
void SetSlotResolutionSetting(const SlotResolutionSetting &value)
void SetWaitAndContinueSpecification(const WaitAndContinueSpecification &value)
SlotValueElicitationSetting & WithSampleUtterances(Aws::Vector< SampleUtterance > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue