AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Shipment.h
1
6#pragma once
7#include <aws/snowball/Snowball_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Snowball
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SNOWBALL_API Shipment();
36 AWS_SNOWBALL_API Shipment(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SNOWBALL_API Shipment& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetStatus() const{ return m_status; }
46 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
47 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
48 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
49 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
50 inline Shipment& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
51 inline Shipment& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
52 inline Shipment& WithStatus(const char* value) { SetStatus(value); return *this;}
54
56
62 inline const Aws::String& GetTrackingNumber() const{ return m_trackingNumber; }
63 inline bool TrackingNumberHasBeenSet() const { return m_trackingNumberHasBeenSet; }
64 inline void SetTrackingNumber(const Aws::String& value) { m_trackingNumberHasBeenSet = true; m_trackingNumber = value; }
65 inline void SetTrackingNumber(Aws::String&& value) { m_trackingNumberHasBeenSet = true; m_trackingNumber = std::move(value); }
66 inline void SetTrackingNumber(const char* value) { m_trackingNumberHasBeenSet = true; m_trackingNumber.assign(value); }
67 inline Shipment& WithTrackingNumber(const Aws::String& value) { SetTrackingNumber(value); return *this;}
68 inline Shipment& WithTrackingNumber(Aws::String&& value) { SetTrackingNumber(std::move(value)); return *this;}
69 inline Shipment& WithTrackingNumber(const char* value) { SetTrackingNumber(value); return *this;}
71 private:
72
73 Aws::String m_status;
74 bool m_statusHasBeenSet = false;
75
76 Aws::String m_trackingNumber;
77 bool m_trackingNumberHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Snowball
82} // namespace Aws
void SetTrackingNumber(const Aws::String &value)
Definition Shipment.h:64
Shipment & WithTrackingNumber(const Aws::String &value)
Definition Shipment.h:67
void SetTrackingNumber(Aws::String &&value)
Definition Shipment.h:65
Shipment & WithTrackingNumber(Aws::String &&value)
Definition Shipment.h:68
void SetStatus(Aws::String &&value)
Definition Shipment.h:48
Shipment & WithStatus(const Aws::String &value)
Definition Shipment.h:50
void SetStatus(const char *value)
Definition Shipment.h:49
Shipment & WithStatus(const char *value)
Definition Shipment.h:52
Shipment & WithStatus(Aws::String &&value)
Definition Shipment.h:51
AWS_SNOWBALL_API Shipment()
const Aws::String & GetStatus() const
Definition Shipment.h:45
Shipment & WithTrackingNumber(const char *value)
Definition Shipment.h:69
bool TrackingNumberHasBeenSet() const
Definition Shipment.h:63
AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTrackingNumber(const char *value)
Definition Shipment.h:66
AWS_SNOWBALL_API Shipment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const Aws::String &value)
Definition Shipment.h:47
const Aws::String & GetTrackingNumber() const
Definition Shipment.h:62
AWS_SNOWBALL_API Shipment(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue