/* * 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 m2-2021-04-28.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.MainframeModernization.Model { /// /// Container for the parameters to the ListBatchJobDefinitions operation. /// Lists all the available batch job definitions based on the batch job resources uploaded /// during the application creation. You can use the batch job definitions in the list /// to start a batch job. /// public partial class ListBatchJobDefinitionsRequest : AmazonMainframeModernizationRequest { private string _applicationId; private int? _maxResults; private string _nextToken; private string _prefix; /// /// Gets and sets the property ApplicationId. /// /// The identifier of the application. /// /// [AWSProperty(Required=true)] public string ApplicationId { get { return this._applicationId; } set { this._applicationId = value; } } // Check to see if ApplicationId property is set internal bool IsSetApplicationId() { return this._applicationId != null; } /// /// Gets and sets the property MaxResults. /// /// The maximum number of batch job definitions to return. /// /// [AWSProperty(Min=1, Max=2000)] 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. /// /// A pagination token returned from a previous call to this operation. This specifies /// the next item to return. To return to the beginning of the list, exclude this parameter. /// /// 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 Prefix. /// /// If the batch job definition is a FileBatchJobDefinition, the prefix allows you to /// search on the file names of FileBatchJobDefinitions. /// /// public string Prefix { get { return this._prefix; } set { this._prefix = value; } } // Check to see if Prefix property is set internal bool IsSetPrefix() { return this._prefix != null; } } }