/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about a borrow configuration.See Also:
AWS
* API Reference
Indicates whether early check-ins are allowed.
*/ inline bool GetAllowEarlyCheckIn() const{ return m_allowEarlyCheckIn; } /** *Indicates whether early check-ins are allowed.
*/ inline bool AllowEarlyCheckInHasBeenSet() const { return m_allowEarlyCheckInHasBeenSet; } /** *Indicates whether early check-ins are allowed.
*/ inline void SetAllowEarlyCheckIn(bool value) { m_allowEarlyCheckInHasBeenSet = true; m_allowEarlyCheckIn = value; } /** *Indicates whether early check-ins are allowed.
*/ inline BorrowConfiguration& WithAllowEarlyCheckIn(bool value) { SetAllowEarlyCheckIn(value); return *this;} /** *Maximum time for the borrow configuration, in minutes.
*/ inline int GetMaxTimeToLiveInMinutes() const{ return m_maxTimeToLiveInMinutes; } /** *Maximum time for the borrow configuration, in minutes.
*/ inline bool MaxTimeToLiveInMinutesHasBeenSet() const { return m_maxTimeToLiveInMinutesHasBeenSet; } /** *Maximum time for the borrow configuration, in minutes.
*/ inline void SetMaxTimeToLiveInMinutes(int value) { m_maxTimeToLiveInMinutesHasBeenSet = true; m_maxTimeToLiveInMinutes = value; } /** *Maximum time for the borrow configuration, in minutes.
*/ inline BorrowConfiguration& WithMaxTimeToLiveInMinutes(int value) { SetMaxTimeToLiveInMinutes(value); return *this;} private: bool m_allowEarlyCheckIn; bool m_allowEarlyCheckInHasBeenSet = false; int m_maxTimeToLiveInMinutes; bool m_maxTimeToLiveInMinutesHasBeenSet = false; }; } // namespace Model } // namespace LicenseManager } // namespace Aws