/* * 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 ListRecommendations operation. /// Lists the recommendations present in your Amazon SES account in the current Amazon /// Web Services Region. /// /// /// /// You can execute this operation no more than once per second. /// /// public partial class ListRecommendationsRequest : AmazonSimpleEmailServiceV2Request { private Dictionary _filter = new Dictionary(); private string _nextToken; private int? _pageSize; /// /// Gets and sets the property Filter. /// /// Filters applied when retrieving recommendations. Can eiter be an individual filter, /// or combinations of STATUS and IMPACT or STATUS /// and TYPE /// /// [AWSProperty(Min=1, Max=2)] public Dictionary Filter { get { return this._filter; } set { this._filter = value; } } // Check to see if Filter property is set internal bool IsSetFilter() { return this._filter != null && this._filter.Count > 0; } /// /// Gets and sets the property NextToken. /// /// A token returned from a previous call to ListRecommendations to indicate /// the position in the list of recommendations. /// /// 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. /// /// The number of results to show in a single call to ListRecommendations. /// If the number of results is larger than the number you specified in this parameter, /// then the response includes a NextToken element, which you can use to /// obtain additional results. /// /// /// /// The value you specify has to be at least 1, and can be no more than 100. /// /// 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; } } }