7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace AppMonetization {
41 template <
typename KeyT = Aws::String>
43 m_keyHasBeenSet =
true;
44 m_key = std::forward<KeyT>(value);
46 template <
typename KeyT = Aws::String>
48 SetKey(std::forward<KeyT>(value));
59 template <
typename MetricNameT = Aws::String>
61 m_metricNameHasBeenSet =
true;
62 m_metricName = std::forward<MetricNameT>(value);
64 template <
typename MetricNameT = Aws::String>
75 inline long long GetUsage()
const {
return m_usage; }
78 m_usageHasBeenSet =
true;
92 bool m_keyHasBeenSet =
false;
93 bool m_metricNameHasBeenSet =
false;
94 bool m_usageHasBeenSet =
false;
bool KeyHasBeenSet() const
bool UsageHasBeenSet() const
void SetUsage(long long value)
void SetMetricName(MetricNameT &&value)
const Aws::String & GetMetricName() const
const Aws::String & GetKey() const
AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPMONETIZATION_API UsageGroup()=default
AWS_APPMONETIZATION_API UsageGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
long long GetUsage() const
void SetKey(KeyT &&value)
UsageGroup & WithKey(KeyT &&value)
bool MetricNameHasBeenSet() const
UsageGroup & WithMetricName(MetricNameT &&value)
AWS_APPMONETIZATION_API UsageGroup(Aws::Utils::Json::JsonView jsonValue)
UsageGroup & WithUsage(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue