/*
* 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 kms-2014-11-01.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.KeyManagementService.Model
{
///
/// This is the response object from the ListKeys operation.
///
public partial class ListKeysResponse : AmazonWebServiceResponse
{
private List _keys = new List();
private string _nextMarker;
private bool? _truncated;
///
/// Gets and sets the property Keys.
///
/// A list of KMS keys.
///
///
public List Keys
{
get { return this._keys; }
set { this._keys = value; }
}
// Check to see if Keys property is set
internal bool IsSetKeys()
{
return this._keys != null && this._keys.Count > 0;
}
///
/// Gets and sets the property NextMarker.
///
/// When Truncated
is true, this element is present and contains the value
/// to use for the Marker
parameter in a subsequent request.
///
///
[AWSProperty(Min=1, Max=1024)]
public string NextMarker
{
get { return this._nextMarker; }
set { this._nextMarker = value; }
}
// Check to see if NextMarker property is set
internal bool IsSetNextMarker()
{
return this._nextMarker != null;
}
///
/// Gets and sets the property Truncated.
///
/// A flag that indicates whether there are more items in the list. When this value is
/// true, the list in this response is truncated. To get more items, pass the value of
/// the NextMarker
element in thisresponse to the Marker
parameter
/// in a subsequent request.
///
///
public bool Truncated
{
get { return this._truncated.GetValueOrDefault(); }
set { this._truncated = value; }
}
// Check to see if Truncated property is set
internal bool IsSetTruncated()
{
return this._truncated.HasValue;
}
}
}