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

The network profile associated with a device.

See Also:

AWS * API Reference

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

The ARN of the network profile associated with a device.

*/ inline const Aws::String& GetNetworkProfileArn() const{ return m_networkProfileArn; } /** *

The ARN of the network profile associated with a device.

*/ inline bool NetworkProfileArnHasBeenSet() const { return m_networkProfileArnHasBeenSet; } /** *

The ARN of the network profile associated with a device.

*/ inline void SetNetworkProfileArn(const Aws::String& value) { m_networkProfileArnHasBeenSet = true; m_networkProfileArn = value; } /** *

The ARN of the network profile associated with a device.

*/ inline void SetNetworkProfileArn(Aws::String&& value) { m_networkProfileArnHasBeenSet = true; m_networkProfileArn = std::move(value); } /** *

The ARN of the network profile associated with a device.

*/ inline void SetNetworkProfileArn(const char* value) { m_networkProfileArnHasBeenSet = true; m_networkProfileArn.assign(value); } /** *

The ARN of the network profile associated with a device.

*/ inline NetworkProfile& WithNetworkProfileArn(const Aws::String& value) { SetNetworkProfileArn(value); return *this;} /** *

The ARN of the network profile associated with a device.

*/ inline NetworkProfile& WithNetworkProfileArn(Aws::String&& value) { SetNetworkProfileArn(std::move(value)); return *this;} /** *

The ARN of the network profile associated with a device.

*/ inline NetworkProfile& WithNetworkProfileArn(const char* value) { SetNetworkProfileArn(value); return *this;} /** *

The name of the network profile associated with a device.

*/ inline const Aws::String& GetNetworkProfileName() const{ return m_networkProfileName; } /** *

The name of the network profile associated with a device.

*/ inline bool NetworkProfileNameHasBeenSet() const { return m_networkProfileNameHasBeenSet; } /** *

The name of the network profile associated with a device.

*/ inline void SetNetworkProfileName(const Aws::String& value) { m_networkProfileNameHasBeenSet = true; m_networkProfileName = value; } /** *

The name of the network profile associated with a device.

*/ inline void SetNetworkProfileName(Aws::String&& value) { m_networkProfileNameHasBeenSet = true; m_networkProfileName = std::move(value); } /** *

The name of the network profile associated with a device.

*/ inline void SetNetworkProfileName(const char* value) { m_networkProfileNameHasBeenSet = true; m_networkProfileName.assign(value); } /** *

The name of the network profile associated with a device.

*/ inline NetworkProfile& WithNetworkProfileName(const Aws::String& value) { SetNetworkProfileName(value); return *this;} /** *

The name of the network profile associated with a device.

*/ inline NetworkProfile& WithNetworkProfileName(Aws::String&& value) { SetNetworkProfileName(std::move(value)); return *this;} /** *

The name of the network profile associated with a device.

*/ inline NetworkProfile& WithNetworkProfileName(const char* value) { SetNetworkProfileName(value); return *this;} /** *

Detailed information about a device's network profile.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

Detailed information about a device's network profile.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

Detailed information about a device's network profile.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

Detailed information about a device's network profile.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

Detailed information about a device's network profile.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

Detailed information about a device's network profile.

*/ inline NetworkProfile& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

Detailed information about a device's network profile.

*/ inline NetworkProfile& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

Detailed information about a device's network profile.

*/ inline NetworkProfile& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The SSID of the Wi-Fi network.

