/* * 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 snowball-2016-06-30.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.Snowball.Model { /// /// Container for the parameters to the UpdateLongTermPricing operation. /// Updates the long-term pricing type. /// public partial class UpdateLongTermPricingRequest : AmazonSnowballRequest { private bool? _isLongTermPricingAutoRenew; private string _longTermPricingId; private string _replacementJob; /// /// Gets and sets the property IsLongTermPricingAutoRenew. /// /// If set to true, specifies that the current long-term pricing type for /// the device should be automatically renewed before the long-term pricing contract expires. /// /// public bool IsLongTermPricingAutoRenew { get { return this._isLongTermPricingAutoRenew.GetValueOrDefault(); } set { this._isLongTermPricingAutoRenew = value; } } // Check to see if IsLongTermPricingAutoRenew property is set internal bool IsSetIsLongTermPricingAutoRenew() { return this._isLongTermPricingAutoRenew.HasValue; } /// /// Gets and sets the property LongTermPricingId. /// /// The ID of the long-term pricing type for the device. /// /// [AWSProperty(Required=true, Min=41, Max=41)] public string LongTermPricingId { get { return this._longTermPricingId; } set { this._longTermPricingId = value; } } // Check to see if LongTermPricingId property is set internal bool IsSetLongTermPricingId() { return this._longTermPricingId != null; } /// /// Gets and sets the property ReplacementJob. /// /// Specifies that a device that is ordered with long-term pricing should be replaced /// with a new device. /// /// [AWSProperty(Min=39, Max=39)] public string ReplacementJob { get { return this._replacementJob; } set { this._replacementJob = value; } } // Check to see if ReplacementJob property is set internal bool IsSetReplacementJob() { return this._replacementJob != null; } } }