/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Updates settings for the instant booking feature that are applied to a room
* profile. If instant booking is enabled, Alexa automatically reserves a room if
* it is free when a user joins a meeting with Alexa.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 UpdateInstantBooking& 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 UpdateInstantBooking& 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