AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PromptAttemptSpecification.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/AllowedInputTypes.h>
9#include <aws/lexv2-models/model/AudioAndDTMFInputSpecification.h>
10#include <aws/lexv2-models/model/TextInputSpecification.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LexModelsV2
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_LEXMODELSV2_API PromptAttemptSpecification();
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline bool GetAllowInterrupt() const{ return m_allowInterrupt; }
48 inline bool AllowInterruptHasBeenSet() const { return m_allowInterruptHasBeenSet; }
49 inline void SetAllowInterrupt(bool value) { m_allowInterruptHasBeenSet = true; m_allowInterrupt = value; }
50 inline PromptAttemptSpecification& WithAllowInterrupt(bool value) { SetAllowInterrupt(value); return *this;}
52
54
57 inline const AllowedInputTypes& GetAllowedInputTypes() const{ return m_allowedInputTypes; }
58 inline bool AllowedInputTypesHasBeenSet() const { return m_allowedInputTypesHasBeenSet; }
59 inline void SetAllowedInputTypes(const AllowedInputTypes& value) { m_allowedInputTypesHasBeenSet = true; m_allowedInputTypes = value; }
60 inline void SetAllowedInputTypes(AllowedInputTypes&& value) { m_allowedInputTypesHasBeenSet = true; m_allowedInputTypes = std::move(value); }
64
66
69 inline const AudioAndDTMFInputSpecification& GetAudioAndDTMFInputSpecification() const{ return m_audioAndDTMFInputSpecification; }
70 inline bool AudioAndDTMFInputSpecificationHasBeenSet() const { return m_audioAndDTMFInputSpecificationHasBeenSet; }
71 inline void SetAudioAndDTMFInputSpecification(const AudioAndDTMFInputSpecification& value) { m_audioAndDTMFInputSpecificationHasBeenSet = true; m_audioAndDTMFInputSpecification = value; }
72 inline void SetAudioAndDTMFInputSpecification(AudioAndDTMFInputSpecification&& value) { m_audioAndDTMFInputSpecificationHasBeenSet = true; m_audioAndDTMFInputSpecification = std::move(value); }
76
78
81 inline const TextInputSpecification& GetTextInputSpecification() const{ return m_textInputSpecification; }
82 inline bool TextInputSpecificationHasBeenSet() const { return m_textInputSpecificationHasBeenSet; }
83 inline void SetTextInputSpecification(const TextInputSpecification& value) { m_textInputSpecificationHasBeenSet = true; m_textInputSpecification = value; }
84 inline void SetTextInputSpecification(TextInputSpecification&& value) { m_textInputSpecificationHasBeenSet = true; m_textInputSpecification = std::move(value); }
88 private:
89
90 bool m_allowInterrupt;
91 bool m_allowInterruptHasBeenSet = false;
92
93 AllowedInputTypes m_allowedInputTypes;
94 bool m_allowedInputTypesHasBeenSet = false;
95
96 AudioAndDTMFInputSpecification m_audioAndDTMFInputSpecification;
97 bool m_audioAndDTMFInputSpecificationHasBeenSet = false;
98
99 TextInputSpecification m_textInputSpecification;
100 bool m_textInputSpecificationHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace LexModelsV2
105} // namespace Aws
PromptAttemptSpecification & WithTextInputSpecification(TextInputSpecification &&value)
void SetTextInputSpecification(TextInputSpecification &&value)
PromptAttemptSpecification & WithAllowInterrupt(bool value)
const TextInputSpecification & GetTextInputSpecification() const
void SetAudioAndDTMFInputSpecification(const AudioAndDTMFInputSpecification &value)
PromptAttemptSpecification & WithAudioAndDTMFInputSpecification(const AudioAndDTMFInputSpecification &value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
const AudioAndDTMFInputSpecification & GetAudioAndDTMFInputSpecification() const
void SetAudioAndDTMFInputSpecification(AudioAndDTMFInputSpecification &&value)
void SetTextInputSpecification(const TextInputSpecification &value)
PromptAttemptSpecification & WithAllowedInputTypes(AllowedInputTypes &&value)
AWS_LEXMODELSV2_API PromptAttemptSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
PromptAttemptSpecification & WithTextInputSpecification(const TextInputSpecification &value)
PromptAttemptSpecification & WithAllowedInputTypes(const AllowedInputTypes &value)
PromptAttemptSpecification & WithAudioAndDTMFInputSpecification(AudioAndDTMFInputSpecification &&value)
AWS_LEXMODELSV2_API PromptAttemptSpecification(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue