/*
* 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 globalaccelerator-2018-08-08.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.GlobalAccelerator.Model
{
///
/// Container for the parameters to the ProvisionByoipCidr operation.
/// Provisions an IP address range to use with your Amazon Web Services resources through
/// bring your own IP addresses (BYOIP) and creates a corresponding address pool. After
/// the address range is provisioned, it is ready to be advertised using
/// AdvertiseByoipCidr.
///
///
///
/// For more information, see Bring
/// your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.
///
///
public partial class ProvisionByoipCidrRequest : AmazonGlobalAcceleratorRequest
{
private string _cidr;
private CidrAuthorizationContext _cidrAuthorizationContext;
///
/// Gets and sets the property Cidr.
///
/// The public IPv4 address range, in CIDR notation. The most specific IP prefix that
/// you can specify is /24. The address range cannot overlap with another address range
/// that you've brought to this or another Region.
///
///
[AWSProperty(Required=true, Max=255)]
public string Cidr
{
get { return this._cidr; }
set { this._cidr = value; }
}
// Check to see if Cidr property is set
internal bool IsSetCidr()
{
return this._cidr != null;
}
///
/// Gets and sets the property CidrAuthorizationContext.
///
/// A signed document that proves that you are authorized to bring the specified IP address
/// range to Amazon using BYOIP.
///
///
[AWSProperty(Required=true)]
public CidrAuthorizationContext CidrAuthorizationContext
{
get { return this._cidrAuthorizationContext; }
set { this._cidrAuthorizationContext = value; }
}
// Check to see if CidrAuthorizationContext property is set
internal bool IsSetCidrAuthorizationContext()
{
return this._cidrAuthorizationContext != null;
}
}
}