7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace AppMonetization {
41 template <
typename MetricIdT = Aws::String>
43 m_metricIdHasBeenSet =
true;
44 m_metricId = std::forward<MetricIdT>(value);
46 template <
typename MetricIdT = Aws::String>
60 m_usedQuantityHasBeenSet =
true;
61 m_usedQuantity = value;
77 m_includedQuantityHasBeenSet =
true;
78 m_includedQuantity = value;
93 m_remainingQuantityHasBeenSet =
true;
94 m_remainingQuantity = value;
104 long long m_usedQuantity{0};
106 long long m_includedQuantity{0};
108 long long m_remainingQuantity{0};
109 bool m_metricIdHasBeenSet =
false;
110 bool m_usedQuantityHasBeenSet =
false;
111 bool m_includedQuantityHasBeenSet =
false;
112 bool m_remainingQuantityHasBeenSet =
false;
EntitlementMetricStatus & WithRemainingQuantity(long long value)
AWS_APPMONETIZATION_API EntitlementMetricStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMONETIZATION_API EntitlementMetricStatus()=default
AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
long long GetRemainingQuantity() const
AWS_APPMONETIZATION_API EntitlementMetricStatus(Aws::Utils::Json::JsonView jsonValue)
EntitlementMetricStatus & WithMetricId(MetricIdT &&value)
bool MetricIdHasBeenSet() const
void SetUsedQuantity(long long value)
void SetRemainingQuantity(long long value)
bool UsedQuantityHasBeenSet() const
bool RemainingQuantityHasBeenSet() const
const Aws::String & GetMetricId() const
void SetIncludedQuantity(long long value)
EntitlementMetricStatus & WithUsedQuantity(long long value)
bool IncludedQuantityHasBeenSet() const
long long GetUsedQuantity() const
long long GetIncludedQuantity() const
EntitlementMetricStatus & WithIncludedQuantity(long long value)
void SetMetricId(MetricIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue