/* * 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 iot-2015-05-28.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.IoT.Model { /// /// Container for the parameters to the UpdateDomainConfiguration operation. /// Updates values stored in the domain configuration. Domain configurations for default /// endpoints can't be updated. /// /// /// /// Requires permission to access the UpdateDomainConfiguration /// action. /// /// public partial class UpdateDomainConfigurationRequest : AmazonIoTRequest { private AuthorizerConfig _authorizerConfig; private string _domainConfigurationName; private DomainConfigurationStatus _domainConfigurationStatus; private bool? _removeAuthorizerConfig; private TlsConfig _tlsConfig; /// /// Gets and sets the property AuthorizerConfig. /// /// An object that specifies the authorization service for a domain. /// /// public AuthorizerConfig AuthorizerConfig { get { return this._authorizerConfig; } set { this._authorizerConfig = value; } } // Check to see if AuthorizerConfig property is set internal bool IsSetAuthorizerConfig() { return this._authorizerConfig != null; } /// /// Gets and sets the property DomainConfigurationName. /// /// The name of the domain configuration to be updated. /// /// [AWSProperty(Required=true, Min=1, Max=128)] public string DomainConfigurationName { get { return this._domainConfigurationName; } set { this._domainConfigurationName = value; } } // Check to see if DomainConfigurationName property is set internal bool IsSetDomainConfigurationName() { return this._domainConfigurationName != null; } /// /// Gets and sets the property DomainConfigurationStatus. /// /// The status to which the domain configuration should be updated. /// /// public DomainConfigurationStatus DomainConfigurationStatus { get { return this._domainConfigurationStatus; } set { this._domainConfigurationStatus = value; } } // Check to see if DomainConfigurationStatus property is set internal bool IsSetDomainConfigurationStatus() { return this._domainConfigurationStatus != null; } /// /// Gets and sets the property RemoveAuthorizerConfig. /// /// Removes the authorization configuration from a domain. /// /// public bool RemoveAuthorizerConfig { get { return this._removeAuthorizerConfig.GetValueOrDefault(); } set { this._removeAuthorizerConfig = value; } } // Check to see if RemoveAuthorizerConfig property is set internal bool IsSetRemoveAuthorizerConfig() { return this._removeAuthorizerConfig.HasValue; } /// /// Gets and sets the property TlsConfig. /// /// An object that specifies the TLS configuration for a domain. /// /// public TlsConfig TlsConfig { get { return this._tlsConfig; } set { this._tlsConfig = value; } } // Check to see if TlsConfig property is set internal bool IsSetTlsConfig() { return this._tlsConfig != null; } } }