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 LineItemsT = Aws::Vector<LineItemRequest>>
61 m_lineItemsHasBeenSet =
true;
62 m_lineItems = std::forward<LineItemsT>(value);
64 template <
typename LineItemsT = Aws::Vector<LineItemRequest>>
69 template <
typename LineItemsT = LineItemRequest>
71 m_lineItemsHasBeenSet =
true;
72 m_lineItems.emplace_back(std::forward<LineItemsT>(value));
84 m_paymentOptionHasBeenSet =
true;
85 m_paymentOption = value;
100 m_paymentTermHasBeenSet =
true;
101 m_paymentTerm = value;
116 bool m_outpostIdentifierHasBeenSet =
false;
117 bool m_lineItemsHasBeenSet =
false;
118 bool m_paymentOptionHasBeenSet =
false;
119 bool m_paymentTermHasBeenSet =
false;
const Aws::String & GetOutpostIdentifier() const
AWS_OUTPOSTS_API CreateOrderRequest()=default
bool PaymentOptionHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetOutpostIdentifier(OutpostIdentifierT &&value)
CreateOrderRequest & WithPaymentTerm(PaymentTerm value)
void SetPaymentTerm(PaymentTerm value)
CreateOrderRequest & WithPaymentOption(PaymentOption 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
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