/* * 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 payment-cryptography-2021-09-14.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.PaymentCryptography.Model { /// /// Container for the parameters to the ListKeys operation. /// Lists the keys in the caller's Amazon Web Services account and Amazon Web Services /// Region. You can filter the list of keys. /// /// /// /// This is a paginated operation, which means that each response might contain only a /// subset of all the keys. When the response contains only a subset of keys, it includes /// a NextToken value. Use this value in a subsequent ListKeys /// request to get more keys. When you receive a response with no NextToken (or an empty /// or null value), that means there are no more keys to get. /// /// /// /// Cross-account use: This operation can't be used across different Amazon Web /// Services accounts. /// /// /// /// Related operations: /// /// /// public partial class ListKeysRequest : AmazonPaymentCryptographyRequest { private KeyState _keyState; private int? _maxResults; private string _nextToken; /// /// Gets and sets the property KeyState. /// /// The key state of the keys you want to list. /// /// public KeyState KeyState { get { return this._keyState; } set { this._keyState = value; } } // Check to see if KeyState property is set internal bool IsSetKeyState() { return this._keyState != null; } /// /// Gets and sets the property MaxResults. /// /// Use this parameter to specify the maximum number of items to return. When this value /// is present, Amazon Web Services Payment Cryptography does not return more than the /// specified number of items, but it might return fewer. /// /// [AWSProperty(Min=1, Max=100)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// /// Gets and sets the property NextToken. /// /// Use this parameter in a subsequent request after you receive a response with truncated /// results. Set it to the value of NextToken from the truncated response /// you just received. /// /// [AWSProperty(Min=1, Max=8192)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }