7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/license-manager/model/EntitlementDataUnit.h>
22namespace LicenseManager
49 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
63 inline void SetConsumedValue(
const char* value) { m_consumedValueHasBeenSet =
true; m_consumedValue.assign(value); }
77 inline void SetMaxCount(
const char* value) { m_maxCountHasBeenSet =
true; m_maxCount.assign(value); }
97 bool m_nameHasBeenSet =
false;
100 bool m_consumedValueHasBeenSet =
false;
103 bool m_maxCountHasBeenSet =
false;
106 bool m_unitHasBeenSet =
false;
EntitlementUsage & WithName(const Aws::String &value)
const EntitlementDataUnit & GetUnit() const
bool MaxCountHasBeenSet() const
const Aws::String & GetName() const
EntitlementUsage & WithConsumedValue(const Aws::String &value)
bool NameHasBeenSet() const
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
EntitlementUsage & WithConsumedValue(Aws::String &&value)
EntitlementUsage & WithMaxCount(const Aws::String &value)
void SetMaxCount(Aws::String &&value)
void SetName(Aws::String &&value)
void SetConsumedValue(const char *value)
void SetName(const Aws::String &value)
EntitlementUsage & WithMaxCount(Aws::String &&value)
bool UnitHasBeenSet() const
void SetConsumedValue(const Aws::String &value)
void SetName(const char *value)
bool ConsumedValueHasBeenSet() const
EntitlementUsage & WithConsumedValue(const char *value)
const Aws::String & GetConsumedValue() const
EntitlementUsage & WithName(const char *value)
EntitlementUsage & WithUnit(EntitlementDataUnit &&value)
const Aws::String & GetMaxCount() const
AWS_LICENSEMANAGER_API EntitlementUsage & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConsumedValue(Aws::String &&value)
void SetMaxCount(const char *value)
EntitlementUsage & WithName(Aws::String &&value)
void SetUnit(const EntitlementDataUnit &value)
void SetMaxCount(const Aws::String &value)
AWS_LICENSEMANAGER_API EntitlementUsage(Aws::Utils::Json::JsonView jsonValue)
AWS_LICENSEMANAGER_API EntitlementUsage()
EntitlementUsage & WithUnit(const EntitlementDataUnit &value)
void SetUnit(EntitlementDataUnit &&value)
EntitlementUsage & WithMaxCount(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue