/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the alexaforbusiness-2017-11-09.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AlexaForBusiness.Model { /// /// Container for the parameters to the CreateNetworkProfile operation. /// Creates a network profile with the specified details. /// public partial class CreateNetworkProfileRequest : AmazonAlexaForBusinessRequest { private string _certificateAuthorityArn; private string _clientRequestToken; private string _currentPassword; private string _description; private NetworkEapMethod _eapMethod; private string _networkProfileName; private string _nextPassword; private NetworkSecurityType _securityType; private string _ssid; private List _tags = new List(); private List _trustAnchors = new List(); /// /// Gets and sets the property CertificateAuthorityArn. /// /// The ARN of the Private Certificate Authority (PCA) created in AWS Certificate Manager /// (ACM). This is used to issue certificates to the devices. /// /// public string CertificateAuthorityArn { get { return this._certificateAuthorityArn; } set { this._certificateAuthorityArn = value; } } // Check to see if CertificateAuthorityArn property is set internal bool IsSetCertificateAuthorityArn() { return this._certificateAuthorityArn != null; } /// /// Gets and sets the property ClientRequestToken. /// [AWSProperty(Min=10, Max=150)] public string ClientRequestToken { get { return this._clientRequestToken; } set { this._clientRequestToken = value; } } // Check to see if ClientRequestToken property is set internal bool IsSetClientRequestToken() { return this._clientRequestToken != null; } /// /// Gets and sets the property CurrentPassword. /// /// The current password of the Wi-Fi network. /// /// [AWSProperty(Sensitive=true, Min=5, Max=128)] public string CurrentPassword { get { return this._currentPassword; } set { this._currentPassword = value; } } // Check to see if CurrentPassword property is set internal bool IsSetCurrentPassword() { return this._currentPassword != null; } /// /// Gets and sets the property Description. /// /// Detailed information about a device's network profile. /// /// [AWSProperty(Min=0, Max=200)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property EapMethod. /// /// The authentication standard that is used in the EAP framework. Currently, EAP_TLS /// is supported. /// /// public NetworkEapMethod EapMethod { get { return this._eapMethod; } set { this._eapMethod = value; } } // Check to see if EapMethod property is set internal bool IsSetEapMethod() { return this._eapMethod != null; } /// /// Gets and sets the property NetworkProfileName. /// /// The name of the network profile associated with a device. /// /// [AWSProperty(Required=true, Min=1, Max=100)] public string NetworkProfileName { get { return this._networkProfileName; } set { this._networkProfileName = value; } } // Check to see if NetworkProfileName property is set internal bool IsSetNetworkProfileName() { return this._networkProfileName != null; } /// /// Gets and sets the property 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. /// /// [AWSProperty(Sensitive=true, Min=0, Max=128)] public string NextPassword { get { return this._nextPassword; } set { this._nextPassword = value; } } // Check to see if NextPassword property is set internal bool IsSetNextPassword() { return this._nextPassword != null; } /// /// Gets and sets the property SecurityType. /// /// The security type of the Wi-Fi network. This can be WPA2_ENTERPRISE, WPA2_PSK, WPA_PSK, /// WEP, or OPEN. /// /// [AWSProperty(Required=true)] public NetworkSecurityType SecurityType { get { return this._securityType; } set { this._securityType = value; } } // Check to see if SecurityType property is set internal bool IsSetSecurityType() { return this._securityType != null; } /// /// Gets and sets the property Ssid. /// /// The SSID of the Wi-Fi network. /// /// [AWSProperty(Required=true, Min=1, Max=32)] public string Ssid { get { return this._ssid; } set { this._ssid = value; } } // Check to see if Ssid property is set internal bool IsSetSsid() { return this._ssid != null; } /// /// Gets and sets the property Tags. /// /// The tags to be added to the specified resource. Do not provide system tags. /// /// public List Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } /// /// Gets and sets the property TrustAnchors. /// /// The root certificates of your authentication server that is installed on your devices /// and used to trust your authentication server during EAP negotiation. /// /// [AWSProperty(Min=1, Max=5)] public List TrustAnchors { get { return this._trustAnchors; } set { this._trustAnchors = value; } } // Check to see if TrustAnchors property is set internal bool IsSetTrustAnchors() { return this._trustAnchors != null && this._trustAnchors.Count > 0; } } }