/* * 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 UpdateNetworkProfile operation. /// Updates a network profile by the network profile ARN. /// public partial class UpdateNetworkProfileRequest : AmazonAlexaForBusinessRequest { private string _certificateAuthorityArn; private string _currentPassword; private string _description; private string _networkProfileArn; private string _networkProfileName; private string _nextPassword; 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 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 NetworkProfileArn. /// /// The ARN of the network profile associated with a device. /// /// [AWSProperty(Required=true)] public string NetworkProfileArn { get { return this._networkProfileArn; } set { this._networkProfileArn = value; } } // Check to see if NetworkProfileArn property is set internal bool IsSetNetworkProfileArn() { return this._networkProfileArn != null; } /// /// Gets and sets the property NetworkProfileName. /// /// The name of the network profile associated with a device. /// /// [AWSProperty(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 TrustAnchors. /// /// The root certificate(s) of your authentication server that will be 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; } } }