7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/license-manager/LicenseManager_EXPORTS.h>
9#include <aws/license-manager/model/EntitlementUnit.h>
20namespace LicenseManager {
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
60 template <
typename ValueT = Aws::String>
62 m_valueHasBeenSet =
true;
63 m_value = std::forward<ValueT>(value);
65 template <
typename ValueT = Aws::String>
67 SetValue(std::forward<ValueT>(value));
79 m_maxCountHasBeenSet =
true;
95 m_overageHasBeenSet =
true;
111 m_unitHasBeenSet =
true;
127 m_allowCheckInHasBeenSet =
true;
128 m_allowCheckIn = value;
140 long long m_maxCount{0};
142 bool m_overage{
false};
146 bool m_allowCheckIn{
false};
147 bool m_nameHasBeenSet =
false;
148 bool m_valueHasBeenSet =
false;
149 bool m_maxCountHasBeenSet =
false;
150 bool m_overageHasBeenSet =
false;
151 bool m_unitHasBeenSet =
false;
152 bool m_allowCheckInHasBeenSet =
false;
Entitlement & WithOverage(bool value)
Entitlement & WithMaxCount(long long value)
void SetMaxCount(long long value)
bool NameHasBeenSet() const
AWS_LICENSEMANAGER_API Entitlement & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LICENSEMANAGER_API Entitlement()=default
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUnit(EntitlementUnit value)
AWS_LICENSEMANAGER_API Entitlement(Aws::Utils::Json::JsonView jsonValue)
bool ValueHasBeenSet() const
bool UnitHasBeenSet() const
void SetAllowCheckIn(bool value)
bool MaxCountHasBeenSet() const
Entitlement & WithUnit(EntitlementUnit value)
void SetOverage(bool value)
const Aws::String & GetValue() const
EntitlementUnit GetUnit() const
void SetName(NameT &&value)
bool OverageHasBeenSet() const
Entitlement & WithAllowCheckIn(bool value)
const Aws::String & GetName() const
long long GetMaxCount() const
bool AllowCheckInHasBeenSet() const
Entitlement & WithName(NameT &&value)
void SetValue(ValueT &&value)
Entitlement & WithValue(ValueT &&value)
bool GetAllowCheckIn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue