AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
BorrowConfiguration.h
1
6#pragma once
7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace LicenseManager {
17namespace Model {
18
25 public:
26 AWS_LICENSEMANAGER_API BorrowConfiguration() = default;
27 AWS_LICENSEMANAGER_API BorrowConfiguration(Aws::Utils::Json::JsonView jsonValue);
28 AWS_LICENSEMANAGER_API BorrowConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
29 AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline bool GetAllowEarlyCheckIn() const { return m_allowEarlyCheckIn; }
36 inline bool AllowEarlyCheckInHasBeenSet() const { return m_allowEarlyCheckInHasBeenSet; }
37 inline void SetAllowEarlyCheckIn(bool value) {
38 m_allowEarlyCheckInHasBeenSet = true;
39 m_allowEarlyCheckIn = value;
40 }
43 return *this;
44 }
46
48
51 inline int GetMaxTimeToLiveInMinutes() const { return m_maxTimeToLiveInMinutes; }
52 inline bool MaxTimeToLiveInMinutesHasBeenSet() const { return m_maxTimeToLiveInMinutesHasBeenSet; }
53 inline void SetMaxTimeToLiveInMinutes(int value) {
54 m_maxTimeToLiveInMinutesHasBeenSet = true;
55 m_maxTimeToLiveInMinutes = value;
56 }
59 return *this;
60 }
62 private:
63 bool m_allowEarlyCheckIn{false};
64
65 int m_maxTimeToLiveInMinutes{0};
66 bool m_allowEarlyCheckInHasBeenSet = false;
67 bool m_maxTimeToLiveInMinutesHasBeenSet = false;
68};
69
70} // namespace Model
71} // namespace LicenseManager
72} // 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_LICENSEMANAGER_API BorrowConfiguration()=default
Aws::Utils::Json::JsonValue JsonValue