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));
57 inline int GetUsers()
const {
return m_users; }
60 m_usersHasBeenSet =
true;
75 template <
typename SubscriptionRevenueT = Aws::String>
77 m_subscriptionRevenueHasBeenSet =
true;
78 m_subscriptionRevenue = std::forward<SubscriptionRevenueT>(value);
80 template <
typename SubscriptionRevenueT = Aws::String>
93 template <
typename UsageRevenueT = Aws::String>
95 m_usageRevenueHasBeenSet =
true;
96 m_usageRevenue = std::forward<UsageRevenueT>(value);
98 template <
typename UsageRevenueT = Aws::String>
111 template <
typename TotalRevenueT = Aws::String>
113 m_totalRevenueHasBeenSet =
true;
114 m_totalRevenue = std::forward<TotalRevenueT>(value);
116 template <
typename TotalRevenueT = Aws::String>
132 bool m_keyHasBeenSet =
false;
133 bool m_usersHasBeenSet =
false;
134 bool m_subscriptionRevenueHasBeenSet =
false;
135 bool m_usageRevenueHasBeenSet =
false;
136 bool m_totalRevenueHasBeenSet =
false;
AWS_APPMONETIZATION_API RevenueGroup(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetKey() const
bool UsageRevenueHasBeenSet() const
RevenueGroup & WithSubscriptionRevenue(SubscriptionRevenueT &&value)
RevenueGroup & WithUsageRevenue(UsageRevenueT &&value)
const Aws::String & GetUsageRevenue() const
bool TotalRevenueHasBeenSet() const
const Aws::String & GetTotalRevenue() const
AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKey(KeyT &&value)
RevenueGroup & WithUsers(int value)
bool SubscriptionRevenueHasBeenSet() const
RevenueGroup & WithTotalRevenue(TotalRevenueT &&value)
bool KeyHasBeenSet() const
AWS_APPMONETIZATION_API RevenueGroup()=default
void SetSubscriptionRevenue(SubscriptionRevenueT &&value)
AWS_APPMONETIZATION_API RevenueGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
bool UsersHasBeenSet() const
void SetTotalRevenue(TotalRevenueT &&value)
RevenueGroup & WithKey(KeyT &&value)
const Aws::String & GetSubscriptionRevenue() const
void SetUsageRevenue(UsageRevenueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue