AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ShipmentInformation.h
1
6#pragma once
7#include <aws/outposts/Outposts_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/outposts/model/ShipmentCarrier.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Outposts
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_OUTPOSTS_API ShipmentInformation() = default;
38 AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetShipmentTrackingNumber() const { return m_shipmentTrackingNumber; }
46 inline bool ShipmentTrackingNumberHasBeenSet() const { return m_shipmentTrackingNumberHasBeenSet; }
47 template<typename ShipmentTrackingNumberT = Aws::String>
48 void SetShipmentTrackingNumber(ShipmentTrackingNumberT&& value) { m_shipmentTrackingNumberHasBeenSet = true; m_shipmentTrackingNumber = std::forward<ShipmentTrackingNumberT>(value); }
49 template<typename ShipmentTrackingNumberT = Aws::String>
50 ShipmentInformation& WithShipmentTrackingNumber(ShipmentTrackingNumberT&& value) { SetShipmentTrackingNumber(std::forward<ShipmentTrackingNumberT>(value)); return *this;}
52
54
57 inline ShipmentCarrier GetShipmentCarrier() const { return m_shipmentCarrier; }
58 inline bool ShipmentCarrierHasBeenSet() const { return m_shipmentCarrierHasBeenSet; }
59 inline void SetShipmentCarrier(ShipmentCarrier value) { m_shipmentCarrierHasBeenSet = true; m_shipmentCarrier = value; }
62 private:
63
64 Aws::String m_shipmentTrackingNumber;
65 bool m_shipmentTrackingNumberHasBeenSet = false;
66
68 bool m_shipmentCarrierHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Outposts
73} // namespace Aws
AWS_OUTPOSTS_API ShipmentInformation(Aws::Utils::Json::JsonView jsonValue)
void SetShipmentTrackingNumber(ShipmentTrackingNumberT &&value)
ShipmentInformation & WithShipmentCarrier(ShipmentCarrier value)
AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OUTPOSTS_API ShipmentInformation()=default
ShipmentInformation & WithShipmentTrackingNumber(ShipmentTrackingNumberT &&value)
const Aws::String & GetShipmentTrackingNumber() const
void SetShipmentCarrier(ShipmentCarrier value)
AWS_OUTPOSTS_API ShipmentInformation & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue