7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/license-manager/model/EntitlementUnit.h>
22namespace LicenseManager
48 template<
typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
50 template<
typename NameT = Aws::String>
60 template<
typename ValueT = Aws::String>
61 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
62 template<
typename ValueT = Aws::String>
72 inline void SetMaxCount(
long long value) { m_maxCountHasBeenSet =
true; m_maxCount = value; }
82 inline void SetOverage(
bool value) { m_overageHasBeenSet =
true; m_overage = value; }
102 inline void SetAllowCheckIn(
bool value) { m_allowCheckInHasBeenSet =
true; m_allowCheckIn = value; }
108 bool m_nameHasBeenSet =
false;
111 bool m_valueHasBeenSet =
false;
113 long long m_maxCount{0};
114 bool m_maxCountHasBeenSet =
false;
116 bool m_overage{
false};
117 bool m_overageHasBeenSet =
false;
120 bool m_unitHasBeenSet =
false;
122 bool m_allowCheckIn{
false};
123 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