AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SubSlotValueElicitationSetting.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/PromptSpecification.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/lexv2-models/model/WaitAndContinueSpecification.h>
12#include <aws/lexv2-models/model/SampleUtterance.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
43 {
44 public:
45 AWS_LEXMODELSV2_API SubSlotValueElicitationSetting();
48 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
53 inline const SlotDefaultValueSpecification& GetDefaultValueSpecification() const{ return m_defaultValueSpecification; }
54 inline bool DefaultValueSpecificationHasBeenSet() const { return m_defaultValueSpecificationHasBeenSet; }
55 inline void SetDefaultValueSpecification(const SlotDefaultValueSpecification& value) { m_defaultValueSpecificationHasBeenSet = true; m_defaultValueSpecification = value; }
56 inline void SetDefaultValueSpecification(SlotDefaultValueSpecification&& value) { m_defaultValueSpecificationHasBeenSet = true; m_defaultValueSpecification = std::move(value); }
60
62
63 inline const PromptSpecification& GetPromptSpecification() const{ return m_promptSpecification; }
64 inline bool PromptSpecificationHasBeenSet() const { return m_promptSpecificationHasBeenSet; }
65 inline void SetPromptSpecification(const PromptSpecification& value) { m_promptSpecificationHasBeenSet = true; m_promptSpecification = value; }
66 inline void SetPromptSpecification(PromptSpecification&& value) { m_promptSpecificationHasBeenSet = true; m_promptSpecification = std::move(value); }
70
72
78 inline const Aws::Vector<SampleUtterance>& GetSampleUtterances() const{ return m_sampleUtterances; }
79 inline bool SampleUtterancesHasBeenSet() const { return m_sampleUtterancesHasBeenSet; }
80 inline void SetSampleUtterances(const Aws::Vector<SampleUtterance>& value) { m_sampleUtterancesHasBeenSet = true; m_sampleUtterances = value; }
81 inline void SetSampleUtterances(Aws::Vector<SampleUtterance>&& value) { m_sampleUtterancesHasBeenSet = true; m_sampleUtterances = std::move(value); }
84 inline SubSlotValueElicitationSetting& AddSampleUtterances(const SampleUtterance& value) { m_sampleUtterancesHasBeenSet = true; m_sampleUtterances.push_back(value); return *this; }
85 inline SubSlotValueElicitationSetting& AddSampleUtterances(SampleUtterance&& value) { m_sampleUtterancesHasBeenSet = true; m_sampleUtterances.push_back(std::move(value)); return *this; }
87
89
90 inline const WaitAndContinueSpecification& GetWaitAndContinueSpecification() const{ return m_waitAndContinueSpecification; }
91 inline bool WaitAndContinueSpecificationHasBeenSet() const { return m_waitAndContinueSpecificationHasBeenSet; }
92 inline void SetWaitAndContinueSpecification(const WaitAndContinueSpecification& value) { m_waitAndContinueSpecificationHasBeenSet = true; m_waitAndContinueSpecification = value; }
93 inline void SetWaitAndContinueSpecification(WaitAndContinueSpecification&& value) { m_waitAndContinueSpecificationHasBeenSet = true; m_waitAndContinueSpecification = std::move(value); }
97 private:
98
99 SlotDefaultValueSpecification m_defaultValueSpecification;
100 bool m_defaultValueSpecificationHasBeenSet = false;
101
102 PromptSpecification m_promptSpecification;
103 bool m_promptSpecificationHasBeenSet = false;
104
105 Aws::Vector<SampleUtterance> m_sampleUtterances;
106 bool m_sampleUtterancesHasBeenSet = false;
107
108 WaitAndContinueSpecification m_waitAndContinueSpecification;
109 bool m_waitAndContinueSpecificationHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace LexModelsV2
114} // namespace Aws
const SlotDefaultValueSpecification & GetDefaultValueSpecification() const
SubSlotValueElicitationSetting & AddSampleUtterances(SampleUtterance &&value)
void SetWaitAndContinueSpecification(WaitAndContinueSpecification &&value)
SubSlotValueElicitationSetting & WithSampleUtterances(const Aws::Vector< SampleUtterance > &value)
void SetWaitAndContinueSpecification(const WaitAndContinueSpecification &value)
void SetSampleUtterances(Aws::Vector< SampleUtterance > &&value)
void SetDefaultValueSpecification(SlotDefaultValueSpecification &&value)
AWS_LEXMODELSV2_API SubSlotValueElicitationSetting(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
SubSlotValueElicitationSetting & AddSampleUtterances(const SampleUtterance &value)
void SetDefaultValueSpecification(const SlotDefaultValueSpecification &value)
SubSlotValueElicitationSetting & WithDefaultValueSpecification(SlotDefaultValueSpecification &&value)
const WaitAndContinueSpecification & GetWaitAndContinueSpecification() const
SubSlotValueElicitationSetting & WithPromptSpecification(const PromptSpecification &value)
AWS_LEXMODELSV2_API SubSlotValueElicitationSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< SampleUtterance > & GetSampleUtterances() const
SubSlotValueElicitationSetting & WithPromptSpecification(PromptSpecification &&value)
SubSlotValueElicitationSetting & WithWaitAndContinueSpecification(WaitAndContinueSpecification &&value)
void SetSampleUtterances(const Aws::Vector< SampleUtterance > &value)
SubSlotValueElicitationSetting & WithSampleUtterances(Aws::Vector< SampleUtterance > &&value)
SubSlotValueElicitationSetting & WithDefaultValueSpecification(const SlotDefaultValueSpecification &value)
SubSlotValueElicitationSetting & WithWaitAndContinueSpecification(const WaitAndContinueSpecification &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue