/*
* 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 ListSigningJobs operation.
/// Lists all your signing jobs. You can use the maxResults parameter to
/// limit the number of signing jobs that are returned in the response. 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 ListSigningJobsRequest : AmazonSignerRequest
{
private bool? _isRevoked;
private string _jobInvoker;
private int? _maxResults;
private string _nextToken;
private string _platformId;
private string _requestedBy;
private DateTime? _signatureExpiresAfter;
private DateTime? _signatureExpiresBefore;
private SigningStatus _status;
///
/// Gets and sets the property IsRevoked.
///
/// Filters results to return only signing jobs with revoked signatures.
///
///
public bool IsRevoked
{
get { return this._isRevoked.GetValueOrDefault(); }
set { this._isRevoked = value; }
}
// Check to see if IsRevoked property is set
internal bool IsSetIsRevoked()
{
return this._isRevoked.HasValue;
}
///
/// Gets and sets the property JobInvoker.
///
/// Filters results to return only signing jobs initiated by a specified IAM entity.
///
///
[AWSProperty(Min=12, Max=12)]
public string JobInvoker
{
get { return this._jobInvoker; }
set { this._jobInvoker = value; }
}
// Check to see if JobInvoker property is set
internal bool IsSetJobInvoker()
{
return this._jobInvoker != null;
}
///
/// Gets and sets the property MaxResults.
///
/// Specifies the maximum number of items to return in the response. Use this parameter
/// when paginating results. If additional items exist beyond the number you specify,
/// the nextToken element is set in the response. Use the nextToken
/// value in a subsequent request to retrieve additional items.
///
///
[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.
///
/// String 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.
///
/// The ID of microcontroller platform that you specified for the distribution of your
/// code image.
///
///
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 RequestedBy.
///
/// The IAM principal that requested the signing job.
///
///
public string RequestedBy
{
get { return this._requestedBy; }
set { this._requestedBy = value; }
}
// Check to see if RequestedBy property is set
internal bool IsSetRequestedBy()
{
return this._requestedBy != null;
}
///
/// Gets and sets the property SignatureExpiresAfter.
///
/// Filters results to return only signing jobs with signatures expiring after a specified
/// timestamp.
///
///
public DateTime SignatureExpiresAfter
{
get { return this._signatureExpiresAfter.GetValueOrDefault(); }
set { this._signatureExpiresAfter = value; }
}
// Check to see if SignatureExpiresAfter property is set
internal bool IsSetSignatureExpiresAfter()
{
return this._signatureExpiresAfter.HasValue;
}
///
/// Gets and sets the property SignatureExpiresBefore.
///
/// Filters results to return only signing jobs with signatures expiring before a specified
/// timestamp.
///
///
public DateTime SignatureExpiresBefore
{
get { return this._signatureExpiresBefore.GetValueOrDefault(); }
set { this._signatureExpiresBefore = value; }
}
// Check to see if SignatureExpiresBefore property is set
internal bool IsSetSignatureExpiresBefore()
{
return this._signatureExpiresBefore.HasValue;
}
///
/// Gets and sets the property Status.
///
/// A status value with which to filter your results.
///
///
public SigningStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
}