AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BorrowConfiguration.h
1
6#pragma once
7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LicenseManager
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_LICENSEMANAGER_API BorrowConfiguration();
33 AWS_LICENSEMANAGER_API BorrowConfiguration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_LICENSEMANAGER_API BorrowConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline bool GetAllowEarlyCheckIn() const{ return m_allowEarlyCheckIn; }
43 inline bool AllowEarlyCheckInHasBeenSet() const { return m_allowEarlyCheckInHasBeenSet; }
44 inline void SetAllowEarlyCheckIn(bool value) { m_allowEarlyCheckInHasBeenSet = true; m_allowEarlyCheckIn = value; }
45 inline BorrowConfiguration& WithAllowEarlyCheckIn(bool value) { SetAllowEarlyCheckIn(value); return *this;}
47
49
52 inline int GetMaxTimeToLiveInMinutes() const{ return m_maxTimeToLiveInMinutes; }
53 inline bool MaxTimeToLiveInMinutesHasBeenSet() const { return m_maxTimeToLiveInMinutesHasBeenSet; }
54 inline void SetMaxTimeToLiveInMinutes(int value) { m_maxTimeToLiveInMinutesHasBeenSet = true; m_maxTimeToLiveInMinutes = value; }
57 private:
58
59 bool m_allowEarlyCheckIn;
60 bool m_allowEarlyCheckInHasBeenSet = false;
61
62 int m_maxTimeToLiveInMinutes;
63 bool m_maxTimeToLiveInMinutesHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace LicenseManager
68} // namespace Aws
AWS_LICENSEMANAGER_API BorrowConfiguration(Aws::Utils::Json::JsonView jsonValue)
BorrowConfiguration & WithMaxTimeToLiveInMinutes(int value)
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
BorrowConfiguration & WithAllowEarlyCheckIn(bool value)
AWS_LICENSEMANAGER_API BorrowConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue