AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
PickupDetails.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/snowball/Snowball_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Snowball {
21namespace Model {
22
30 public:
31 AWS_SNOWBALL_API PickupDetails() = default;
32 AWS_SNOWBALL_API PickupDetails(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
48 PickupDetails& WithName(NameT&& value) {
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetPhoneNumber() const { return m_phoneNumber; }
59 inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; }
60 template <typename PhoneNumberT = Aws::String>
61 void SetPhoneNumber(PhoneNumberT&& value) {
62 m_phoneNumberHasBeenSet = true;
63 m_phoneNumber = std::forward<PhoneNumberT>(value);
64 }
65 template <typename PhoneNumberT = Aws::String>
66 PickupDetails& WithPhoneNumber(PhoneNumberT&& value) {
67 SetPhoneNumber(std::forward<PhoneNumberT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetEmail() const { return m_email; }
77 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
78 template <typename EmailT = Aws::String>
79 void SetEmail(EmailT&& value) {
80 m_emailHasBeenSet = true;
81 m_email = std::forward<EmailT>(value);
82 }
83 template <typename EmailT = Aws::String>
84 PickupDetails& WithEmail(EmailT&& value) {
85 SetEmail(std::forward<EmailT>(value));
86 return *this;
87 }
89
91
95 inline const Aws::String& GetIdentificationNumber() const { return m_identificationNumber; }
96 inline bool IdentificationNumberHasBeenSet() const { return m_identificationNumberHasBeenSet; }
97 template <typename IdentificationNumberT = Aws::String>
98 void SetIdentificationNumber(IdentificationNumberT&& value) {
99 m_identificationNumberHasBeenSet = true;
100 m_identificationNumber = std::forward<IdentificationNumberT>(value);
101 }
102 template <typename IdentificationNumberT = Aws::String>
103 PickupDetails& WithIdentificationNumber(IdentificationNumberT&& value) {
104 SetIdentificationNumber(std::forward<IdentificationNumberT>(value));
105 return *this;
106 }
108
110
114 inline const Aws::Utils::DateTime& GetIdentificationExpirationDate() const { return m_identificationExpirationDate; }
115 inline bool IdentificationExpirationDateHasBeenSet() const { return m_identificationExpirationDateHasBeenSet; }
116 template <typename IdentificationExpirationDateT = Aws::Utils::DateTime>
117 void SetIdentificationExpirationDate(IdentificationExpirationDateT&& value) {
118 m_identificationExpirationDateHasBeenSet = true;
119 m_identificationExpirationDate = std::forward<IdentificationExpirationDateT>(value);
120 }
121 template <typename IdentificationExpirationDateT = Aws::Utils::DateTime>
122 PickupDetails& WithIdentificationExpirationDate(IdentificationExpirationDateT&& value) {
123 SetIdentificationExpirationDate(std::forward<IdentificationExpirationDateT>(value));
124 return *this;
125 }
127
129
133 inline const Aws::String& GetIdentificationIssuingOrg() const { return m_identificationIssuingOrg; }
134 inline bool IdentificationIssuingOrgHasBeenSet() const { return m_identificationIssuingOrgHasBeenSet; }
135 template <typename IdentificationIssuingOrgT = Aws::String>
136 void SetIdentificationIssuingOrg(IdentificationIssuingOrgT&& value) {
137 m_identificationIssuingOrgHasBeenSet = true;
138 m_identificationIssuingOrg = std::forward<IdentificationIssuingOrgT>(value);
139 }
140 template <typename IdentificationIssuingOrgT = Aws::String>
141 PickupDetails& WithIdentificationIssuingOrg(IdentificationIssuingOrgT&& value) {
142 SetIdentificationIssuingOrg(std::forward<IdentificationIssuingOrgT>(value));
143 return *this;
144 }
146
148
151 inline const Aws::String& GetDevicePickupId() const { return m_devicePickupId; }
152 inline bool DevicePickupIdHasBeenSet() const { return m_devicePickupIdHasBeenSet; }
153 template <typename DevicePickupIdT = Aws::String>
154 void SetDevicePickupId(DevicePickupIdT&& value) {
155 m_devicePickupIdHasBeenSet = true;
156 m_devicePickupId = std::forward<DevicePickupIdT>(value);
157 }
158 template <typename DevicePickupIdT = Aws::String>
159 PickupDetails& WithDevicePickupId(DevicePickupIdT&& value) {
160 SetDevicePickupId(std::forward<DevicePickupIdT>(value));
161 return *this;
162 }
164 private:
165 Aws::String m_name;
166
167 Aws::String m_phoneNumber;
168
169 Aws::String m_email;
170
171 Aws::String m_identificationNumber;
172
173 Aws::Utils::DateTime m_identificationExpirationDate{};
174
175 Aws::String m_identificationIssuingOrg;
176
177 Aws::String m_devicePickupId;
178 bool m_nameHasBeenSet = false;
179 bool m_phoneNumberHasBeenSet = false;
180 bool m_emailHasBeenSet = false;
181 bool m_identificationNumberHasBeenSet = false;
182 bool m_identificationExpirationDateHasBeenSet = false;
183 bool m_identificationIssuingOrgHasBeenSet = false;
184 bool m_devicePickupIdHasBeenSet = false;
185};
186
187} // namespace Model
188} // namespace Snowball
189} // namespace Aws
void SetDevicePickupId(DevicePickupIdT &&value)
PickupDetails & WithIdentificationIssuingOrg(IdentificationIssuingOrgT &&value)
PickupDetails & WithEmail(EmailT &&value)
const Aws::String & GetEmail() const
void SetIdentificationExpirationDate(IdentificationExpirationDateT &&value)
const Aws::String & GetDevicePickupId() const
PickupDetails & WithPhoneNumber(PhoneNumberT &&value)
const Aws::Utils::DateTime & GetIdentificationExpirationDate() const
PickupDetails & WithDevicePickupId(DevicePickupIdT &&value)
PickupDetails & WithIdentificationNumber(IdentificationNumberT &&value)
AWS_SNOWBALL_API PickupDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetIdentificationNumber() const
void SetIdentificationNumber(IdentificationNumberT &&value)
const Aws::String & GetName() const
const Aws::String & GetIdentificationIssuingOrg() const
PickupDetails & WithName(NameT &&value)
PickupDetails & WithIdentificationExpirationDate(IdentificationExpirationDateT &&value)
AWS_SNOWBALL_API PickupDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPhoneNumber(PhoneNumberT &&value)
AWS_SNOWBALL_API PickupDetails()=default
AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIdentificationIssuingOrg(IdentificationIssuingOrgT &&value)
const Aws::String & GetPhoneNumber() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue