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>
21namespace LexModelsV2 {
44 m_allowInterruptHasBeenSet =
true;
45 m_allowInterrupt = value;
59 template <
typename AllowedInputTypesT = AllowedInputTypes>
61 m_allowedInputTypesHasBeenSet =
true;
62 m_allowedInputTypes = std::forward<AllowedInputTypesT>(value);
64 template <
typename AllowedInputTypesT = AllowedInputTypes>
77 template <
typename AudioAndDTMFInputSpecificationT = AudioAndDTMFInputSpecification>
79 m_audioAndDTMFInputSpecificationHasBeenSet =
true;
80 m_audioAndDTMFInputSpecification = std::forward<AudioAndDTMFInputSpecificationT>(value);
82 template <
typename AudioAndDTMFInputSpecificationT = AudioAndDTMFInputSpecification>
95 template <
typename TextInputSpecificationT = TextInputSpecification>
97 m_textInputSpecificationHasBeenSet =
true;
98 m_textInputSpecification = std::forward<TextInputSpecificationT>(value);
100 template <
typename TextInputSpecificationT = TextInputSpecification>
107 bool m_allowInterrupt{
false};
109 AllowedInputTypes m_allowedInputTypes;
111 AudioAndDTMFInputSpecification m_audioAndDTMFInputSpecification;
113 TextInputSpecification m_textInputSpecification;
114 bool m_allowInterruptHasBeenSet =
false;
115 bool m_allowedInputTypesHasBeenSet =
false;
116 bool m_audioAndDTMFInputSpecificationHasBeenSet =
false;
117 bool m_textInputSpecificationHasBeenSet =
false;
PromptAttemptSpecification & WithTextInputSpecification(TextInputSpecificationT &&value)
bool AudioAndDTMFInputSpecificationHasBeenSet() const
PromptAttemptSpecification & WithAllowInterrupt(bool value)
const TextInputSpecification & GetTextInputSpecification() const
void SetAudioAndDTMFInputSpecification(AudioAndDTMFInputSpecificationT &&value)
void SetAllowInterrupt(bool value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
const AudioAndDTMFInputSpecification & GetAudioAndDTMFInputSpecification() const
void SetAllowedInputTypes(AllowedInputTypesT &&value)
PromptAttemptSpecification & WithAllowedInputTypes(AllowedInputTypesT &&value)
void SetTextInputSpecification(TextInputSpecificationT &&value)
PromptAttemptSpecification & WithAudioAndDTMFInputSpecification(AudioAndDTMFInputSpecificationT &&value)
AWS_LEXMODELSV2_API PromptAttemptSpecification()=default
bool AllowInterruptHasBeenSet() const
AWS_LEXMODELSV2_API PromptAttemptSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
const AllowedInputTypes & GetAllowedInputTypes() const
bool AllowedInputTypesHasBeenSet() const
bool GetAllowInterrupt() const
bool TextInputSpecificationHasBeenSet() const
AWS_LEXMODELSV2_API PromptAttemptSpecification(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue