/*
* 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 TransactGetItems operation.
///
public partial class TransactGetItemsResponse : AmazonWebServiceResponse
{
private List _consumedCapacity = new List();
private List _responses = new List();
///
/// Gets and sets the property ConsumedCapacity.
///
/// If the ReturnConsumedCapacity value was TOTAL
, this is an array
/// of ConsumedCapacity
objects, one for each table addressed by TransactGetItem
/// objects in the TransactItems parameter. These ConsumedCapacity
/// objects report the read-capacity units consumed by the TransactGetItems
/// call in that table.
///
///
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 Responses.
///
/// An ordered array of up to 25 ItemResponse
objects, each of which corresponds
/// to the TransactGetItem
object in the same position in the TransactItems
/// array. Each ItemResponse
object contains a Map of the name-value pairs
/// that are the projected attributes of the requested item.
///
///
///
/// If a requested item could not be retrieved, the corresponding ItemResponse
/// object is Null, or if the requested item has no projected attributes, the corresponding
/// ItemResponse
object is an empty Map.
///
///
[AWSProperty(Min=1, Max=25)]
public List Responses
{
get { return this._responses; }
set { this._responses = value; }
}
// Check to see if Responses property is set
internal bool IsSetResponses()
{
return this._responses != null && this._responses.Count > 0;
}
}
}