/* * 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 ec2-2016-11-15.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.EC2.Model { /// /// Container for the parameters to the CreateIpamScope operation. /// Create an IPAM scope. In IPAM, a scope is the highest-level container within IPAM. /// An IPAM contains two default scopes. Each scope represents the IP space for a single /// network. The private scope is intended for all private IP address space. The public /// scope is intended for all public IP address space. Scopes enable you to reuse IP addresses /// across multiple unconnected networks without causing IP address overlap or conflict. /// /// /// /// For more information, see Add /// a scope in the Amazon VPC IPAM User Guide. /// /// public partial class CreateIpamScopeRequest : AmazonEC2Request { private string _clientToken; private string _description; private string _ipamId; private List _tagSpecifications = new List(); /// /// Gets and sets the property ClientToken. /// /// A unique, case-sensitive identifier that you provide to ensure the idempotency of /// the request. For more information, see Ensuring /// Idempotency. /// /// public string ClientToken { get { return this._clientToken; } set { this._clientToken = value; } } // Check to see if ClientToken property is set internal bool IsSetClientToken() { return this._clientToken != null; } /// /// Gets and sets the property Description. /// /// A description for the scope you're creating. /// /// 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 IpamId. /// /// The ID of the IPAM for which you're creating this scope. /// /// [AWSProperty(Required=true)] public string IpamId { get { return this._ipamId; } set { this._ipamId = value; } } // Check to see if IpamId property is set internal bool IsSetIpamId() { return this._ipamId != null; } /// /// Gets and sets the property TagSpecifications. /// /// The key/value combination of a tag assigned to the resource. Use the tag key in the /// filter name and the tag value as the filter value. For example, to find all resources /// that have a tag with the key Owner and the value TeamA, /// specify tag:Owner for the filter name and TeamA for the /// filter value. /// /// public List TagSpecifications { get { return this._tagSpecifications; } set { this._tagSpecifications = value; } } // Check to see if TagSpecifications property is set internal bool IsSetTagSpecifications() { return this._tagSpecifications != null && this._tagSpecifications.Count > 0; } } }