/* * 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 elasticmapreduce-2009-03-31.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.ElasticMapReduce.Model { /// /// The type of adjustment the automatic scaling activity makes when triggered, and the /// periodicity of the adjustment. /// public partial class ScalingAction { private MarketType _market; private SimpleScalingPolicyConfiguration _simpleScalingPolicyConfiguration; /// /// Gets and sets the property Market. /// /// Not available for instance groups. Instance groups use the market type specified for /// the group. /// /// public MarketType Market { get { return this._market; } set { this._market = value; } } // Check to see if Market property is set internal bool IsSetMarket() { return this._market != null; } /// /// Gets and sets the property SimpleScalingPolicyConfiguration. /// /// The type of adjustment the automatic scaling activity makes when triggered, and the /// periodicity of the adjustment. /// /// [AWSProperty(Required=true)] public SimpleScalingPolicyConfiguration SimpleScalingPolicyConfiguration { get { return this._simpleScalingPolicyConfiguration; } set { this._simpleScalingPolicyConfiguration = value; } } // Check to see if SimpleScalingPolicyConfiguration property is set internal bool IsSetSimpleScalingPolicyConfiguration() { return this._simpleScalingPolicyConfiguration != null; } } }