7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/license-manager/LicenseManager_EXPORTS.h>
9#include <aws/license-manager/model/EntitlementDataUnit.h>
20namespace LicenseManager {
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
59 template <
typename ValueT = Aws::String>
61 m_valueHasBeenSet =
true;
62 m_value = std::forward<ValueT>(value);
64 template <
typename ValueT = Aws::String>
66 SetValue(std::forward<ValueT>(value));
78 m_unitHasBeenSet =
true;
92 bool m_nameHasBeenSet =
false;
93 bool m_valueHasBeenSet =
false;
94 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