/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Defines the messages that Amazon Lex sends to a user to remind them that the
* bot is waiting for a response.See Also:
AWS
* API Reference
One or more message groups, each containing one or more messages, that define * the prompts that Amazon Lex sends to the user.
*/ inline const Aws::VectorOne or more message groups, each containing one or more messages, that define * the prompts that Amazon Lex sends to the user.
*/ inline bool MessageGroupsHasBeenSet() const { return m_messageGroupsHasBeenSet; } /** *One or more message groups, each containing one or more messages, that define * the prompts that Amazon Lex sends to the user.
*/ inline void SetMessageGroups(const Aws::VectorOne or more message groups, each containing one or more messages, that define * the prompts that Amazon Lex sends to the user.
*/ inline void SetMessageGroups(Aws::VectorOne or more message groups, each containing one or more messages, that define * the prompts that Amazon Lex sends to the user.
*/ inline StillWaitingResponseSpecification& WithMessageGroups(const Aws::VectorOne or more message groups, each containing one or more messages, that define * the prompts that Amazon Lex sends to the user.
*/ inline StillWaitingResponseSpecification& WithMessageGroups(Aws::VectorOne or more message groups, each containing one or more messages, that define * the prompts that Amazon Lex sends to the user.
*/ inline StillWaitingResponseSpecification& AddMessageGroups(const MessageGroup& value) { m_messageGroupsHasBeenSet = true; m_messageGroups.push_back(value); return *this; } /** *One or more message groups, each containing one or more messages, that define * the prompts that Amazon Lex sends to the user.
*/ inline StillWaitingResponseSpecification& AddMessageGroups(MessageGroup&& value) { m_messageGroupsHasBeenSet = true; m_messageGroups.push_back(std::move(value)); return *this; } /** *How often a message should be sent to the user. Minimum of 1 second, maximum * of 5 minutes.
*/ inline int GetFrequencyInSeconds() const{ return m_frequencyInSeconds; } /** *How often a message should be sent to the user. Minimum of 1 second, maximum * of 5 minutes.
*/ inline bool FrequencyInSecondsHasBeenSet() const { return m_frequencyInSecondsHasBeenSet; } /** *How often a message should be sent to the user. Minimum of 1 second, maximum * of 5 minutes.
*/ inline void SetFrequencyInSeconds(int value) { m_frequencyInSecondsHasBeenSet = true; m_frequencyInSeconds = value; } /** *How often a message should be sent to the user. Minimum of 1 second, maximum * of 5 minutes.
*/ inline StillWaitingResponseSpecification& WithFrequencyInSeconds(int value) { SetFrequencyInSeconds(value); return *this;} /** *If Amazon Lex waits longer than this length of time for a response, it will * stop sending messages.
*/ inline int GetTimeoutInSeconds() const{ return m_timeoutInSeconds; } /** *If Amazon Lex waits longer than this length of time for a response, it will * stop sending messages.
*/ inline bool TimeoutInSecondsHasBeenSet() const { return m_timeoutInSecondsHasBeenSet; } /** *If Amazon Lex waits longer than this length of time for a response, it will * stop sending messages.
*/ inline void SetTimeoutInSeconds(int value) { m_timeoutInSecondsHasBeenSet = true; m_timeoutInSeconds = value; } /** *If Amazon Lex waits longer than this length of time for a response, it will * stop sending messages.
*/ inline StillWaitingResponseSpecification& WithTimeoutInSeconds(int value) { SetTimeoutInSeconds(value); return *this;} /** *Indicates that the user can interrupt the response by speaking while the * message is being played.
*/ inline bool GetAllowInterrupt() const{ return m_allowInterrupt; } /** *Indicates that the user can interrupt the response by speaking while the * message is being played.
*/ inline bool AllowInterruptHasBeenSet() const { return m_allowInterruptHasBeenSet; } /** *Indicates that the user can interrupt the response by speaking while the * message is being played.
*/ inline void SetAllowInterrupt(bool value) { m_allowInterruptHasBeenSet = true; m_allowInterrupt = value; } /** *Indicates that the user can interrupt the response by speaking while the * message is being played.
*/ inline StillWaitingResponseSpecification& WithAllowInterrupt(bool value) { SetAllowInterrupt(value); return *this;} private: Aws::Vector