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/SubscriptionStatus.h>
12#include <aws/outposts/model/SubscriptionType.h>
46 template <
typename SubscriptionIdT = Aws::String>
48 m_subscriptionIdHasBeenSet =
true;
49 m_subscriptionId = std::forward<SubscriptionIdT>(value);
51 template <
typename SubscriptionIdT = Aws::String>
69 m_subscriptionTypeHasBeenSet =
true;
70 m_subscriptionType = value;
89 m_subscriptionStatusHasBeenSet =
true;
90 m_subscriptionStatus = value;
104 template <
typename OrderIdsT = Aws::Vector<Aws::String>>
106 m_orderIdsHasBeenSet =
true;
107 m_orderIds = std::forward<OrderIdsT>(value);
109 template <
typename OrderIdsT = Aws::Vector<Aws::String>>
114 template <
typename OrderIdsT = Aws::String>
116 m_orderIdsHasBeenSet =
true;
117 m_orderIds.emplace_back(std::forward<OrderIdsT>(value));
128 template <
typename BeginDateT = Aws::Utils::DateTime>
130 m_beginDateHasBeenSet =
true;
131 m_beginDate = std::forward<BeginDateT>(value);
133 template <
typename BeginDateT = Aws::Utils::DateTime>
146 template <
typename EndDateT = Aws::Utils::DateTime>
148 m_endDateHasBeenSet =
true;
149 m_endDate = std::forward<EndDateT>(value);
151 template <
typename EndDateT = Aws::Utils::DateTime>
165 m_monthlyRecurringPriceHasBeenSet =
true;
166 m_monthlyRecurringPrice = value;
182 m_upfrontPriceHasBeenSet =
true;
183 m_upfrontPrice = value;
203 double m_monthlyRecurringPrice{0.0};
205 double m_upfrontPrice{0.0};
206 bool m_subscriptionIdHasBeenSet =
false;
207 bool m_subscriptionTypeHasBeenSet =
false;
208 bool m_subscriptionStatusHasBeenSet =
false;
209 bool m_orderIdsHasBeenSet =
false;
210 bool m_beginDateHasBeenSet =
false;
211 bool m_endDateHasBeenSet =
false;
212 bool m_monthlyRecurringPriceHasBeenSet =
false;
213 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 & 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)
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 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