/* * 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 pinpoint-2016-12-01.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.Pinpoint.Model { /// /// Container for the parameters to the ListTemplates operation. /// Retrieves information about all the message templates that are associated with your /// Amazon Pinpoint account. /// public partial class ListTemplatesRequest : AmazonPinpointRequest { private string _nextToken; private string _pageSize; private string _prefix; private string _templateType; /// /// Gets and sets the property NextToken. /// /// The string that specifies which page of results to return in a paginated response. /// This parameter is not supported for application, campaign, and journey metrics. /// /// 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 maximum number of items to include in each page of a paginated response. This /// parameter is not supported for application, campaign, and journey metrics. /// /// public string PageSize { get { return this._pageSize; } set { this._pageSize = value; } } // Check to see if PageSize property is set internal bool IsSetPageSize() { return this._pageSize != null; } /// /// Gets and sets the property Prefix. /// /// The substring to match in the names of the message templates to include in the results. /// If you specify this value, Amazon Pinpoint returns only those templates whose names /// begin with the value that you specify. /// /// 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; } /// /// Gets and sets the property TemplateType. /// /// The type of message template to include in the results. Valid values are: EMAIL, PUSH, /// SMS, and VOICE. To include all types of templates in the results, don't include this /// parameter in your request. /// /// public string TemplateType { get { return this._templateType; } set { this._templateType = value; } } // Check to see if TemplateType property is set internal bool IsSetTemplateType() { return this._templateType != null; } } }