/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Outposts { namespace Model { /** *

Information about a line item shipment.

See Also:

AWS * API Reference

*/ class ShipmentInformation { public: AWS_OUTPOSTS_API ShipmentInformation(); AWS_OUTPOSTS_API ShipmentInformation(Aws::Utils::Json::JsonView jsonValue); AWS_OUTPOSTS_API ShipmentInformation& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The tracking number of the shipment.

*/ inline const Aws::String& GetShipmentTrackingNumber() const{ return m_shipmentTrackingNumber; } /** *

The tracking number of the shipment.

*/ inline bool ShipmentTrackingNumberHasBeenSet() const { return m_shipmentTrackingNumberHasBeenSet; } /** *

The tracking number of the shipment.

*/ inline void SetShipmentTrackingNumber(const Aws::String& value) { m_shipmentTrackingNumberHasBeenSet = true; m_shipmentTrackingNumber = value; } /** *

The tracking number of the shipment.

*/ inline void SetShipmentTrackingNumber(Aws::String&& value) { m_shipmentTrackingNumberHasBeenSet = true; m_shipmentTrackingNumber = std::move(value); } /** *

The tracking number of the shipment.

*/ inline void SetShipmentTrackingNumber(const char* value) { m_shipmentTrackingNumberHasBeenSet = true; m_shipmentTrackingNumber.assign(value); } /** *

The tracking number of the shipment.

*/ inline ShipmentInformation& WithShipmentTrackingNumber(const Aws::String& value) { SetShipmentTrackingNumber(value); return *this;} /** *

The tracking number of the shipment.

*/ inline ShipmentInformation& WithShipmentTrackingNumber(Aws::String&& value) { SetShipmentTrackingNumber(std::move(value)); return *this;} /** *

The tracking number of the shipment.

*/ inline ShipmentInformation& WithShipmentTrackingNumber(const char* value) { SetShipmentTrackingNumber(value); return *this;} /** *

The carrier of the shipment.

*/ inline const ShipmentCarrier& GetShipmentCarrier() const{ return m_shipmentCarrier; } /** *

The carrier of the shipment.

*/ inline bool ShipmentCarrierHasBeenSet() const { return m_shipmentCarrierHasBeenSet; } /** *

The carrier of the shipment.

*/ inline void SetShipmentCarrier(const ShipmentCarrier& value) { m_shipmentCarrierHasBeenSet = true; m_shipmentCarrier = value; } /** *

The carrier of the shipment.

*/ inline void SetShipmentCarrier(ShipmentCarrier&& value) { m_shipmentCarrierHasBeenSet = true; m_shipmentCarrier = std::move(value); } /** *

The carrier of the shipment.

*/ inline ShipmentInformation& WithShipmentCarrier(const ShipmentCarrier& value) { SetShipmentCarrier(value); return *this;} /** *

The carrier of the shipment.

*/ inline ShipmentInformation& WithShipmentCarrier(ShipmentCarrier&& value) { SetShipmentCarrier(std::move(value)); return *this;} private: Aws::String m_shipmentTrackingNumber; bool m_shipmentTrackingNumberHasBeenSet = false; ShipmentCarrier m_shipmentCarrier; bool m_shipmentCarrierHasBeenSet = false; }; } // namespace Model } // namespace Outposts } // namespace Aws