7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/outposts/Outposts_EXPORTS.h>
11#include <aws/outposts/model/CurrencyCode.h>
12#include <aws/outposts/model/SubscriptionStatus.h>
13#include <aws/outposts/model/SubscriptionType.h>
47 template <
typename SubscriptionIdT = Aws::String>
49 m_subscriptionIdHasBeenSet =
true;
50 m_subscriptionId = std::forward<SubscriptionIdT>(value);
52 template <
typename SubscriptionIdT = Aws::String>
70 m_subscriptionTypeHasBeenSet =
true;
71 m_subscriptionType = value;
92 m_subscriptionStatusHasBeenSet =
true;
93 m_subscriptionStatus = value;
107 template <
typename OrderIdsT = Aws::Vector<Aws::String>>
109 m_orderIdsHasBeenSet =
true;
110 m_orderIds = std::forward<OrderIdsT>(value);
112 template <
typename OrderIdsT = Aws::Vector<Aws::String>>
117 template <
typename OrderIdsT = Aws::String>
119 m_orderIdsHasBeenSet =
true;
120 m_orderIds.emplace_back(std::forward<OrderIdsT>(value));
131 template <
typename BeginDateT = Aws::Utils::DateTime>
133 m_beginDateHasBeenSet =
true;
134 m_beginDate = std::forward<BeginDateT>(value);
136 template <
typename BeginDateT = Aws::Utils::DateTime>
149 template <
typename EndDateT = Aws::Utils::DateTime>
151 m_endDateHasBeenSet =
true;
152 m_endDate = std::forward<EndDateT>(value);
154 template <
typename EndDateT = Aws::Utils::DateTime>
169 m_currencyHasBeenSet =
true;
185 m_monthlyRecurringPriceHasBeenSet =
true;
186 m_monthlyRecurringPrice = value;
202 m_upfrontPriceHasBeenSet =
true;
203 m_upfrontPrice = value;
225 double m_monthlyRecurringPrice{0.0};
227 double m_upfrontPrice{0.0};
228 bool m_subscriptionIdHasBeenSet =
false;
229 bool m_subscriptionTypeHasBeenSet =
false;
230 bool m_subscriptionStatusHasBeenSet =
false;
231 bool m_orderIdsHasBeenSet =
false;
232 bool m_beginDateHasBeenSet =
false;
233 bool m_endDateHasBeenSet =
false;
234 bool m_currencyHasBeenSet =
false;
235 bool m_monthlyRecurringPriceHasBeenSet =
false;
236 bool m_upfrontPriceHasBeenSet =
false;
AWS_OUTPOSTS_API Subscription(Aws::Utils::Json::JsonView jsonValue)
Subscription & WithSubscriptionStatus(SubscriptionStatus value)
void SetMonthlyRecurringPrice(double value)
Subscription & AddOrderIds(OrderIdsT &&value)
bool SubscriptionStatusHasBeenSet() const
const Aws::Utils::DateTime & GetBeginDate() const
Subscription & WithOrderIds(OrderIdsT &&value)
double GetUpfrontPrice() const
bool SubscriptionTypeHasBeenSet() const
AWS_OUTPOSTS_API Subscription()=default
Subscription & WithCurrency(CurrencyCode value)
Subscription & WithSubscriptionId(SubscriptionIdT &&value)
void SetEndDate(EndDateT &&value)
Subscription & WithMonthlyRecurringPrice(double value)
Subscription & WithUpfrontPrice(double value)
const Aws::Utils::DateTime & GetEndDate() const
void SetSubscriptionType(SubscriptionType value)
void SetSubscriptionId(SubscriptionIdT &&value)
Subscription & WithEndDate(EndDateT &&value)
CurrencyCode GetCurrency() const
void SetCurrency(CurrencyCode value)
void SetOrderIds(OrderIdsT &&value)
AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const
bool UpfrontPriceHasBeenSet() const
double GetMonthlyRecurringPrice() const
bool BeginDateHasBeenSet() const
SubscriptionType GetSubscriptionType() const
Subscription & WithSubscriptionType(SubscriptionType value)
SubscriptionStatus GetSubscriptionStatus() const
bool CurrencyHasBeenSet() const
bool MonthlyRecurringPriceHasBeenSet() const
bool OrderIdsHasBeenSet() const
void SetBeginDate(BeginDateT &&value)
bool EndDateHasBeenSet() const
bool SubscriptionIdHasBeenSet() const
AWS_OUTPOSTS_API Subscription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUpfrontPrice(double value)
Subscription & WithBeginDate(BeginDateT &&value)
const Aws::Vector< Aws::String > & GetOrderIds() const
void SetSubscriptionStatus(SubscriptionStatus value)
const Aws::String & GetSubscriptionId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue