7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/outposts/OutpostsRequest.h>
10#include <aws/outposts/Outposts_EXPORTS.h>
11#include <aws/outposts/model/LineItemRequest.h>
12#include <aws/outposts/model/PaymentOption.h>
13#include <aws/outposts/model/PaymentTerm.h>
41 template <
typename OutpostIdentifierT = Aws::String>
43 m_outpostIdentifierHasBeenSet =
true;
44 m_outpostIdentifier = std::forward<OutpostIdentifierT>(value);
46 template <
typename OutpostIdentifierT = Aws::String>
59 template <
typename QuoteIdentifierT = Aws::String>
61 m_quoteIdentifierHasBeenSet =
true;
62 m_quoteIdentifier = std::forward<QuoteIdentifierT>(value);
64 template <
typename QuoteIdentifierT = Aws::String>
77 template <
typename QuoteOptionIdentifierT = Aws::String>
79 m_quoteOptionIdentifierHasBeenSet =
true;
80 m_quoteOptionIdentifier = std::forward<QuoteOptionIdentifierT>(value);
82 template <
typename QuoteOptionIdentifierT = Aws::String>
95 template <
typename LineItemsT = Aws::Vector<LineItemRequest>>
97 m_lineItemsHasBeenSet =
true;
98 m_lineItems = std::forward<LineItemsT>(value);
100 template <
typename LineItemsT = Aws::Vector<LineItemRequest>>
105 template <
typename LineItemsT = LineItemRequest>
107 m_lineItemsHasBeenSet =
true;
108 m_lineItems.emplace_back(std::forward<LineItemsT>(value));
120 m_paymentOptionHasBeenSet =
true;
121 m_paymentOption = value;
136 m_paymentTermHasBeenSet =
true;
137 m_paymentTerm = value;
156 bool m_outpostIdentifierHasBeenSet =
false;
157 bool m_quoteIdentifierHasBeenSet =
false;
158 bool m_quoteOptionIdentifierHasBeenSet =
false;
159 bool m_lineItemsHasBeenSet =
false;
160 bool m_paymentOptionHasBeenSet =
false;
161 bool m_paymentTermHasBeenSet =
false;
const Aws::String & GetOutpostIdentifier() const
AWS_OUTPOSTS_API CreateOrderRequest()=default
bool PaymentOptionHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetQuoteOptionIdentifier(QuoteOptionIdentifierT &&value)
bool QuoteIdentifierHasBeenSet() const
void SetOutpostIdentifier(OutpostIdentifierT &&value)
CreateOrderRequest & WithPaymentTerm(PaymentTerm value)
void SetPaymentTerm(PaymentTerm value)
const Aws::String & GetQuoteIdentifier() const
bool QuoteOptionIdentifierHasBeenSet() const
CreateOrderRequest & WithPaymentOption(PaymentOption value)
CreateOrderRequest & WithQuoteOptionIdentifier(QuoteOptionIdentifierT &&value)
CreateOrderRequest & WithQuoteIdentifier(QuoteIdentifierT &&value)
void SetQuoteIdentifier(QuoteIdentifierT &&value)
CreateOrderRequest & WithOutpostIdentifier(OutpostIdentifierT &&value)
CreateOrderRequest & AddLineItems(LineItemsT &&value)
PaymentOption GetPaymentOption() const
const Aws::Vector< LineItemRequest > & GetLineItems() const
bool OutpostIdentifierHasBeenSet() const
CreateOrderRequest & WithLineItems(LineItemsT &&value)
AWS_OUTPOSTS_API Aws::String SerializePayload() const override
void SetLineItems(LineItemsT &&value)
PaymentTerm GetPaymentTerm() const
const Aws::String & GetQuoteOptionIdentifier() const
void SetPaymentOption(PaymentOption value)
bool PaymentTermHasBeenSet() const
bool LineItemsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector