/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Settings for the instant booking feature that are applied to a room profile.
* When users start their meeting with Alexa, Alexa automatically books the room
* for the configured duration if the room is available.See Also:
* AWS
* API Reference
Duration between 15 and 240 minutes at increments of 15 that determines how * long to book an available room when a meeting is started with Alexa.
*/ inline int GetDurationInMinutes() const{ return m_durationInMinutes; } /** *Duration between 15 and 240 minutes at increments of 15 that determines how * long to book an available room when a meeting is started with Alexa.
*/ inline bool DurationInMinutesHasBeenSet() const { return m_durationInMinutesHasBeenSet; } /** *Duration between 15 and 240 minutes at increments of 15 that determines how * long to book an available room when a meeting is started with Alexa.
*/ inline void SetDurationInMinutes(int value) { m_durationInMinutesHasBeenSet = true; m_durationInMinutes = value; } /** *Duration between 15 and 240 minutes at increments of 15 that determines how * long to book an available room when a meeting is started with Alexa.
*/ inline InstantBooking& WithDurationInMinutes(int value) { SetDurationInMinutes(value); return *this;} /** *Whether instant booking is enabled or not.
*/ inline bool GetEnabled() const{ return m_enabled; } /** *Whether instant booking is enabled or not.
*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *Whether instant booking is enabled or not.
*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *Whether instant booking is enabled or not.
*/ inline InstantBooking& WithEnabled(bool value) { SetEnabled(value); return *this;} private: int m_durationInMinutes; bool m_durationInMinutesHasBeenSet = false; bool m_enabled; bool m_enabledHasBeenSet = false; }; } // namespace Model } // namespace AlexaForBusiness } // namespace Aws