*/ inline const Aws::String& GetSsid() const{ return m_ssid; } /** *

The SSID of the Wi-Fi network.

*/ inline bool SsidHasBeenSet() const { return m_ssidHasBeenSet; } /** *

The SSID of the Wi-Fi network.

*/ inline void SetSsid(const Aws::String& value) { m_ssidHasBeenSet = true; m_ssid = value; } /** *

The SSID of the Wi-Fi network.

*/ inline void SetSsid(Aws::String&& value) { m_ssidHasBeenSet = true; m_ssid = std::move(value); } /** *

The SSID of the Wi-Fi network.

*/ inline void SetSsid(const char* value) { m_ssidHasBeenSet = true; m_ssid.assign(value); } /** *

The SSID of the Wi-Fi network.

*/ inline NetworkProfile& WithSsid(const Aws::String& value) { SetSsid(value); return *this;} /** *

The SSID of the Wi-Fi network.

*/ inline NetworkProfile& WithSsid(Aws::String&& value) { SetSsid(std::move(value)); return *this;} /** *

The SSID of the Wi-Fi network.

*/ inline NetworkProfile& WithSsid(const char* value) { SetSsid(value); return *this;} /** *

The security type of the Wi-Fi network. This can be WPA2_ENTERPRISE, * WPA2_PSK, WPA_PSK, WEP, or OPEN.

*/ inline const NetworkSecurityType& GetSecurityType() const{ return m_securityType; } /** *

The security type of the Wi-Fi network. This can be WPA2_ENTERPRISE, * WPA2_PSK, WPA_PSK, WEP, or OPEN.

*/ inline bool SecurityTypeHasBeenSet() const { return m_securityTypeHasBeenSet; } /** *

The security type of the Wi-Fi network. This can be WPA2_ENTERPRISE, * WPA2_PSK, WPA_PSK, WEP, or OPEN.

*/ inline void SetSecurityType(const NetworkSecurityType& value) { m_securityTypeHasBeenSet = true; m_securityType = value; } /** *

The security type of the Wi-Fi network. This can be WPA2_ENTERPRISE, * WPA2_PSK, WPA_PSK, WEP, or OPEN.

*/ inline void SetSecurityType(NetworkSecurityType&& value) { m_securityTypeHasBeenSet = true; m_securityType = std::move(value); } /** *

The security type of the Wi-Fi network. This can be WPA2_ENTERPRISE, * WPA2_PSK, WPA_PSK, WEP, or OPEN.

*/ inline NetworkProfile& WithSecurityType(const NetworkSecurityType& value) { SetSecurityType(value); return *this;} /** *

The security type of the Wi-Fi network. This can be WPA2_ENTERPRISE, * WPA2_PSK, WPA_PSK, WEP, or OPEN.

*/ inline NetworkProfile& WithSecurityType(NetworkSecurityType&& value) { SetSecurityType(std::move(value)); return *this;} /** *

The authentication standard that is used in the EAP framework. Currently, * EAP_TLS is supported.

*/ inline const NetworkEapMethod& GetEapMethod() const{ return m_eapMethod; } /** *

The authentication standard that is used in the EAP framework. Currently, * EAP_TLS is supported.

*/ inline bool EapMethodHasBeenSet() const { return m_eapMethodHasBeenSet; } /** *

The authentication standard that is used in the EAP framework. Currently, * EAP_TLS is supported.

*/ inline void SetEapMethod(const NetworkEapMethod& value) { m_eapMethodHasBeenSet = true; m_eapMethod = value; } /** *

The authentication standard that is used in the EAP framework. Currently, * EAP_TLS is supported.

*/ inline void SetEapMethod(NetworkEapMethod&& value) { m_eapMethodHasBeenSet = true; m_eapMethod = std::move(value); } /** *

The authentication standard that is used in the EAP framework. Currently, * EAP_TLS is supported.

*/ inline NetworkProfile& WithEapMethod(const NetworkEapMethod& value) { SetEapMethod(value); return *this;} /** *

The authentication standard that is used in the EAP framework. Currently, * EAP_TLS is supported.

*/ inline NetworkProfile& WithEapMethod(NetworkEapMethod&& value) { SetEapMethod(std::move(value)); return *this;} /** *

The current password of the Wi-Fi network.

*/ inline const Aws::String& GetCurrentPassword() const{ return m_currentPassword; } /** *

The current password of the Wi-Fi network.

*/ inline bool CurrentPasswordHasBeenSet() const { return m_currentPasswordHasBeenSet; } /** *

The current password of the Wi-Fi network.

*/ inline void SetCurrentPassword(const Aws::String& value) { m_currentPasswordHasBeenSet = true; m_currentPassword = value; } /** *

The current password of the Wi-Fi network.

*/ inline void SetCurrentPassword(Aws::String&& value) { m_currentPasswordHasBeenSet = true; m_currentPassword = std::move(value); } /** *

The current password of the Wi-Fi network.

*/ inline void SetCurrentPassword(const char* value) { m_currentPasswordHasBeenSet = true; m_currentPassword.assign(value); } /** *

The current password of the Wi-Fi network.

*/ inline NetworkProfile& WithCurrentPassword(const Aws::String& value) { SetCurrentPassword(value); return *this;} /** *

The current password of the Wi-Fi network.

*/ inline NetworkProfile& WithCurrentPassword(Aws::String&& value) { SetCurrentPassword(std::move(value)); return *this;} /** *

The current password of the Wi-Fi network.

*/ inline NetworkProfile& WithCurrentPassword(const char* value) { SetCurrentPassword(value); return *this;} /** *

The next, or subsequent, password of the Wi-Fi network. This password is * asynchronously transmitted to the device and is used when the password of the * network changes to NextPassword.

*/ inline const Aws::String& GetNextPassword() const{ return m_nextPassword; } /** *

The next, or subsequent, password of the Wi-Fi network. This password is * asynchronously transmitted to the device and is used when the password of the * network changes to NextPassword.

*/ inline bool NextPasswordHasBeenSet() const { return m_nextPasswordHasBeenSet; } /** *

The next, or subsequent, password of the Wi-Fi network. This password is * asynchronously transmitted to the device and is used when the password of the * network changes to NextPassword.

*/ inline void SetNextPassword(const Aws::String& value) { m_nextPasswordHasBeenSet = true; m_nextPassword = value; } /** *

The next, or subsequent, password of the Wi-Fi network. This password is * asynchronously transmitted to the device and is used when the password of the * network changes to NextPassword.

*/ inline void SetNextPassword(Aws::String&& value) { m_nextPasswordHasBeenSet = true; m_nextPassword = std::move(value); } /** *

The next, or subsequent, password of the Wi-Fi network. This password is * asynchronously transmitted to the device and is used when the password of the * network changes to NextPassword.

*/ inline void SetNextPassword(const char* value) { m_nextPasswordHasBeenSet = true; m_nextPassword.assign(value); } /** *

The next, or subsequent, password of the Wi-Fi network. This password is * asynchronously transmitted to the device and is used when the password of the * network changes to NextPassword.

*/ inline NetworkProfile& WithNextPassword(const Aws::String& value) { SetNextPassword(value); return *this;} /** *

The next, or subsequent, password of the Wi-Fi network. This password is * asynchronously transmitted to the device and is used when the password of the * network changes to NextPassword.

*/ inline NetworkProfile& WithNextPassword(Aws::String&& value) { SetNextPassword(std::move(value)); return *this;} /** *

The next, or subsequent, password of the Wi-Fi network. This password is * asynchronously transmitted to the device and is used when the password of the * network changes to NextPassword.

*/ inline NetworkProfile& WithNextPassword(const char* value) { SetNextPassword(value); return *this;} /** *

The ARN of the Private Certificate Authority (PCA) created in AWS Certificate * Manager (ACM). This is used to issue certificates to the devices.

*/ inline const Aws::String& GetCertificateAuthorityArn() const{ return m_certificateAuthorityArn; } /** *

The ARN of the Private Certificate Authority (PCA) created in AWS Certificate * Manager (ACM). This is used to issue certificates to the devices.

*/ inline bool CertificateAuthorityArnHasBeenSet() const { return m_certificateAuthorityArnHasBeenSet; } /** *

The ARN of the Private Certificate Authority (PCA) created in AWS Certificate * Manager (ACM). This is used to issue certificates to the devices.

*/ inline void SetCertificateAuthorityArn(const Aws::String& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = value; } /** *

The ARN of the Private Certificate Authority (PCA) created in AWS Certificate * Manager (ACM). This is used to issue certificates to the devices.

*/ inline void SetCertificateAuthorityArn(Aws::String&& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = std::move(value); } /** *

The ARN of the Private Certificate Authority (PCA) created in AWS Certificate * Manager (ACM). This is used to issue certificates to the devices.

*/ inline void SetCertificateAuthorityArn(const char* value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn.assign(value); } /** *

The ARN of the Private Certificate Authority (PCA) created in AWS Certificate * Manager (ACM). This is used to issue certificates to the devices.

*/ inline NetworkProfile& WithCertificateAuthorityArn(const Aws::String& value) { SetCertificateAuthorityArn(value); return *this;} /** *

The ARN of the Private Certificate Authority (PCA) created in AWS Certificate * Manager (ACM). This is used to issue certificates to the devices.

*/ inline NetworkProfile& WithCertificateAuthorityArn(Aws::String&& value) { SetCertificateAuthorityArn(std::move(value)); return *this;} /** *

The ARN of the Private Certificate Authority (PCA) created in AWS Certificate * Manager (ACM). This is used to issue certificates to the devices.

*/ inline NetworkProfile& WithCertificateAuthorityArn(const char* value) { SetCertificateAuthorityArn(value); return *this;} /** *

The root certificates of your authentication server, which is installed on * your devices and used to trust your authentication server during EAP * negotiation.

*/ inline const Aws::Vector& GetTrustAnchors() const{ return m_trustAnchors; } /** *

The root certificates of your authentication server, which is installed on * your devices and used to trust your authentication server during EAP * negotiation.

*/ inline bool TrustAnchorsHasBeenSet() const { return m_trustAnchorsHasBeenSet; } /** *

The root certificates of your authentication server, which is installed on * your devices and used to trust your authentication server during EAP * negotiation.

*/ inline void SetTrustAnchors(const Aws::Vector& value) { m_trustAnchorsHasBeenSet = true; m_trustAnchors = value; } /** *

The root certificates of your authentication server, which is installed on * your devices and used to trust your authentication server during EAP * negotiation.

*/ inline void SetTrustAnchors(Aws::Vector&& value) { m_trustAnchorsHasBeenSet = true; m_trustAnchors = std::move(value); } /** *

The root certificates of your authentication server, which is installed on * your devices and used to trust your authentication server during EAP * negotiation.

*/ inline NetworkProfile& WithTrustAnchors(const Aws::Vector& value) { SetTrustAnchors(value); return *this;} /** *

The root certificates of your authentication server, which is installed on * your devices and used to trust your authentication server during EAP * negotiation.

*/ inline NetworkProfile& WithTrustAnchors(Aws::Vector&& value) { SetTrustAnchors(std::move(value)); return *this;} /** *

The root certificates of your authentication server, which is installed on * your devices and used to trust your authentication server during EAP * negotiation.

*/ inline NetworkProfile& AddTrustAnchors(const Aws::String& value) { m_trustAnchorsHasBeenSet = true; m_trustAnchors.push_back(value); return *this; } /** *

The root certificates of your authentication server, which is installed on * your devices and used to trust your authentication server during EAP * negotiation.

*/ inline NetworkProfile& AddTrustAnchors(Aws::String&& value) { m_trustAnchorsHasBeenSet = true; m_trustAnchors.push_back(std::move(value)); return *this; } /** *

The root certificates of your authentication server, which is installed on * your devices and used to trust your authentication server during EAP * negotiation.

*/ inline NetworkProfile& AddTrustAnchors(const char* value) { m_trustAnchorsHasBeenSet = true; m_trustAnchors.push_back(value); return *this; } private: Aws::String m_networkProfileArn; bool m_networkProfileArnHasBeenSet = false; Aws::String m_networkProfileName; bool m_networkProfileNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_ssid; bool m_ssidHasBeenSet = false; NetworkSecurityType m_securityType; bool m_securityTypeHasBeenSet = false; NetworkEapMethod m_eapMethod; bool m_eapMethodHasBeenSet = false; Aws::String m_currentPassword; bool m_currentPasswordHasBeenSet = false; Aws::String m_nextPassword; bool m_nextPasswordHasBeenSet = false; Aws::String m_certificateAuthorityArn; bool m_certificateAuthorityArnHasBeenSet = false; Aws::Vector m_trustAnchors; bool m_trustAnchorsHasBeenSet = false; }; } // namespace Model } // namespace AlexaForBusiness } // namespace Aws