7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/appmonetization/model/BillingCycle.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace AppMonetization {
45 template <
typename AppIdT = Aws::String>
47 m_appIdHasBeenSet =
true;
48 m_appId = std::forward<AppIdT>(value);
50 template <
typename AppIdT = Aws::String>
52 SetAppId(std::forward<AppIdT>(value));
63 template <
typename UserIdT = Aws::String>
65 m_userIdHasBeenSet =
true;
66 m_userId = std::forward<UserIdT>(value);
68 template <
typename UserIdT = Aws::String>
84 template <
typename PlanIdT = Aws::String>
86 m_planIdHasBeenSet =
true;
87 m_planId = std::forward<PlanIdT>(value);
89 template <
typename PlanIdT = Aws::String>
102 template <
typename EffectiveAtT = Aws::Utils::DateTime>
104 m_effectiveAtHasBeenSet =
true;
105 m_effectiveAt = std::forward<EffectiveAtT>(value);
107 template <
typename EffectiveAtT = Aws::Utils::DateTime>
125 template <
typename BillingAnchorDateT = Aws::Utils::DateTime>
127 m_billingAnchorDateHasBeenSet =
true;
128 m_billingAnchorDate = std::forward<BillingAnchorDateT>(value);
130 template <
typename BillingAnchorDateT = Aws::Utils::DateTime>
144 m_billingCycleHasBeenSet =
true;
145 m_billingCycle = value;
164 bool m_appIdHasBeenSet =
false;
165 bool m_userIdHasBeenSet =
false;
166 bool m_planIdHasBeenSet =
false;
167 bool m_effectiveAtHasBeenSet =
false;
168 bool m_billingAnchorDateHasBeenSet =
false;
169 bool m_billingCycleHasBeenSet =
false;
const Aws::String & GetAppId() const
SubscriptionSummary & WithEffectiveAt(EffectiveAtT &&value)
const Aws::Utils::DateTime & GetBillingAnchorDate() const
bool BillingAnchorDateHasBeenSet() const
AWS_APPMONETIZATION_API SubscriptionSummary()=default
bool PlanIdHasBeenSet() const
BillingCycle GetBillingCycle() const
void SetAppId(AppIdT &&value)
void SetBillingCycle(BillingCycle value)
SubscriptionSummary & WithUserId(UserIdT &&value)
SubscriptionSummary & WithBillingAnchorDate(BillingAnchorDateT &&value)
AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
SubscriptionSummary & WithAppId(AppIdT &&value)
AWS_APPMONETIZATION_API SubscriptionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AppIdHasBeenSet() const
SubscriptionSummary & WithPlanId(PlanIdT &&value)
AWS_APPMONETIZATION_API SubscriptionSummary(Aws::Utils::Json::JsonView jsonValue)
SubscriptionSummary & WithBillingCycle(BillingCycle value)
bool UserIdHasBeenSet() const
void SetPlanId(PlanIdT &&value)
const Aws::Utils::DateTime & GetEffectiveAt() const
void SetBillingAnchorDate(BillingAnchorDateT &&value)
bool BillingCycleHasBeenSet() const
bool EffectiveAtHasBeenSet() const
const Aws::String & GetUserId() const
void SetUserId(UserIdT &&value)
void SetEffectiveAt(EffectiveAtT &&value)
const Aws::String & GetPlanId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue