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

Information about a subscriber of a device that can use a * network.

See Also:

AWS * API Reference

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

The creation time of this device identifier.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

The creation time of this device identifier.

*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *

The creation time of this device identifier.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *

The creation time of this device identifier.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *

The creation time of this device identifier.

*/ inline DeviceIdentifier& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

The creation time of this device identifier.

*/ inline DeviceIdentifier& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the device identifier.

*/ inline const Aws::String& GetDeviceIdentifierArn() const{ return m_deviceIdentifierArn; } /** *

The Amazon Resource Name (ARN) of the device identifier.

*/ inline bool DeviceIdentifierArnHasBeenSet() const { return m_deviceIdentifierArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the device identifier.

*/ inline void SetDeviceIdentifierArn(const Aws::String& value) { m_deviceIdentifierArnHasBeenSet = true; m_deviceIdentifierArn = value; } /** *

The Amazon Resource Name (ARN) of the device identifier.

*/ inline void SetDeviceIdentifierArn(Aws::String&& value) { m_deviceIdentifierArnHasBeenSet = true; m_deviceIdentifierArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the device identifier.

*/ inline void SetDeviceIdentifierArn(const char* value) { m_deviceIdentifierArnHasBeenSet = true; m_deviceIdentifierArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the device identifier.

*/ inline DeviceIdentifier& WithDeviceIdentifierArn(const Aws::String& value) { SetDeviceIdentifierArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the device identifier.

*/ inline DeviceIdentifier& WithDeviceIdentifierArn(Aws::String&& value) { SetDeviceIdentifierArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the device identifier.

*/ inline DeviceIdentifier& WithDeviceIdentifierArn(const char* value) { SetDeviceIdentifierArn(value); return *this;} /** *

The Integrated Circuit Card Identifier of the device identifier.

*/ inline const Aws::String& GetIccid() const{ return m_iccid; } /** *

The Integrated Circuit Card Identifier of the device identifier.

*/ inline bool IccidHasBeenSet() const { return m_iccidHasBeenSet; } /** *

The Integrated Circuit Card Identifier of the device identifier.

*/ inline void SetIccid(const Aws::String& value) { m_iccidHasBeenSet = true; m_iccid = value; } /** *

The Integrated Circuit Card Identifier of the device identifier.

*/ inline void SetIccid(Aws::String&& value) { m_iccidHasBeenSet = true; m_iccid = std::move(value); } /** *

The Integrated Circuit Card Identifier of the device identifier.

*/ inline void SetIccid(const char* value) { m_iccidHasBeenSet = true; m_iccid.assign(value); } /** *

The Integrated Circuit Card Identifier of the device identifier.

*/ inline DeviceIdentifier& WithIccid(const Aws::String& value) { SetIccid(value); return *this;} /** *

The Integrated Circuit Card Identifier of the device identifier.

*/ inline DeviceIdentifier& WithIccid(Aws::String&& value) { SetIccid(std::move(value)); return *this;} /** *

The Integrated Circuit Card Identifier of the device identifier.

*/ inline DeviceIdentifier& WithIccid(const char* value) { SetIccid(value); return *this;} /** *

The International Mobile Subscriber Identity of the device identifier.

*/ inline const Aws::String& GetImsi() const{ return m_imsi; } /** *

The International Mobile Subscriber Identity of the device identifier.

*/ inline bool ImsiHasBeenSet() const { return m_imsiHasBeenSet; } /** *

The International Mobile Subscriber Identity of the device identifier.

*/ inline void SetImsi(const Aws::String& value) { m_imsiHasBeenSet = true; m_imsi = value; } /** *

The International Mobile Subscriber Identity of the device identifier.

*/ inline void SetImsi(Aws::String&& value) { m_imsiHasBeenSet = true; m_imsi = std::move(value); } /** *

The International Mobile Subscriber Identity of the device identifier.

*/ inline void SetImsi(const char* value) { m_imsiHasBeenSet = true; m_imsi.assign(value); } /** *

The International Mobile Subscriber Identity of the device identifier.

*/ inline DeviceIdentifier& WithImsi(const Aws::String& value) { SetImsi(value); return *this;} /** *

The International Mobile Subscriber Identity of the device identifier.

*/ inline DeviceIdentifier& WithImsi(Aws::String&& value) { SetImsi(std::move(value)); return *this;} /** *

The International Mobile Subscriber Identity of the device identifier.

*/ inline DeviceIdentifier& WithImsi(const char* value) { SetImsi(value); return *this;} /** *

The Amazon Resource Name (ARN) of the network on which the device identifier * appears.

*/ inline const Aws::String& GetNetworkArn() const{ return m_networkArn; } /** *

The Amazon Resource Name (ARN) of the network on which the device identifier * appears.

*/ inline bool NetworkArnHasBeenSet() const { return m_networkArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the network on which the device identifier * appears.

*/ inline void SetNetworkArn(const Aws::String& value) { m_networkArnHasBeenSet = true; m_networkArn = value; } /** *

The Amazon Resource Name (ARN) of the network on which the device identifier * appears.

*/ inline void SetNetworkArn(Aws::String&& value) { m_networkArnHasBeenSet = true; m_networkArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the network on which the device identifier * appears.

*/ inline void SetNetworkArn(const char* value) { m_networkArnHasBeenSet = true; m_networkArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the network on which the device identifier * appears.

*/ inline DeviceIdentifier& WithNetworkArn(const Aws::String& value) { SetNetworkArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the network on which the device identifier * appears.

*/ inline DeviceIdentifier& WithNetworkArn(Aws::String&& value) { SetNetworkArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the network on which the device identifier * appears.

*/ inline DeviceIdentifier& WithNetworkArn(const char* value) { SetNetworkArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the order used to purchase the device * identifier.

*/ inline const Aws::String& GetOrderArn() const{ return m_orderArn; } /** *

The Amazon Resource Name (ARN) of the order used to purchase the device * identifier.

*/ inline bool OrderArnHasBeenSet() const { return m_orderArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the order used to purchase the device * identifier.

*/ inline void SetOrderArn(const Aws::String& value) { m_orderArnHasBeenSet = true; m_orderArn = value; } /** *

The Amazon Resource Name (ARN) of the order used to purchase the device * identifier.

*/ inline void SetOrderArn(Aws::String&& value) { m_orderArnHasBeenSet = true; m_orderArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the order used to purchase the device * identifier.

*/ inline void SetOrderArn(const char* value) { m_orderArnHasBeenSet = true; m_orderArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the order used to purchase the device * identifier.

*/ inline DeviceIdentifier& WithOrderArn(const Aws::String& value) { SetOrderArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the order used to purchase the device * identifier.

*/ inline DeviceIdentifier& WithOrderArn(Aws::String&& value) { SetOrderArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the order used to purchase the device * identifier.

*/ inline DeviceIdentifier& WithOrderArn(const char* value) { SetOrderArn(value); return *this;} /** *

The status of the device identifier.

*/ inline const DeviceIdentifierStatus& GetStatus() const{ return m_status; } /** *

The status of the device identifier.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the device identifier.

*/ inline void SetStatus(const DeviceIdentifierStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the device identifier.

*/ inline void SetStatus(DeviceIdentifierStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the device identifier.

*/ inline DeviceIdentifier& WithStatus(const DeviceIdentifierStatus& value) { SetStatus(value); return *this;} /** *

The status of the device identifier.

*/ inline DeviceIdentifier& WithStatus(DeviceIdentifierStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the traffic group to which the device * identifier belongs.

*/ inline const Aws::String& GetTrafficGroupArn() const{ return m_trafficGroupArn; } /** *

The Amazon Resource Name (ARN) of the traffic group to which the device * identifier belongs.

*/ inline bool TrafficGroupArnHasBeenSet() const { return m_trafficGroupArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the traffic group to which the device * identifier belongs.

*/ inline void SetTrafficGroupArn(const Aws::String& value) { m_trafficGroupArnHasBeenSet = true; m_trafficGroupArn = value; } /** *

The Amazon Resource Name (ARN) of the traffic group to which the device * identifier belongs.

*/ inline void SetTrafficGroupArn(Aws::String&& value) { m_trafficGroupArnHasBeenSet = true; m_trafficGroupArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the traffic group to which the device * identifier belongs.

*/ inline void SetTrafficGroupArn(const char* value) { m_trafficGroupArnHasBeenSet = true; m_trafficGroupArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the traffic group to which the device * identifier belongs.

*/ inline DeviceIdentifier& WithTrafficGroupArn(const Aws::String& value) { SetTrafficGroupArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the traffic group to which the device * identifier belongs.

*/ inline DeviceIdentifier& WithTrafficGroupArn(Aws::String&& value) { SetTrafficGroupArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the traffic group to which the device * identifier belongs.

*/ inline DeviceIdentifier& WithTrafficGroupArn(const char* value) { SetTrafficGroupArn(value); return *this;} /** *

The vendor of the device identifier.

*/ inline const Aws::String& GetVendor() const{ return m_vendor; } /** *

The vendor of the device identifier.

*/ inline bool VendorHasBeenSet() const { return m_vendorHasBeenSet; } /** *

The vendor of the device identifier.

*/ inline void SetVendor(const Aws::String& value) { m_vendorHasBeenSet = true; m_vendor = value; } /** *

The vendor of the device identifier.

*/ inline void SetVendor(Aws::String&& value) { m_vendorHasBeenSet = true; m_vendor = std::move(value); } /** *

The vendor of the device identifier.

*/ inline void SetVendor(const char* value) { m_vendorHasBeenSet = true; m_vendor.assign(value); } /** *

The vendor of the device identifier.

*/ inline DeviceIdentifier& WithVendor(const Aws::String& value) { SetVendor(value); return *this;} /** *

The vendor of the device identifier.

*/ inline DeviceIdentifier& WithVendor(Aws::String&& value) { SetVendor(std::move(value)); return *this;} /** *

The vendor of the device identifier.

*/ inline DeviceIdentifier& WithVendor(const char* value) { SetVendor(value); return *this;} private: Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::String m_deviceIdentifierArn; bool m_deviceIdentifierArnHasBeenSet = false; Aws::String m_iccid; bool m_iccidHasBeenSet = false; Aws::String m_imsi; bool m_imsiHasBeenSet = false; Aws::String m_networkArn; bool m_networkArnHasBeenSet = false; Aws::String m_orderArn; bool m_orderArnHasBeenSet = false; DeviceIdentifierStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_trafficGroupArn; bool m_trafficGroupArnHasBeenSet = false; Aws::String m_vendor; bool m_vendorHasBeenSet = false; }; } // namespace Model } // namespace PrivateNetworks } // namespace Aws