AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ShippingDetails.h
1
6#pragma once
7#include <aws/snowball/Snowball_EXPORTS.h>
8#include <aws/snowball/model/ShippingOption.h>
9#include <aws/snowball/model/Shipment.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 Snowball
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SNOWBALL_API ShippingDetails();
37 AWS_SNOWBALL_API ShippingDetails(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
57 inline const ShippingOption& GetShippingOption() const{ return m_shippingOption; }
58 inline bool ShippingOptionHasBeenSet() const { return m_shippingOptionHasBeenSet; }
59 inline void SetShippingOption(const ShippingOption& value) { m_shippingOptionHasBeenSet = true; m_shippingOption = value; }
60 inline void SetShippingOption(ShippingOption&& value) { m_shippingOptionHasBeenSet = true; m_shippingOption = std::move(value); }
61 inline ShippingDetails& WithShippingOption(const ShippingOption& value) { SetShippingOption(value); return *this;}
62 inline ShippingDetails& WithShippingOption(ShippingOption&& value) { SetShippingOption(std::move(value)); return *this;}
64
66
70 inline const Shipment& GetInboundShipment() const{ return m_inboundShipment; }
71 inline bool InboundShipmentHasBeenSet() const { return m_inboundShipmentHasBeenSet; }
72 inline void SetInboundShipment(const Shipment& value) { m_inboundShipmentHasBeenSet = true; m_inboundShipment = value; }
73 inline void SetInboundShipment(Shipment&& value) { m_inboundShipmentHasBeenSet = true; m_inboundShipment = std::move(value); }
74 inline ShippingDetails& WithInboundShipment(const Shipment& value) { SetInboundShipment(value); return *this;}
75 inline ShippingDetails& WithInboundShipment(Shipment&& value) { SetInboundShipment(std::move(value)); return *this;}
77
79
84 inline const Shipment& GetOutboundShipment() const{ return m_outboundShipment; }
85 inline bool OutboundShipmentHasBeenSet() const { return m_outboundShipmentHasBeenSet; }
86 inline void SetOutboundShipment(const Shipment& value) { m_outboundShipmentHasBeenSet = true; m_outboundShipment = value; }
87 inline void SetOutboundShipment(Shipment&& value) { m_outboundShipmentHasBeenSet = true; m_outboundShipment = std::move(value); }
88 inline ShippingDetails& WithOutboundShipment(const Shipment& value) { SetOutboundShipment(value); return *this;}
89 inline ShippingDetails& WithOutboundShipment(Shipment&& value) { SetOutboundShipment(std::move(value)); return *this;}
91 private:
92
93 ShippingOption m_shippingOption;
94 bool m_shippingOptionHasBeenSet = false;
95
96 Shipment m_inboundShipment;
97 bool m_inboundShipmentHasBeenSet = false;
98
99 Shipment m_outboundShipment;
100 bool m_outboundShipmentHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace Snowball
105} // namespace Aws
const Shipment & GetInboundShipment() const
const ShippingOption & GetShippingOption() const
ShippingDetails & WithOutboundShipment(const Shipment &value)
ShippingDetails & WithInboundShipment(Shipment &&value)
AWS_SNOWBALL_API ShippingDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SNOWBALL_API ShippingDetails(Aws::Utils::Json::JsonView jsonValue)
ShippingDetails & WithOutboundShipment(Shipment &&value)
AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const
const Shipment & GetOutboundShipment() const
void SetOutboundShipment(const Shipment &value)
ShippingDetails & WithShippingOption(ShippingOption &&value)
void SetOutboundShipment(Shipment &&value)
void SetShippingOption(ShippingOption &&value)
ShippingDetails & WithInboundShipment(const Shipment &value)
ShippingDetails & WithShippingOption(const ShippingOption &value)
void SetInboundShipment(Shipment &&value)
void SetShippingOption(const ShippingOption &value)
void SetInboundShipment(const Shipment &value)
Aws::Utils::Json::JsonValue JsonValue