/*
* 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 sesv2-2019-09-27.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.SimpleEmailV2.Model
{
///
/// Container for the parameters to the ListImportJobs operation.
/// Lists all of the import jobs.
///
public partial class ListImportJobsRequest : AmazonSimpleEmailServiceV2Request
{
private ImportDestinationType _importDestinationType;
private string _nextToken;
private int? _pageSize;
///
/// Gets and sets the property ImportDestinationType.
///
/// The destination of the import job, which can be used to list import jobs that have
/// a certain ImportDestinationType
.
///
///
public ImportDestinationType ImportDestinationType
{
get { return this._importDestinationType; }
set { this._importDestinationType = value; }
}
// Check to see if ImportDestinationType property is set
internal bool IsSetImportDestinationType()
{
return this._importDestinationType != null;
}
///
/// Gets and sets the property NextToken.
///
/// A string token indicating that there might be additional import jobs available to
/// be listed. Copy this token to a subsequent call to ListImportJobs
with
/// the same parameters to retrieve the next page of import jobs.
///
///
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 PageSize.
///
/// Maximum number of import jobs to return at once. Use this parameter to paginate results.
/// If additional import jobs exist beyond the specified limit, the NextToken
/// element is sent in the response. Use the NextToken
value in subsequent
/// requests to retrieve additional addresses.
///
///
public int PageSize
{
get { return this._pageSize.GetValueOrDefault(); }
set { this._pageSize = value; }
}
// Check to see if PageSize property is set
internal bool IsSetPageSize()
{
return this._pageSize.HasValue;
}
}
}