/* * 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 mediaconvert-2017-08-29.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.MediaConvert.Model { /// /// Details about the pricing plan for your reserved queue. Required for reserved queues /// and not applicable to on-demand queues. /// public partial class ReservationPlan { private Commitment _commitment; private DateTime? _expiresAt; private DateTime? _purchasedAt; private RenewalType _renewalType; private int? _reservedSlots; private ReservationPlanStatus _status; /// /// Gets and sets the property Commitment. The length of the term of your reserved queue /// pricing plan commitment. /// public Commitment Commitment { get { return this._commitment; } set { this._commitment = value; } } // Check to see if Commitment property is set internal bool IsSetCommitment() { return this._commitment != null; } /// /// Gets and sets the property ExpiresAt. The timestamp in epoch seconds for when the /// current pricing plan term for this reserved queue expires. /// public DateTime ExpiresAt { get { return this._expiresAt.GetValueOrDefault(); } set { this._expiresAt = value; } } // Check to see if ExpiresAt property is set internal bool IsSetExpiresAt() { return this._expiresAt.HasValue; } /// /// Gets and sets the property PurchasedAt. The timestamp in epoch seconds for when you /// set up the current pricing plan for this reserved queue. /// public DateTime PurchasedAt { get { return this._purchasedAt.GetValueOrDefault(); } set { this._purchasedAt = value; } } // Check to see if PurchasedAt property is set internal bool IsSetPurchasedAt() { return this._purchasedAt.HasValue; } /// /// Gets and sets the property RenewalType. Specifies whether the term of your reserved /// queue pricing plan is automatically extended (AUTO_RENEW) or expires (EXPIRE) at the /// end of the term. /// public RenewalType RenewalType { get { return this._renewalType; } set { this._renewalType = value; } } // Check to see if RenewalType property is set internal bool IsSetRenewalType() { return this._renewalType != null; } /// /// Gets and sets the property ReservedSlots. Specifies the number of reserved transcode /// slots (RTS) for this queue. The number of RTS determines how many jobs the queue can /// process in parallel; each RTS can process one job at a time. When you increase this /// number, you extend your existing commitment with a new 12-month commitment for a larger /// number of RTS. The new commitment begins when you purchase the additional capacity. /// You can't decrease the number of RTS in your reserved queue. /// public int ReservedSlots { get { return this._reservedSlots.GetValueOrDefault(); } set { this._reservedSlots = value; } } // Check to see if ReservedSlots property is set internal bool IsSetReservedSlots() { return this._reservedSlots.HasValue; } /// /// Gets and sets the property Status. Specifies whether the pricing plan for your reserved /// queue is ACTIVE or EXPIRED. /// public ReservationPlanStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } } }