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
47 template<
typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
49 template<
typename NameT = Aws::String>
59 template<
typename ValueT = Aws::String>
60 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
61 template<
typename ValueT = Aws::String>
77 bool m_nameHasBeenSet =
false;
80 bool m_valueHasBeenSet =
false;
83 bool m_unitHasBeenSet =
false;
AWS_LICENSEMANAGER_API EntitlementData()=default
void SetUnit(EntitlementDataUnit value)
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(NameT &&value)
EntitlementData & WithUnit(EntitlementDataUnit value)
const Aws::String & GetName() const
const Aws::String & GetValue() const
EntitlementData & WithName(NameT &&value)
AWS_LICENSEMANAGER_API EntitlementData(Aws::Utils::Json::JsonView jsonValue)
EntitlementDataUnit GetUnit() const
bool NameHasBeenSet() const
AWS_LICENSEMANAGER_API EntitlementData & operator=(Aws::Utils::Json::JsonView jsonValue)
EntitlementData & WithValue(ValueT &&value)
bool UnitHasBeenSet() const
bool ValueHasBeenSet() const
void SetValue(ValueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue