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/LineItem.h>
12#include <aws/outposts/model/OrderStatus.h>
13#include <aws/outposts/model/OrderType.h>
14#include <aws/outposts/model/PaymentOption.h>
15#include <aws/outposts/model/PaymentTerm.h>
36 AWS_OUTPOSTS_API
Order() =
default;
47 template <
typename OutpostIdT = Aws::String>
49 m_outpostIdHasBeenSet =
true;
50 m_outpostId = std::forward<OutpostIdT>(value);
52 template <
typename OutpostIdT = Aws::String>
65 template <
typename QuoteIdentifierT = Aws::String>
67 m_quoteIdentifierHasBeenSet =
true;
68 m_quoteIdentifier = std::forward<QuoteIdentifierT>(value);
70 template <
typename QuoteIdentifierT = Aws::String>
83 template <
typename QuoteOptionIdentifierT = Aws::String>
85 m_quoteOptionIdentifierHasBeenSet =
true;
86 m_quoteOptionIdentifier = std::forward<QuoteOptionIdentifierT>(value);
88 template <
typename QuoteOptionIdentifierT = Aws::String>
101 template <
typename OrderIdT = Aws::String>
103 m_orderIdHasBeenSet =
true;
104 m_orderId = std::forward<OrderIdT>(value);
106 template <
typename OrderIdT = Aws::String>
129 m_statusHasBeenSet =
true;
144 template <
typename LineItemsT = Aws::Vector<LineItem>>
146 m_lineItemsHasBeenSet =
true;
147 m_lineItems = std::forward<LineItemsT>(value);
149 template <
typename LineItemsT = Aws::Vector<LineItem>>
154 template <
typename LineItemsT = LineItem>
156 m_lineItemsHasBeenSet =
true;
157 m_lineItems.emplace_back(std::forward<LineItemsT>(value));
169 m_paymentOptionHasBeenSet =
true;
170 m_paymentOption = value;
184 template <
typename OrderSubmissionDateT = Aws::Utils::DateTime>
186 m_orderSubmissionDateHasBeenSet =
true;
187 m_orderSubmissionDate = std::forward<OrderSubmissionDateT>(value);
189 template <
typename OrderSubmissionDateT = Aws::Utils::DateTime>
202 template <
typename OrderFulfilledDateT = Aws::Utils::DateTime>
204 m_orderFulfilledDateHasBeenSet =
true;
205 m_orderFulfilledDate = std::forward<OrderFulfilledDateT>(value);
207 template <
typename OrderFulfilledDateT = Aws::Utils::DateTime>
221 m_paymentTermHasBeenSet =
true;
222 m_paymentTerm = value;
237 m_orderTypeHasBeenSet =
true;
267 bool m_outpostIdHasBeenSet =
false;
268 bool m_quoteIdentifierHasBeenSet =
false;
269 bool m_quoteOptionIdentifierHasBeenSet =
false;
270 bool m_orderIdHasBeenSet =
false;
271 bool m_statusHasBeenSet =
false;
272 bool m_lineItemsHasBeenSet =
false;
273 bool m_paymentOptionHasBeenSet =
false;
274 bool m_orderSubmissionDateHasBeenSet =
false;
275 bool m_orderFulfilledDateHasBeenSet =
false;
276 bool m_paymentTermHasBeenSet =
false;
277 bool m_orderTypeHasBeenSet =
false;
Order & WithLineItems(LineItemsT &&value)
Order & WithOutpostId(OutpostIdT &&value)
const Aws::Vector< LineItem > & GetLineItems() const
Order & WithOrderType(OrderType value)
const Aws::Utils::DateTime & GetOrderSubmissionDate() const
void SetPaymentTerm(PaymentTerm value)
void SetOrderType(OrderType value)
bool OrderTypeHasBeenSet() const
OrderStatus GetStatus() const
bool PaymentOptionHasBeenSet() const
AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetOutpostId() const
Order & WithPaymentOption(PaymentOption value)
bool OrderFulfilledDateHasBeenSet() const
bool PaymentTermHasBeenSet() const
void SetQuoteIdentifier(QuoteIdentifierT &&value)
bool LineItemsHasBeenSet() const
Order & WithStatus(OrderStatus value)
bool QuoteOptionIdentifierHasBeenSet() const
const Aws::Utils::DateTime & GetOrderFulfilledDate() const
PaymentOption GetPaymentOption() const
Order & WithOrderId(OrderIdT &&value)
void SetOutpostId(OutpostIdT &&value)
bool QuoteIdentifierHasBeenSet() const
void SetLineItems(LineItemsT &&value)
void SetOrderFulfilledDate(OrderFulfilledDateT &&value)
Order & WithQuoteIdentifier(QuoteIdentifierT &&value)
PaymentTerm GetPaymentTerm() const
Order & WithQuoteOptionIdentifier(QuoteOptionIdentifierT &&value)
bool OrderSubmissionDateHasBeenSet() const
void SetOrderSubmissionDate(OrderSubmissionDateT &&value)
const Aws::String & GetOrderId() const
const Aws::String & GetQuoteIdentifier() const
bool StatusHasBeenSet() const
bool OrderIdHasBeenSet() const
void SetPaymentOption(PaymentOption value)
const Aws::String & GetQuoteOptionIdentifier() const
Order & WithPaymentTerm(PaymentTerm value)
AWS_OUTPOSTS_API Order(Aws::Utils::Json::JsonView jsonValue)
Order & WithOrderFulfilledDate(OrderFulfilledDateT &&value)
void SetQuoteOptionIdentifier(QuoteOptionIdentifierT &&value)
AWS_OUTPOSTS_API Order & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(OrderStatus value)
void SetOrderId(OrderIdT &&value)
Order & WithOrderSubmissionDate(OrderSubmissionDateT &&value)
AWS_OUTPOSTS_API Order()=default
OrderType GetOrderType() const
bool OutpostIdHasBeenSet() const
Order & AddLineItems(LineItemsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue