AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
PickupDetails.h
1
6#pragma once
7#include <aws/snowball/Snowball_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 PickupDetails() = default;
37 AWS_SNOWBALL_API PickupDetails(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 PickupDetails& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::forward<PhoneNumberT>(value); }
62 template<typename PhoneNumberT = Aws::String>
63 PickupDetails& WithPhoneNumber(PhoneNumberT&& value) { SetPhoneNumber(std::forward<PhoneNumberT>(value)); return *this;}
65
67
70 inline const Aws::String& GetEmail() const { return m_email; }
71 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
72 template<typename EmailT = Aws::String>
73 void SetEmail(EmailT&& value) { m_emailHasBeenSet = true; m_email = std::forward<EmailT>(value); }
74 template<typename EmailT = Aws::String>
75 PickupDetails& WithEmail(EmailT&& value) { SetEmail(std::forward<EmailT>(value)); return *this;}
77
79
83 inline const Aws::String& GetIdentificationNumber() const { return m_identificationNumber; }
84 inline bool IdentificationNumberHasBeenSet() const { return m_identificationNumberHasBeenSet; }
85 template<typename IdentificationNumberT = Aws::String>
86 void SetIdentificationNumber(IdentificationNumberT&& value) { m_identificationNumberHasBeenSet = true; m_identificationNumber = std::forward<IdentificationNumberT>(value); }
87 template<typename IdentificationNumberT = Aws::String>
88 PickupDetails& WithIdentificationNumber(IdentificationNumberT&& value) { SetIdentificationNumber(std::forward<IdentificationNumberT>(value)); return *this;}
90
92
96 inline const Aws::Utils::DateTime& GetIdentificationExpirationDate() const { return m_identificationExpirationDate; }
97 inline bool IdentificationExpirationDateHasBeenSet() const { return m_identificationExpirationDateHasBeenSet; }
98 template<typename IdentificationExpirationDateT = Aws::Utils::DateTime>
99 void SetIdentificationExpirationDate(IdentificationExpirationDateT&& value) { m_identificationExpirationDateHasBeenSet = true; m_identificationExpirationDate = std::forward<IdentificationExpirationDateT>(value); }
100 template<typename IdentificationExpirationDateT = Aws::Utils::DateTime>
101 PickupDetails& WithIdentificationExpirationDate(IdentificationExpirationDateT&& value) { SetIdentificationExpirationDate(std::forward<IdentificationExpirationDateT>(value)); return *this;}
103
105
109 inline const Aws::String& GetIdentificationIssuingOrg() const { return m_identificationIssuingOrg; }
110 inline bool IdentificationIssuingOrgHasBeenSet() const { return m_identificationIssuingOrgHasBeenSet; }
111 template<typename IdentificationIssuingOrgT = Aws::String>
112 void SetIdentificationIssuingOrg(IdentificationIssuingOrgT&& value) { m_identificationIssuingOrgHasBeenSet = true; m_identificationIssuingOrg = std::forward<IdentificationIssuingOrgT>(value); }
113 template<typename IdentificationIssuingOrgT = Aws::String>
114 PickupDetails& WithIdentificationIssuingOrg(IdentificationIssuingOrgT&& value) { SetIdentificationIssuingOrg(std::forward<IdentificationIssuingOrgT>(value)); return *this;}
116
118
121 inline const Aws::String& GetDevicePickupId() const { return m_devicePickupId; }
122 inline bool DevicePickupIdHasBeenSet() const { return m_devicePickupIdHasBeenSet; }
123 template<typename DevicePickupIdT = Aws::String>
124 void SetDevicePickupId(DevicePickupIdT&& value) { m_devicePickupIdHasBeenSet = true; m_devicePickupId = std::forward<DevicePickupIdT>(value); }
125 template<typename DevicePickupIdT = Aws::String>
126 PickupDetails& WithDevicePickupId(DevicePickupIdT&& value) { SetDevicePickupId(std::forward<DevicePickupIdT>(value)); return *this;}
128 private:
129
130 Aws::String m_name;
131 bool m_nameHasBeenSet = false;
132
133 Aws::String m_phoneNumber;
134 bool m_phoneNumberHasBeenSet = false;
135
136 Aws::String m_email;
137 bool m_emailHasBeenSet = false;
138
139 Aws::String m_identificationNumber;
140 bool m_identificationNumberHasBeenSet = false;
141
142 Aws::Utils::DateTime m_identificationExpirationDate{};
143 bool m_identificationExpirationDateHasBeenSet = false;
144
145 Aws::String m_identificationIssuingOrg;
146 bool m_identificationIssuingOrgHasBeenSet = false;
147
148 Aws::String m_devicePickupId;
149 bool m_devicePickupIdHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace Snowball
154} // 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)
bool IdentificationExpirationDateHasBeenSet() const
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