/*
* 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 privatenetworks-2021-12-03.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.Private5G.Model
{
///
/// Container for the parameters to the ActivateNetworkSite operation.
/// Activates the specified network site.
///
public partial class ActivateNetworkSiteRequest : AmazonPrivate5GRequest
{
private string _clientToken;
private CommitmentConfiguration _commitmentConfiguration;
private string _networkSiteArn;
private Address _shippingAddress;
///
/// Gets and sets the property ClientToken.
///
/// Unique, case-sensitive identifier that you provide to ensure the idempotency of the
/// request. For more information, see How
/// to ensure idempotency.
///
///
[AWSProperty(Min=1, Max=100)]
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 CommitmentConfiguration.
///
/// Determines the duration and renewal status of the commitment period for all pending
/// radio units.
///
///
///
/// If you include commitmentConfiguration
in the ActivateNetworkSiteRequest
/// action, you must specify the following:
///
/// -
///
/// The commitment period for the radio unit. You can choose a 60-day, 1-year, or 3-year
/// period.
///
///
-
///
/// Whether you want your commitment period to automatically renew for one more year after
/// your current commitment period expires.
///
///
///
/// For pricing, see Amazon Web Services
/// Private 5G Pricing.
///
///
///
/// If you do not include commitmentConfiguration
in the ActivateNetworkSiteRequest
/// action, the commitment period is set to 60-days.
///
///
public CommitmentConfiguration CommitmentConfiguration
{
get { return this._commitmentConfiguration; }
set { this._commitmentConfiguration = value; }
}
// Check to see if CommitmentConfiguration property is set
internal bool IsSetCommitmentConfiguration()
{
return this._commitmentConfiguration != null;
}
///
/// Gets and sets the property NetworkSiteArn.
///
/// The Amazon Resource Name (ARN) of the network site.
///
///
[AWSProperty(Required=true)]
public string NetworkSiteArn
{
get { return this._networkSiteArn; }
set { this._networkSiteArn = value; }
}
// Check to see if NetworkSiteArn property is set
internal bool IsSetNetworkSiteArn()
{
return this._networkSiteArn != null;
}
///
/// Gets and sets the property ShippingAddress.
///
/// The shipping address of the network site.
///
///
[AWSProperty(Required=true)]
public Address ShippingAddress
{
get { return this._shippingAddress; }
set { this._shippingAddress = value; }
}
// Check to see if ShippingAddress property is set
internal bool IsSetShippingAddress()
{
return this._shippingAddress != null;
}
}
}