/* * 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 StartNetworkResourceUpdate operation. /// Use this action to do the following tasks: /// /// /// /// After you submit a request to replace or return a network resource, the status of /// the network resource changes to CREATING_SHIPPING_LABEL. The shipping /// label is available when the status of the network resource is PENDING_RETURN. /// After the network resource is successfully returned, its status changes to DELETED. /// For more information, see Return /// a radio unit. /// /// public partial class StartNetworkResourceUpdateRequest : AmazonPrivate5GRequest { private CommitmentConfiguration _commitmentConfiguration; private string _networkResourceArn; private string _returnReason; private Address _shippingAddress; private UpdateType _updateType; /// /// Gets and sets the property CommitmentConfiguration. /// /// Use this action to extend and automatically renew the commitment period for the radio /// unit. You can do the following: /// /// /// /// For pricing, see Amazon Web Services /// Private 5G Pricing. /// /// 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 NetworkResourceArn. /// /// The Amazon Resource Name (ARN) of the network resource. /// /// [AWSProperty(Required=true)] public string NetworkResourceArn { get { return this._networkResourceArn; } set { this._networkResourceArn = value; } } // Check to see if NetworkResourceArn property is set internal bool IsSetNetworkResourceArn() { return this._networkResourceArn != null; } /// /// Gets and sets the property ReturnReason. /// /// The reason for the return. Providing a reason for a return is optional. /// /// [AWSProperty(Min=0, Max=1000)] public string ReturnReason { get { return this._returnReason; } set { this._returnReason = value; } } // Check to see if ReturnReason property is set internal bool IsSetReturnReason() { return this._returnReason != null; } /// /// Gets and sets the property ShippingAddress. /// /// The shipping address. If you don't provide a shipping address when replacing or returning /// a network resource, we use the address from the original order for the network resource. /// /// 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; } /// /// Gets and sets the property UpdateType. /// /// The update type. /// /// /// [AWSProperty(Required=true)] public UpdateType UpdateType { get { return this._updateType; } set { this._updateType = value; } } // Check to see if UpdateType property is set internal bool IsSetUpdateType() { return this._updateType != null; } } }