7#include <aws/outposts/Outposts_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/outposts/model/LineItemStatus.h>
10#include <aws/outposts/model/ShipmentInformation.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/outposts/model/LineItemAssetInformation.h>
52 inline void SetCatalogItemId(
const char* value) { m_catalogItemIdHasBeenSet =
true; m_catalogItemId.assign(value); }
66 inline void SetLineItemId(
const char* value) { m_lineItemIdHasBeenSet =
true; m_lineItemId.assign(value); }
78 inline void SetQuantity(
int value) { m_quantityHasBeenSet =
true; m_quantity = value; }
128 inline void SetPreviousLineItemId(
const char* value) { m_previousLineItemIdHasBeenSet =
true; m_previousLineItemId.assign(value); }
142 inline void SetPreviousOrderId(
const char* value) { m_previousOrderIdHasBeenSet =
true; m_previousOrderId.assign(value); }
150 bool m_catalogItemIdHasBeenSet =
false;
153 bool m_lineItemIdHasBeenSet =
false;
156 bool m_quantityHasBeenSet =
false;
159 bool m_statusHasBeenSet =
false;
162 bool m_shipmentInformationHasBeenSet =
false;
165 bool m_assetInformationListHasBeenSet =
false;
168 bool m_previousLineItemIdHasBeenSet =
false;
171 bool m_previousOrderIdHasBeenSet =
false;
const Aws::Vector< LineItemAssetInformation > & GetAssetInformationList() const
LineItem & WithLineItemId(const Aws::String &value)
void SetPreviousOrderId(const char *value)
void SetPreviousLineItemId(const char *value)
bool PreviousOrderIdHasBeenSet() const
LineItem & WithPreviousOrderId(const Aws::String &value)
void SetLineItemId(const Aws::String &value)
LineItem & WithShipmentInformation(const ShipmentInformation &value)
LineItem & WithCatalogItemId(Aws::String &&value)
bool CatalogItemIdHasBeenSet() const
void SetStatus(const LineItemStatus &value)
bool AssetInformationListHasBeenSet() const
void SetAssetInformationList(const Aws::Vector< LineItemAssetInformation > &value)
void SetPreviousLineItemId(const Aws::String &value)
void SetPreviousOrderId(const Aws::String &value)
LineItem & WithAssetInformationList(const Aws::Vector< LineItemAssetInformation > &value)
void SetLineItemId(Aws::String &&value)
LineItem & WithLineItemId(const char *value)
AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const
LineItem & WithStatus(LineItemStatus &&value)
bool ShipmentInformationHasBeenSet() const
void SetCatalogItemId(const Aws::String &value)
AWS_OUTPOSTS_API LineItem(Aws::Utils::Json::JsonView jsonValue)
LineItem & WithLineItemId(Aws::String &&value)
AWS_OUTPOSTS_API LineItem()
LineItem & WithCatalogItemId(const Aws::String &value)
bool StatusHasBeenSet() const
const Aws::String & GetCatalogItemId() const
LineItem & WithPreviousOrderId(const char *value)
bool LineItemIdHasBeenSet() const
const LineItemStatus & GetStatus() const
void SetAssetInformationList(Aws::Vector< LineItemAssetInformation > &&value)
AWS_OUTPOSTS_API LineItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLineItemId() const
bool QuantityHasBeenSet() const
void SetCatalogItemId(Aws::String &&value)
LineItem & WithShipmentInformation(ShipmentInformation &&value)
LineItem & WithStatus(const LineItemStatus &value)
LineItem & WithPreviousLineItemId(Aws::String &&value)
LineItem & AddAssetInformationList(LineItemAssetInformation &&value)
void SetCatalogItemId(const char *value)
const ShipmentInformation & GetShipmentInformation() const
LineItem & WithAssetInformationList(Aws::Vector< LineItemAssetInformation > &&value)
LineItem & WithPreviousLineItemId(const Aws::String &value)
void SetQuantity(int value)
const Aws::String & GetPreviousOrderId() const
bool PreviousLineItemIdHasBeenSet() const
LineItem & WithQuantity(int value)
void SetLineItemId(const char *value)
LineItem & WithPreviousOrderId(Aws::String &&value)
void SetPreviousLineItemId(Aws::String &&value)
void SetPreviousOrderId(Aws::String &&value)
const Aws::String & GetPreviousLineItemId() const
LineItem & WithPreviousLineItemId(const char *value)
void SetShipmentInformation(ShipmentInformation &&value)
void SetStatus(LineItemStatus &&value)
LineItem & AddAssetInformationList(const LineItemAssetInformation &value)
LineItem & WithCatalogItemId(const char *value)
void SetShipmentInformation(const ShipmentInformation &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