/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides settings for a message that is sent to the user when a fulfillment
* Lambda function starts running.See Also:
AWS
* API Reference
The delay between when the Lambda fulfillment function starts running and the * start message is played. If the Lambda function returns before the delay is * over, the start message isn't played.
*/ inline int GetDelayInSeconds() const{ return m_delayInSeconds; } /** *The delay between when the Lambda fulfillment function starts running and the * start message is played. If the Lambda function returns before the delay is * over, the start message isn't played.
*/ inline bool DelayInSecondsHasBeenSet() const { return m_delayInSecondsHasBeenSet; } /** *The delay between when the Lambda fulfillment function starts running and the * start message is played. If the Lambda function returns before the delay is * over, the start message isn't played.
*/ inline void SetDelayInSeconds(int value) { m_delayInSecondsHasBeenSet = true; m_delayInSeconds = value; } /** *The delay between when the Lambda fulfillment function starts running and the * start message is played. If the Lambda function returns before the delay is * over, the start message isn't played.
*/ inline FulfillmentStartResponseSpecification& WithDelayInSeconds(int value) { SetDelayInSeconds(value); return *this;} /** *1 - 5 message groups that contain start messages. Amazon Lex chooses one of * the messages to play to the user.
*/ inline const Aws::Vector1 - 5 message groups that contain start messages. Amazon Lex chooses one of * the messages to play to the user.
*/ inline bool MessageGroupsHasBeenSet() const { return m_messageGroupsHasBeenSet; } /** *1 - 5 message groups that contain start messages. Amazon Lex chooses one of * the messages to play to the user.
*/ inline void SetMessageGroups(const Aws::Vector1 - 5 message groups that contain start messages. Amazon Lex chooses one of * the messages to play to the user.
*/ inline void SetMessageGroups(Aws::Vector1 - 5 message groups that contain start messages. Amazon Lex chooses one of * the messages to play to the user.
*/ inline FulfillmentStartResponseSpecification& WithMessageGroups(const Aws::Vector1 - 5 message groups that contain start messages. Amazon Lex chooses one of * the messages to play to the user.
*/ inline FulfillmentStartResponseSpecification& WithMessageGroups(Aws::Vector1 - 5 message groups that contain start messages. Amazon Lex chooses one of * the messages to play to the user.
*/ inline FulfillmentStartResponseSpecification& AddMessageGroups(const MessageGroup& value) { m_messageGroupsHasBeenSet = true; m_messageGroups.push_back(value); return *this; } /** *1 - 5 message groups that contain start messages. Amazon Lex chooses one of * the messages to play to the user.
*/ inline FulfillmentStartResponseSpecification& AddMessageGroups(MessageGroup&& value) { m_messageGroupsHasBeenSet = true; m_messageGroups.push_back(std::move(value)); return *this; } /** *Determines whether the user can interrupt the start message while it is * playing.
*/ inline bool GetAllowInterrupt() const{ return m_allowInterrupt; } /** *Determines whether the user can interrupt the start message while it is * playing.
*/ inline bool AllowInterruptHasBeenSet() const { return m_allowInterruptHasBeenSet; } /** *Determines whether the user can interrupt the start message while it is * playing.
*/ inline void SetAllowInterrupt(bool value) { m_allowInterruptHasBeenSet = true; m_allowInterrupt = value; } /** *Determines whether the user can interrupt the start message while it is * playing.
*/ inline FulfillmentStartResponseSpecification& WithAllowInterrupt(bool value) { SetAllowInterrupt(value); return *this;} private: int m_delayInSeconds; bool m_delayInSecondsHasBeenSet = false; Aws::Vector