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
50 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
64 inline void SetValue(
const char* value) { m_valueHasBeenSet =
true; m_value.assign(value); }
76 inline void SetMaxCount(
long long value) { m_maxCountHasBeenSet =
true; m_maxCount = value; }
86 inline void SetOverage(
bool value) { m_overageHasBeenSet =
true; m_overage = value; }
108 inline void SetAllowCheckIn(
bool value) { m_allowCheckInHasBeenSet =
true; m_allowCheckIn = value; }
114 bool m_nameHasBeenSet =
false;
117 bool m_valueHasBeenSet =
false;
119 long long m_maxCount;
120 bool m_maxCountHasBeenSet =
false;
123 bool m_overageHasBeenSet =
false;
126 bool m_unitHasBeenSet =
false;
129 bool m_allowCheckInHasBeenSet =
false;
Entitlement & WithOverage(bool value)
Entitlement & WithMaxCount(long long value)
void SetUnit(EntitlementUnit &&value)
void SetMaxCount(long long value)
void SetName(const Aws::String &value)
bool NameHasBeenSet() const
AWS_LICENSEMANAGER_API Entitlement & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetValue(const Aws::String &value)
Entitlement & WithName(Aws::String &&value)
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LICENSEMANAGER_API Entitlement(Aws::Utils::Json::JsonView jsonValue)
bool ValueHasBeenSet() const
bool UnitHasBeenSet() const
Entitlement & WithUnit(const EntitlementUnit &value)
void SetValue(const char *value)
Entitlement & WithName(const char *value)
void SetAllowCheckIn(bool value)
bool MaxCountHasBeenSet() const
void SetOverage(bool value)
const Aws::String & GetValue() const
Entitlement & WithValue(const char *value)
Entitlement & WithValue(Aws::String &&value)
bool OverageHasBeenSet() const
void SetName(const char *value)
Entitlement & WithAllowCheckIn(bool value)
void SetName(Aws::String &&value)
Entitlement & WithName(const Aws::String &value)
const Aws::String & GetName() const
long long GetMaxCount() const
Entitlement & WithUnit(EntitlementUnit &&value)
bool AllowCheckInHasBeenSet() const
const EntitlementUnit & GetUnit() const
void SetValue(Aws::String &&value)
Entitlement & WithValue(const Aws::String &value)
AWS_LICENSEMANAGER_API Entitlement()
bool GetAllowCheckIn() const
void SetUnit(const EntitlementUnit &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue