/* * 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 ListTemplateVersions operation. /// Retrieves information about all the versions of a specific message template. /// public partial class ListTemplateVersionsRequest : AmazonPinpointRequest { private string _nextToken; private string _pageSize; private string _templateName; 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 TemplateName. /// /// The name of the message template. A template name must start with an alphanumeric /// character and can contain a maximum of 128 characters. The characters can be alphanumeric /// characters, underscores (_), or hyphens (-). Template names are case sensitive. /// /// [AWSProperty(Required=true)] public string TemplateName { get { return this._templateName; } set { this._templateName = value; } } // Check to see if TemplateName property is set internal bool IsSetTemplateName() { return this._templateName != null; } /// /// Gets and sets the property TemplateType. /// /// The type of channel that the message template is designed for. Valid values are: EMAIL, /// PUSH, SMS, and VOICE. /// /// [AWSProperty(Required=true)] 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; } } }