7#include <aws/outposts/Outposts_EXPORTS.h>
8#include <aws/outposts/OutpostsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/outposts/model/PaymentOption.h>
12#include <aws/outposts/model/PaymentTerm.h>
13#include <aws/outposts/model/LineItemRequest.h>
45 template<
typename OutpostIdentifierT = Aws::String>
46 void SetOutpostIdentifier(OutpostIdentifierT&& value) { m_outpostIdentifierHasBeenSet =
true; m_outpostIdentifier = std::forward<OutpostIdentifierT>(value); }
47 template<
typename OutpostIdentifierT = Aws::String>
57 template<
typename LineItemsT = Aws::Vector<LineItemRequest>>
58 void SetLineItems(LineItemsT&& value) { m_lineItemsHasBeenSet =
true; m_lineItems = std::forward<LineItemsT>(value); }
59 template<
typename LineItemsT = Aws::Vector<LineItemRequest>>
61 template<
typename LineItemsT = LineItemRequest>
62 CreateOrderRequest&
AddLineItems(LineItemsT&& value) { m_lineItemsHasBeenSet =
true; m_lineItems.emplace_back(std::forward<LineItemsT>(value));
return *
this; }
87 bool m_outpostIdentifierHasBeenSet =
false;
90 bool m_lineItemsHasBeenSet =
false;
93 bool m_paymentOptionHasBeenSet =
false;
96 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