/*
* 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 signer-2017-08-25.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.Signer.Model
{
///
/// Container for the parameters to the ListSigningProfiles operation.
/// Lists all available signing profiles in your AWS account. Returns only profiles with
/// an ACTIVE status unless the includeCanceled request field
/// is set to true. If additional jobs remain to be listed, code signing
/// returns a nextToken value. Use this value in subsequent calls to ListSigningJobs
/// to fetch the remaining values. You can continue calling ListSigningJobs
/// with your maxResults parameter and with new values that code signing
/// returns in the nextToken parameter until all of your signing jobs have
/// been returned.
///
public partial class ListSigningProfilesRequest : AmazonSignerRequest
{
private bool? _includeCanceled;
private int? _maxResults;
private string _nextToken;
private string _platformId;
private List _statuses = new List();
///
/// Gets and sets the property IncludeCanceled.
///
/// Designates whether to include profiles with the status of CANCELED.
///
///
public bool IncludeCanceled
{
get { return this._includeCanceled.GetValueOrDefault(); }
set { this._includeCanceled = value; }
}
// Check to see if IncludeCanceled property is set
internal bool IsSetIncludeCanceled()
{
return this._includeCanceled.HasValue;
}
///
/// Gets and sets the property MaxResults.
///
/// The maximum number of profiles to be returned.
///
///
[AWSProperty(Min=1, Max=25)]
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.
///
/// Value for specifying the next set of paginated results to return. After you receive
/// a response with truncated results, use this parameter in a subsequent request. Set
/// it to the value of nextToken from the response that you just received.
///
///
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;
}
///
/// Gets and sets the property PlatformId.
///
/// Filters results to return only signing jobs initiated for a specified signing platform.
///
///
public string PlatformId
{
get { return this._platformId; }
set { this._platformId = value; }
}
// Check to see if PlatformId property is set
internal bool IsSetPlatformId()
{
return this._platformId != null;
}
///
/// Gets and sets the property Statuses.
///
/// Filters results to return only signing jobs with statuses in the specified list.
///
///
public List Statuses
{
get { return this._statuses; }
set { this._statuses = value; }
}
// Check to see if Statuses property is set
internal bool IsSetStatuses()
{
return this._statuses != null && this._statuses.Count > 0;
}
}
}