/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies a list of message groups that Amazon Lex sends to a user to elicit
* a response.See Also:
AWS
* API Reference
A collection of messages that Amazon Lex can send to the user. Amazon Lex * chooses the actual message to send at runtime.
*/ inline const Aws::VectorA collection of messages that Amazon Lex can send to the user. Amazon Lex * chooses the actual message to send at runtime.
*/ inline bool MessageGroupsHasBeenSet() const { return m_messageGroupsHasBeenSet; } /** *A collection of messages that Amazon Lex can send to the user. Amazon Lex * chooses the actual message to send at runtime.
*/ inline void SetMessageGroups(const Aws::VectorA collection of messages that Amazon Lex can send to the user. Amazon Lex * chooses the actual message to send at runtime.
*/ inline void SetMessageGroups(Aws::VectorA collection of messages that Amazon Lex can send to the user. Amazon Lex * chooses the actual message to send at runtime.
*/ inline PromptSpecification& WithMessageGroups(const Aws::VectorA collection of messages that Amazon Lex can send to the user. Amazon Lex * chooses the actual message to send at runtime.
*/ inline PromptSpecification& WithMessageGroups(Aws::VectorA collection of messages that Amazon Lex can send to the user. Amazon Lex * chooses the actual message to send at runtime.
*/ inline PromptSpecification& AddMessageGroups(const MessageGroup& value) { m_messageGroupsHasBeenSet = true; m_messageGroups.push_back(value); return *this; } /** *A collection of messages that Amazon Lex can send to the user. Amazon Lex * chooses the actual message to send at runtime.
*/ inline PromptSpecification& AddMessageGroups(MessageGroup&& value) { m_messageGroupsHasBeenSet = true; m_messageGroups.push_back(std::move(value)); return *this; } /** *The maximum number of times the bot tries to elicit a response from the user * using this prompt.
*/ inline int GetMaxRetries() const{ return m_maxRetries; } /** *The maximum number of times the bot tries to elicit a response from the user * using this prompt.
*/ inline bool MaxRetriesHasBeenSet() const { return m_maxRetriesHasBeenSet; } /** *The maximum number of times the bot tries to elicit a response from the user * using this prompt.
*/ inline void SetMaxRetries(int value) { m_maxRetriesHasBeenSet = true; m_maxRetries = value; } /** *The maximum number of times the bot tries to elicit a response from the user * using this prompt.
*/ inline PromptSpecification& WithMaxRetries(int value) { SetMaxRetries(value); return *this;} /** *Indicates whether the user can interrupt a speech prompt from the bot.
*/ inline bool GetAllowInterrupt() const{ return m_allowInterrupt; } /** *Indicates whether the user can interrupt a speech prompt from the bot.
*/ inline bool AllowInterruptHasBeenSet() const { return m_allowInterruptHasBeenSet; } /** *Indicates whether the user can interrupt a speech prompt from the bot.
*/ inline void SetAllowInterrupt(bool value) { m_allowInterruptHasBeenSet = true; m_allowInterrupt = value; } /** *Indicates whether the user can interrupt a speech prompt from the bot.
*/ inline PromptSpecification& WithAllowInterrupt(bool value) { SetAllowInterrupt(value); return *this;} /** *Indicates how a message is selected from a message group among retries.
*/ inline const MessageSelectionStrategy& GetMessageSelectionStrategy() const{ return m_messageSelectionStrategy; } /** *Indicates how a message is selected from a message group among retries.
*/ inline bool MessageSelectionStrategyHasBeenSet() const { return m_messageSelectionStrategyHasBeenSet; } /** *Indicates how a message is selected from a message group among retries.
*/ inline void SetMessageSelectionStrategy(const MessageSelectionStrategy& value) { m_messageSelectionStrategyHasBeenSet = true; m_messageSelectionStrategy = value; } /** *Indicates how a message is selected from a message group among retries.
*/ inline void SetMessageSelectionStrategy(MessageSelectionStrategy&& value) { m_messageSelectionStrategyHasBeenSet = true; m_messageSelectionStrategy = std::move(value); } /** *Indicates how a message is selected from a message group among retries.
*/ inline PromptSpecification& WithMessageSelectionStrategy(const MessageSelectionStrategy& value) { SetMessageSelectionStrategy(value); return *this;} /** *Indicates how a message is selected from a message group among retries.
*/ inline PromptSpecification& WithMessageSelectionStrategy(MessageSelectionStrategy&& value) { SetMessageSelectionStrategy(std::move(value)); return *this;} /** *Specifies the advanced settings on each attempt of the prompt.
*/ inline const Aws::MapSpecifies the advanced settings on each attempt of the prompt.
*/ inline bool PromptAttemptsSpecificationHasBeenSet() const { return m_promptAttemptsSpecificationHasBeenSet; } /** *Specifies the advanced settings on each attempt of the prompt.
*/ inline void SetPromptAttemptsSpecification(const Aws::MapSpecifies the advanced settings on each attempt of the prompt.
*/ inline void SetPromptAttemptsSpecification(Aws::MapSpecifies the advanced settings on each attempt of the prompt.
*/ inline PromptSpecification& WithPromptAttemptsSpecification(const Aws::MapSpecifies the advanced settings on each attempt of the prompt.
*/ inline PromptSpecification& WithPromptAttemptsSpecification(Aws::MapSpecifies the advanced settings on each attempt of the prompt.
*/ inline PromptSpecification& AddPromptAttemptsSpecification(const PromptAttempt& key, const PromptAttemptSpecification& value) { m_promptAttemptsSpecificationHasBeenSet = true; m_promptAttemptsSpecification.emplace(key, value); return *this; } /** *Specifies the advanced settings on each attempt of the prompt.
*/ inline PromptSpecification& AddPromptAttemptsSpecification(PromptAttempt&& key, const PromptAttemptSpecification& value) { m_promptAttemptsSpecificationHasBeenSet = true; m_promptAttemptsSpecification.emplace(std::move(key), value); return *this; } /** *Specifies the advanced settings on each attempt of the prompt.
*/ inline PromptSpecification& AddPromptAttemptsSpecification(const PromptAttempt& key, PromptAttemptSpecification&& value) { m_promptAttemptsSpecificationHasBeenSet = true; m_promptAttemptsSpecification.emplace(key, std::move(value)); return *this; } /** *Specifies the advanced settings on each attempt of the prompt.
*/ inline PromptSpecification& AddPromptAttemptsSpecification(PromptAttempt&& key, PromptAttemptSpecification&& value) { m_promptAttemptsSpecificationHasBeenSet = true; m_promptAttemptsSpecification.emplace(std::move(key), std::move(value)); return *this; } private: Aws::Vector