/** * 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 { /** *

Creates settings for the require check in feature that are applied to a room * profile. Require check in allows a meeting room’s Alexa or AVS device to prompt * the user to check in; otherwise, the room will be released.

See * Also:

AWS * API Reference

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

Duration between 5 and 20 minutes to determine when to release the room if * it's not checked into.

*/ inline int GetReleaseAfterMinutes() const{ return m_releaseAfterMinutes; } /** *

Duration between 5 and 20 minutes to determine when to release the room if * it's not checked into.

*/ inline bool ReleaseAfterMinutesHasBeenSet() const { return m_releaseAfterMinutesHasBeenSet; } /** *

Duration between 5 and 20 minutes to determine when to release the room if * it's not checked into.

*/ inline void SetReleaseAfterMinutes(int value) { m_releaseAfterMinutesHasBeenSet = true; m_releaseAfterMinutes = value; } /** *

Duration between 5 and 20 minutes to determine when to release the room if * it's not checked into.

*/ inline CreateRequireCheckIn& WithReleaseAfterMinutes(int value) { SetReleaseAfterMinutes(value); return *this;} /** *

Whether require check in is enabled or not.

*/ inline bool GetEnabled() const{ return m_enabled; } /** *

Whether require check in is enabled or not.

*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *

Whether require check in is enabled or not.

*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *

Whether require check in is enabled or not.

*/ inline CreateRequireCheckIn& WithEnabled(bool value) { SetEnabled(value); return *this;} private: int m_releaseAfterMinutes; bool m_releaseAfterMinutesHasBeenSet = false; bool m_enabled; bool m_enabledHasBeenSet = false; }; } // namespace Model } // namespace AlexaForBusiness } // namespace Aws