AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline PickupDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline PickupDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline PickupDetails& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::String& GetPhoneNumber() const{ return m_phoneNumber; }
61 inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; }
62 inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; }
63 inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); }
64 inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); }
65 inline PickupDetails& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;}
66 inline PickupDetails& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;}
67 inline PickupDetails& WithPhoneNumber(const char* value) { SetPhoneNumber(value); return *this;}
69
71
74 inline const Aws::String& GetEmail() const{ return m_email; }
75 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
76 inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; }
77 inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); }
78 inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); }
79 inline PickupDetails& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
80 inline PickupDetails& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
81 inline PickupDetails& WithEmail(const char* value) { SetEmail(value); return *this;}
83
85
89 inline const Aws::String& GetIdentificationNumber() const{ return m_identificationNumber; }
90 inline bool IdentificationNumberHasBeenSet() const { return m_identificationNumberHasBeenSet; }
91 inline void SetIdentificationNumber(const Aws::String& value) { m_identificationNumberHasBeenSet = true; m_identificationNumber = value; }
92 inline void SetIdentificationNumber(Aws::String&& value) { m_identificationNumberHasBeenSet = true; m_identificationNumber = std::move(value); }
93 inline void SetIdentificationNumber(const char* value) { m_identificationNumberHasBeenSet = true; m_identificationNumber.assign(value); }
94 inline PickupDetails& WithIdentificationNumber(const Aws::String& value) { SetIdentificationNumber(value); return *this;}
95 inline PickupDetails& WithIdentificationNumber(Aws::String&& value) { SetIdentificationNumber(std::move(value)); return *this;}
96 inline PickupDetails& WithIdentificationNumber(const char* value) { SetIdentificationNumber(value); return *this;}
98
100
104 inline const Aws::Utils::DateTime& GetIdentificationExpirationDate() const{ return m_identificationExpirationDate; }
105 inline bool IdentificationExpirationDateHasBeenSet() const { return m_identificationExpirationDateHasBeenSet; }
106 inline void SetIdentificationExpirationDate(const Aws::Utils::DateTime& value) { m_identificationExpirationDateHasBeenSet = true; m_identificationExpirationDate = value; }
107 inline void SetIdentificationExpirationDate(Aws::Utils::DateTime&& value) { m_identificationExpirationDateHasBeenSet = true; m_identificationExpirationDate = std::move(value); }
111
113
117 inline const Aws::String& GetIdentificationIssuingOrg() const{ return m_identificationIssuingOrg; }
118 inline bool IdentificationIssuingOrgHasBeenSet() const { return m_identificationIssuingOrgHasBeenSet; }
119 inline void SetIdentificationIssuingOrg(const Aws::String& value) { m_identificationIssuingOrgHasBeenSet = true; m_identificationIssuingOrg = value; }
120 inline void SetIdentificationIssuingOrg(Aws::String&& value) { m_identificationIssuingOrgHasBeenSet = true; m_identificationIssuingOrg = std::move(value); }
121 inline void SetIdentificationIssuingOrg(const char* value) { m_identificationIssuingOrgHasBeenSet = true; m_identificationIssuingOrg.assign(value); }
123 inline PickupDetails& WithIdentificationIssuingOrg(Aws::String&& value) { SetIdentificationIssuingOrg(std::move(value)); return *this;}
124 inline PickupDetails& WithIdentificationIssuingOrg(const char* value) { SetIdentificationIssuingOrg(value); return *this;}
126
128
131 inline const Aws::String& GetDevicePickupId() const{ return m_devicePickupId; }
132 inline bool DevicePickupIdHasBeenSet() const { return m_devicePickupIdHasBeenSet; }
133 inline void SetDevicePickupId(const Aws::String& value) { m_devicePickupIdHasBeenSet = true; m_devicePickupId = value; }
134 inline void SetDevicePickupId(Aws::String&& value) { m_devicePickupIdHasBeenSet = true; m_devicePickupId = std::move(value); }
135 inline void SetDevicePickupId(const char* value) { m_devicePickupIdHasBeenSet = true; m_devicePickupId.assign(value); }
136 inline PickupDetails& WithDevicePickupId(const Aws::String& value) { SetDevicePickupId(value); return *this;}
137 inline PickupDetails& WithDevicePickupId(Aws::String&& value) { SetDevicePickupId(std::move(value)); return *this;}
138 inline PickupDetails& WithDevicePickupId(const char* value) { SetDevicePickupId(value); return *this;}
140 private:
141
142 Aws::String m_name;
143 bool m_nameHasBeenSet = false;
144
145 Aws::String m_phoneNumber;
146 bool m_phoneNumberHasBeenSet = false;
147
148 Aws::String m_email;
149 bool m_emailHasBeenSet = false;
150
151 Aws::String m_identificationNumber;
152 bool m_identificationNumberHasBeenSet = false;
153
154 Aws::Utils::DateTime m_identificationExpirationDate;
155 bool m_identificationExpirationDateHasBeenSet = false;
156
157 Aws::String m_identificationIssuingOrg;
158 bool m_identificationIssuingOrgHasBeenSet = false;
159
160 Aws::String m_devicePickupId;
161 bool m_devicePickupIdHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace Snowball
166} // namespace Aws
PickupDetails & WithEmail(Aws::String &&value)
PickupDetails & WithIdentificationNumber(Aws::String &&value)
const Aws::String & GetEmail() const
const Aws::String & GetDevicePickupId() const
PickupDetails & WithPhoneNumber(const Aws::String &value)
PickupDetails & WithIdentificationExpirationDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetIdentificationExpirationDate() const
PickupDetails & WithName(Aws::String &&value)
PickupDetails & WithPhoneNumber(Aws::String &&value)
PickupDetails & WithName(const char *value)
PickupDetails & WithIdentificationNumber(const char *value)
PickupDetails & WithIdentificationIssuingOrg(const Aws::String &value)
void SetPhoneNumber(Aws::String &&value)
void SetDevicePickupId(const char *value)
PickupDetails & WithDevicePickupId(const Aws::String &value)
AWS_SNOWBALL_API PickupDetails(Aws::Utils::Json::JsonView jsonValue)
PickupDetails & WithIdentificationNumber(const Aws::String &value)
void SetEmail(Aws::String &&value)
void SetIdentificationIssuingOrg(const Aws::String &value)
void SetPhoneNumber(const char *value)
void SetEmail(const Aws::String &value)
const Aws::String & GetIdentificationNumber() const
PickupDetails & WithIdentificationIssuingOrg(Aws::String &&value)
void SetIdentificationExpirationDate(Aws::Utils::DateTime &&value)
void SetIdentificationIssuingOrg(Aws::String &&value)
void SetEmail(const char *value)
PickupDetails & WithIdentificationIssuingOrg(const char *value)
void SetIdentificationNumber(Aws::String &&value)
const Aws::String & GetName() const
void SetIdentificationExpirationDate(const Aws::Utils::DateTime &value)
void SetIdentificationIssuingOrg(const char *value)
const Aws::String & GetIdentificationIssuingOrg() const
void SetPhoneNumber(const Aws::String &value)
PickupDetails & WithEmail(const char *value)
PickupDetails & WithPhoneNumber(const char *value)
void SetDevicePickupId(const Aws::String &value)
PickupDetails & WithIdentificationExpirationDate(Aws::Utils::DateTime &&value)
void SetIdentificationNumber(const char *value)
void SetIdentificationNumber(const Aws::String &value)
void SetDevicePickupId(Aws::String &&value)
AWS_SNOWBALL_API PickupDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
PickupDetails & WithEmail(const Aws::String &value)
AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const char *value)
PickupDetails & WithDevicePickupId(const char *value)
void SetName(const Aws::String &value)
const Aws::String & GetPhoneNumber() const
PickupDetails & WithDevicePickupId(Aws::String &&value)
void SetName(Aws::String &&value)
PickupDetails & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue