AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetShipmentTrackingNumber(const Aws::String& value) { m_shipmentTrackingNumberHasBeenSet = true; m_shipmentTrackingNumber = value; }
48 inline void SetShipmentTrackingNumber(Aws::String&& value) { m_shipmentTrackingNumberHasBeenSet = true; m_shipmentTrackingNumber = std::move(value); }
49 inline void SetShipmentTrackingNumber(const char* value) { m_shipmentTrackingNumberHasBeenSet = true; m_shipmentTrackingNumber.assign(value); }
51 inline ShipmentInformation& WithShipmentTrackingNumber(Aws::String&& value) { SetShipmentTrackingNumber(std::move(value)); return *this;}
52 inline ShipmentInformation& WithShipmentTrackingNumber(const char* value) { SetShipmentTrackingNumber(value); return *this;}
54
56
59 inline const ShipmentCarrier& GetShipmentCarrier() const{ return m_shipmentCarrier; }
60 inline bool ShipmentCarrierHasBeenSet() const { return m_shipmentCarrierHasBeenSet; }
61 inline void SetShipmentCarrier(const ShipmentCarrier& value) { m_shipmentCarrierHasBeenSet = true; m_shipmentCarrier = value; }
62 inline void SetShipmentCarrier(ShipmentCarrier&& value) { m_shipmentCarrierHasBeenSet = true; m_shipmentCarrier = std::move(value); }
63 inline ShipmentInformation& WithShipmentCarrier(const ShipmentCarrier& value) { SetShipmentCarrier(value); return *this;}
64 inline ShipmentInformation& WithShipmentCarrier(ShipmentCarrier&& value) { SetShipmentCarrier(std::move(value)); return *this;}
66 private:
67
68 Aws::String m_shipmentTrackingNumber;
69 bool m_shipmentTrackingNumberHasBeenSet = false;
70
71 ShipmentCarrier m_shipmentCarrier;
72 bool m_shipmentCarrierHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Outposts
77} // namespace Aws
ShipmentInformation & WithShipmentTrackingNumber(const Aws::String &value)
void SetShipmentTrackingNumber(Aws::String &&value)
ShipmentInformation & WithShipmentCarrier(ShipmentCarrier &&value)
void SetShipmentTrackingNumber(const Aws::String &value)
AWS_OUTPOSTS_API ShipmentInformation(Aws::Utils::Json::JsonView jsonValue)
AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const
ShipmentInformation & WithShipmentTrackingNumber(Aws::String &&value)
const Aws::String & GetShipmentTrackingNumber() const
void SetShipmentCarrier(const ShipmentCarrier &value)
ShipmentInformation & WithShipmentCarrier(const ShipmentCarrier &value)
void SetShipmentCarrier(ShipmentCarrier &&value)
const ShipmentCarrier & GetShipmentCarrier() const
ShipmentInformation & WithShipmentTrackingNumber(const char *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