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>
49 inline void SetAllowInterrupt(
bool value) { m_allowInterruptHasBeenSet =
true; m_allowInterrupt = value; }
59 template<
typename AllowedInputTypesT = AllowedInputTypes>
60 void SetAllowedInputTypes(AllowedInputTypesT&& value) { m_allowedInputTypesHasBeenSet =
true; m_allowedInputTypes = std::forward<AllowedInputTypesT>(value); }
61 template<
typename AllowedInputTypesT = AllowedInputTypes>
71 template<
typename AudioAndDTMFInputSpecificationT = AudioAndDTMFInputSpecification>
72 void SetAudioAndDTMFInputSpecification(AudioAndDTMFInputSpecificationT&& value) { m_audioAndDTMFInputSpecificationHasBeenSet =
true; m_audioAndDTMFInputSpecification = std::forward<AudioAndDTMFInputSpecificationT>(value); }
73 template<
typename AudioAndDTMFInputSpecificationT = AudioAndDTMFInputSpecification>
83 template<
typename TextInputSpecificationT = TextInputSpecification>
84 void SetTextInputSpecification(TextInputSpecificationT&& value) { m_textInputSpecificationHasBeenSet =
true; m_textInputSpecification = std::forward<TextInputSpecificationT>(value); }
85 template<
typename TextInputSpecificationT = TextInputSpecification>
90 bool m_allowInterrupt{
false};
91 bool m_allowInterruptHasBeenSet =
false;
93 AllowedInputTypes m_allowedInputTypes;
94 bool m_allowedInputTypesHasBeenSet =
false;
96 AudioAndDTMFInputSpecification m_audioAndDTMFInputSpecification;
97 bool m_audioAndDTMFInputSpecificationHasBeenSet =
false;
99 TextInputSpecification m_textInputSpecification;
100 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