/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Snowball { namespace Model { /** *

Information identifying the person picking up the device.

See * Also:

AWS * API Reference

*/ class PickupDetails { public: AWS_SNOWBALL_API PickupDetails(); AWS_SNOWBALL_API PickupDetails(Aws::Utils::Json::JsonView jsonValue); AWS_SNOWBALL_API PickupDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the person picking up the device.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the person picking up the device.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the person picking up the device.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the person picking up the device.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the person picking up the device.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the person picking up the device.

*/ inline PickupDetails& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the person picking up the device.

*/ inline PickupDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the person picking up the device.

*/ inline PickupDetails& WithName(const char* value) { SetName(value); return *this;} /** *

The phone number of the person picking up the device.

*/ inline const Aws::String& GetPhoneNumber() const{ return m_phoneNumber; } /** *

The phone number of the person picking up the device.

*/ inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; } /** *

The phone number of the person picking up the device.

*/ inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; } /** *

The phone number of the person picking up the device.

*/ inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); } /** *

The phone number of the person picking up the device.

*/ inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); } /** *

The phone number of the person picking up the device.

*/ inline PickupDetails& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;} /** *

The phone number of the person picking up the device.

*/ inline PickupDetails& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;} /** *

The phone number of the person picking up the device.

*/ inline PickupDetails& WithPhoneNumber(const char* value) { SetPhoneNumber(value); return *this;} /** *

The email address of the person picking up the device.

*/ inline const Aws::String& GetEmail() const{ return m_email; } /** *

The email address of the person picking up the device.

*/ inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; } /** *

The email address of the person picking up the device.

*/ inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; } /** *

The email address of the person picking up the device.

*/ inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); } /** *

The email address of the person picking up the device.

*/ inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); } /** *

The email address of the person picking up the device.

*/ inline PickupDetails& WithEmail(const Aws::String& value) { SetEmail(value); return *this;} /** *

The email address of the person picking up the device.

*/ inline PickupDetails& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;} /** *

The email address of the person picking up the device.

*/ inline PickupDetails& WithEmail(const char* value) { SetEmail(value); return *this;} /** *

The number on the credential identifying the person picking up the * device.

*/ inline const Aws::String& GetIdentificationNumber() const{ return m_identificationNumber; } /** *

The number on the credential identifying the person picking up the * device.

*/ inline bool IdentificationNumberHasBeenSet() const { return m_identificationNumberHasBeenSet; } /** *

The number on the credential identifying the person picking up the * device.

*/ inline void SetIdentificationNumber(const Aws::String& value) { m_identificationNumberHasBeenSet = true; m_identificationNumber = value; } /** *

The number on the credential identifying the person picking up the * device.

*/ inline void SetIdentificationNumber(Aws::String&& value) { m_identificationNumberHasBeenSet = true; m_identificationNumber = std::move(value); } /** *

The number on the credential identifying the person picking up the * device.

*/ inline void SetIdentificationNumber(const char* value) { m_identificationNumberHasBeenSet = true; m_identificationNumber.assign(value); } /** *

The number on the credential identifying the person picking up the * device.

*/ inline PickupDetails& WithIdentificationNumber(const Aws::String& value) { SetIdentificationNumber(value); return *this;} /** *

The number on the credential identifying the person picking up the * device.

*/ inline PickupDetails& WithIdentificationNumber(Aws::String&& value) { SetIdentificationNumber(std::move(value)); return *this;} /** *

The number on the credential identifying the person picking up the * device.

*/ inline PickupDetails& WithIdentificationNumber(const char* value) { SetIdentificationNumber(value); return *this;} /** *

Expiration date of the credential identifying the person picking up the * device.

*/ inline const Aws::Utils::DateTime& GetIdentificationExpirationDate() const{ return m_identificationExpirationDate; } /** *

Expiration date of the credential identifying the person picking up the * device.

*/ inline bool IdentificationExpirationDateHasBeenSet() const { return m_identificationExpirationDateHasBeenSet; } /** *

Expiration date of the credential identifying the person picking up the * device.

*/ inline void SetIdentificationExpirationDate(const Aws::Utils::DateTime& value) { m_identificationExpirationDateHasBeenSet = true; m_identificationExpirationDate = value; } /** *

Expiration date of the credential identifying the person picking up the * device.

*/ inline void SetIdentificationExpirationDate(Aws::Utils::DateTime&& value) { m_identificationExpirationDateHasBeenSet = true; m_identificationExpirationDate = std::move(value); } /** *

Expiration date of the credential identifying the person picking up the * device.

*/ inline PickupDetails& WithIdentificationExpirationDate(const Aws::Utils::DateTime& value) { SetIdentificationExpirationDate(value); return *this;} /** *

Expiration date of the credential identifying the person picking up the * device.

*/ inline PickupDetails& WithIdentificationExpirationDate(Aws::Utils::DateTime&& value) { SetIdentificationExpirationDate(std::move(value)); return *this;} /** *

Organization that issued the credential identifying the person picking up the * device.

*/ inline const Aws::String& GetIdentificationIssuingOrg() const{ return m_identificationIssuingOrg; } /** *

Organization that issued the credential identifying the person picking up the * device.

*/ inline bool IdentificationIssuingOrgHasBeenSet() const { return m_identificationIssuingOrgHasBeenSet; } /** *

Organization that issued the credential identifying the person picking up the * device.

*/ inline void SetIdentificationIssuingOrg(const Aws::String& value) { m_identificationIssuingOrgHasBeenSet = true; m_identificationIssuingOrg = value; } /** *

Organization that issued the credential identifying the person picking up the * device.

*/ inline void SetIdentificationIssuingOrg(Aws::String&& value) { m_identificationIssuingOrgHasBeenSet = true; m_identificationIssuingOrg = std::move(value); } /** *

Organization that issued the credential identifying the person picking up the * device.

*/ inline void SetIdentificationIssuingOrg(const char* value) { m_identificationIssuingOrgHasBeenSet = true; m_identificationIssuingOrg.assign(value); } /** *

Organization that issued the credential identifying the person picking up the * device.

*/ inline PickupDetails& WithIdentificationIssuingOrg(const Aws::String& value) { SetIdentificationIssuingOrg(value); return *this;} /** *

Organization that issued the credential identifying the person picking up the * device.

*/ inline PickupDetails& WithIdentificationIssuingOrg(Aws::String&& value) { SetIdentificationIssuingOrg(std::move(value)); return *this;} /** *

Organization that issued the credential identifying the person picking up the * device.

*/ inline PickupDetails& WithIdentificationIssuingOrg(const char* value) { SetIdentificationIssuingOrg(value); return *this;} /** *

The unique ID for a device that will be picked up.

*/ inline const Aws::String& GetDevicePickupId() const{ return m_devicePickupId; } /** *

The unique ID for a device that will be picked up.

*/ inline bool DevicePickupIdHasBeenSet() const { return m_devicePickupIdHasBeenSet; } /** *

The unique ID for a device that will be picked up.

*/ inline void SetDevicePickupId(const Aws::String& value) { m_devicePickupIdHasBeenSet = true; m_devicePickupId = value; } /** *

The unique ID for a device that will be picked up.

*/ inline void SetDevicePickupId(Aws::String&& value) { m_devicePickupIdHasBeenSet = true; m_devicePickupId = std::move(value); } /** *

The unique ID for a device that will be picked up.

*/ inline void SetDevicePickupId(const char* value) { m_devicePickupIdHasBeenSet = true; m_devicePickupId.assign(value); } /** *

The unique ID for a device that will be picked up.

*/ inline PickupDetails& WithDevicePickupId(const Aws::String& value) { SetDevicePickupId(value); return *this;} /** *

The unique ID for a device that will be picked up.

*/ inline PickupDetails& WithDevicePickupId(Aws::String&& value) { SetDevicePickupId(std::move(value)); return *this;} /** *

The unique ID for a device that will be picked up.

*/ inline PickupDetails& WithDevicePickupId(const char* value) { SetDevicePickupId(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_phoneNumber; bool m_phoneNumberHasBeenSet = false; Aws::String m_email; bool m_emailHasBeenSet = false; Aws::String m_identificationNumber; bool m_identificationNumberHasBeenSet = false; Aws::Utils::DateTime m_identificationExpirationDate; bool m_identificationExpirationDateHasBeenSet = false; Aws::String m_identificationIssuingOrg; bool m_identificationIssuingOrgHasBeenSet = false; Aws::String m_devicePickupId; bool m_devicePickupIdHasBeenSet = false; }; } // namespace Model } // namespace Snowball } // namespace Aws