/* * 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 servicediscovery-2017-03-14.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.ServiceDiscovery.Model { /// /// Container for the parameters to the UpdatePublicDnsNamespace operation. /// Updates a public DNS namespace. /// public partial class UpdatePublicDnsNamespaceRequest : AmazonServiceDiscoveryRequest { private string _id; private PublicDnsNamespaceChange _awsNamespace; private string _updaterRequestId; /// /// Gets and sets the property Id. /// /// The ID of the namespace being updated. /// /// [AWSProperty(Required=true, Max=64)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } /// /// Gets and sets the property Namespace. /// /// Updated properties for the public DNS namespace. /// /// [AWSProperty(Required=true)] public PublicDnsNamespaceChange Namespace { get { return this._awsNamespace; } set { this._awsNamespace = value; } } // Check to see if Namespace property is set internal bool IsSetNamespace() { return this._awsNamespace != null; } /// /// Gets and sets the property UpdaterRequestId. /// /// A unique string that identifies the request and that allows failed UpdatePublicDnsNamespace /// requests to be retried without the risk of running the operation twice. UpdaterRequestId /// can be any unique string (for example, a date/timestamp). /// /// [AWSProperty(Max=64)] public string UpdaterRequestId { get { return this._updaterRequestId; } set { this._updaterRequestId = value; } } // Check to see if UpdaterRequestId property is set internal bool IsSetUpdaterRequestId() { return this._updaterRequestId != null; } } }