/*
* 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
{
///
/// This is the response object from the TransactWriteItems operation.
///
public partial class TransactWriteItemsResponse : AmazonWebServiceResponse
{
private List _consumedCapacity = new List();
private Dictionary> _itemCollectionMetrics = new Dictionary>();
///
/// Gets and sets the property ConsumedCapacity.
///
/// The capacity units consumed by the entire TransactWriteItems
operation.
/// The values of the list are ordered according to the ordering of the TransactItems
/// request parameter.
///
///
public List ConsumedCapacity
{
get { return this._consumedCapacity; }
set { this._consumedCapacity = value; }
}
// Check to see if ConsumedCapacity property is set
internal bool IsSetConsumedCapacity()
{
return this._consumedCapacity != null && this._consumedCapacity.Count > 0;
}
///
/// Gets and sets the property ItemCollectionMetrics.
///
/// A list of tables that were processed by TransactWriteItems
and, for each
/// table, information about any item collections that were affected by individual UpdateItem
,
/// PutItem
, or DeleteItem
operations.
///
///
public Dictionary> ItemCollectionMetrics
{
get { return this._itemCollectionMetrics; }
set { this._itemCollectionMetrics = value; }
}
// Check to see if ItemCollectionMetrics property is set
internal bool IsSetItemCollectionMetrics()
{
return this._itemCollectionMetrics != null && this._itemCollectionMetrics.Count > 0;
}
}
}