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 {
42 template <
typename AppIdT = Aws::String>
44 m_appIdHasBeenSet =
true;
45 m_appId = std::forward<AppIdT>(value);
47 template <
typename AppIdT = Aws::String>
49 SetAppId(std::forward<AppIdT>(value));
60 template <
typename UserIdT = Aws::String>
62 m_userIdHasBeenSet =
true;
63 m_userId = std::forward<UserIdT>(value);
65 template <
typename UserIdT = Aws::String>
78 template <
typename PlanIdT = Aws::String>
80 m_planIdHasBeenSet =
true;
81 m_planId = std::forward<PlanIdT>(value);
83 template <
typename PlanIdT = Aws::String>
96 template <
typename EffectiveAtT = Aws::Utils::DateTime>
98 m_effectiveAtHasBeenSet =
true;
99 m_effectiveAt = std::forward<EffectiveAtT>(value);
101 template <
typename EffectiveAtT = Aws::Utils::DateTime>
119 template <
typename BillingAnchorDateT = Aws::Utils::DateTime>
121 m_billingAnchorDateHasBeenSet =
true;
122 m_billingAnchorDate = std::forward<BillingAnchorDateT>(value);
124 template <
typename BillingAnchorDateT = Aws::Utils::DateTime>
138 m_billingCycleHasBeenSet =
true;
139 m_billingCycle = value;
158 bool m_appIdHasBeenSet =
false;
159 bool m_userIdHasBeenSet =
false;
160 bool m_planIdHasBeenSet =
false;
161 bool m_effectiveAtHasBeenSet =
false;
162 bool m_billingAnchorDateHasBeenSet =
false;
163 bool m_billingCycleHasBeenSet =
false;
const Aws::Utils::DateTime & GetBillingAnchorDate() const
void SetBillingCycle(BillingCycle value)
AWS_APPMONETIZATION_API Subscription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPlanId(PlanIdT &&value)
void SetEffectiveAt(EffectiveAtT &&value)
bool UserIdHasBeenSet() const
AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPMONETIZATION_API Subscription(Aws::Utils::Json::JsonView jsonValue)
void SetUserId(UserIdT &&value)
Subscription & WithBillingAnchorDate(BillingAnchorDateT &&value)
BillingCycle GetBillingCycle() const
bool AppIdHasBeenSet() const
Subscription & WithPlanId(PlanIdT &&value)
AWS_APPMONETIZATION_API Subscription()=default
bool EffectiveAtHasBeenSet() const
const Aws::Utils::DateTime & GetEffectiveAt() const
const Aws::String & GetPlanId() const
void SetAppId(AppIdT &&value)
const Aws::String & GetUserId() const
bool BillingCycleHasBeenSet() const
Subscription & WithUserId(UserIdT &&value)
Subscription & WithEffectiveAt(EffectiveAtT &&value)
void SetBillingAnchorDate(BillingAnchorDateT &&value)
Subscription & WithBillingCycle(BillingCycle value)
const Aws::String & GetAppId() const
bool PlanIdHasBeenSet() const
Subscription & WithAppId(AppIdT &&value)
bool BillingAnchorDateHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue