/* * 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 iot-2015-05-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.IoT.Model { /// /// A map of key-value pairs containing the patterns that need to be replaced in a managed /// template job document schema. You can use the description of each key as a guidance /// to specify the inputs during runtime when creating a job. /// /// /// /// documentParameters can only be used when creating jobs from Amazon Web /// Services managed templates. This parameter can't be used with custom job templates /// or to create jobs from them. /// /// /// public partial class DocumentParameter { private string _description; private string _example; private string _key; private bool? _optional; private string _regex; /// /// Gets and sets the property Description. /// /// Description of the map field containing the patterns that need to be replaced in a /// managed template job document schema. /// /// [AWSProperty(Max=2028)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property Example. /// /// An example illustrating a pattern that need to be replaced in a managed template job /// document schema. /// /// public string Example { get { return this._example; } set { this._example = value; } } // Check to see if Example property is set internal bool IsSetExample() { return this._example != null; } /// /// Gets and sets the property Key. /// /// Key of the map field containing the patterns that need to be replaced in a managed /// template job document schema. /// /// [AWSProperty(Min=1, Max=128)] public string Key { get { return this._key; } set { this._key = value; } } // Check to see if Key property is set internal bool IsSetKey() { return this._key != null; } /// /// Gets and sets the property Optional. /// /// Specifies whether a pattern that needs to be replaced in a managed template job document /// schema is optional or required. /// /// public bool Optional { get { return this._optional.GetValueOrDefault(); } set { this._optional = value; } } // Check to see if Optional property is set internal bool IsSetOptional() { return this._optional.HasValue; } /// /// Gets and sets the property Regex. /// /// A regular expression of the patterns that need to be replaced in a managed template /// job document schema. /// /// public string Regex { get { return this._regex; } set { this._regex = value; } } // Check to see if Regex property is set internal bool IsSetRegex() { return this._regex != null; } } }