/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace AlexaForBusiness { namespace Model { /** *

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

*/ class UpdateInstantBooking { public: AWS_ALEXAFORBUSINESS_API UpdateInstantBooking(); AWS_ALEXAFORBUSINESS_API UpdateInstantBooking(Aws::Utils::Json::JsonView jsonValue); AWS_ALEXAFORBUSINESS_API UpdateInstantBooking& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_ALEXAFORBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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