/* * 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 securityhub-2018-10-26.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.SecurityHub.Model { /// /// The default capacity provider strategy for the cluster. The default capacity provider /// strategy is used when services or tasks are run without a specified launch type or /// capacity provider strategy. /// public partial class AwsEcsClusterDefaultCapacityProviderStrategyDetails { private int? _base; private string _capacityProvider; private int? _weight; /// /// Gets and sets the property Base. /// /// The minimum number of tasks to run on the specified capacity provider. /// /// public int Base { get { return this._base.GetValueOrDefault(); } set { this._base = value; } } // Check to see if Base property is set internal bool IsSetBase() { return this._base.HasValue; } /// /// Gets and sets the property CapacityProvider. /// /// The name of the capacity provider. /// /// public string CapacityProvider { get { return this._capacityProvider; } set { this._capacityProvider = value; } } // Check to see if CapacityProvider property is set internal bool IsSetCapacityProvider() { return this._capacityProvider != null; } /// /// Gets and sets the property Weight. /// /// The relative percentage of the total number of tasks launched that should use the /// capacity provider. /// /// public int Weight { get { return this._weight.GetValueOrDefault(); } set { this._weight = value; } } // Check to see if Weight property is set internal bool IsSetWeight() { return this._weight.HasValue; } } }