/* * Copyright 2010-2014 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 dynamodb-2012-08-10.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.DynamoDBv2.Model { /// /// Represents the settings of a global secondary index for a global table that will be /// modified. /// public partial class GlobalTableGlobalSecondaryIndexSettingsUpdate { private string _indexName; private AutoScalingSettingsUpdate _provisionedWriteCapacityAutoScalingSettingsUpdate; private long? _provisionedWriteCapacityUnits; /// /// Gets and sets the property IndexName. /// /// The name of the global secondary index. The name must be unique among all other indexes /// on this table. /// /// [AWSProperty(Required=true, Min=3, Max=255)] public string IndexName { get { return this._indexName; } set { this._indexName = value; } } // Check to see if IndexName property is set internal bool IsSetIndexName() { return this._indexName != null; } /// /// Gets and sets the property ProvisionedWriteCapacityAutoScalingSettingsUpdate. /// /// Auto scaling settings for managing a global secondary index's write capacity units. /// /// public AutoScalingSettingsUpdate ProvisionedWriteCapacityAutoScalingSettingsUpdate { get { return this._provisionedWriteCapacityAutoScalingSettingsUpdate; } set { this._provisionedWriteCapacityAutoScalingSettingsUpdate = value; } } // Check to see if ProvisionedWriteCapacityAutoScalingSettingsUpdate property is set internal bool IsSetProvisionedWriteCapacityAutoScalingSettingsUpdate() { return this._provisionedWriteCapacityAutoScalingSettingsUpdate != null; } /// /// Gets and sets the property ProvisionedWriteCapacityUnits. /// /// The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException. /// /// /// [AWSProperty(Min=1)] public long ProvisionedWriteCapacityUnits { get { return this._provisionedWriteCapacityUnits.GetValueOrDefault(); } set { this._provisionedWriteCapacityUnits = value; } } // Check to see if ProvisionedWriteCapacityUnits property is set internal bool IsSetProvisionedWriteCapacityUnits() { return this._provisionedWriteCapacityUnits.HasValue; } } }