/*
* 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
{
///
/// This is the response object from the DescribeManagedJobTemplate operation.
///
public partial class DescribeManagedJobTemplateResponse : AmazonWebServiceResponse
{
private string _description;
private string _document;
private List _documentParameters = new List();
private List _environments = new List();
private string _templateArn;
private string _templateName;
private string _templateVersion;
///
/// Gets and sets the property Description.
///
/// The unique description of a managed template.
///
///
[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 Document.
///
/// The document schema for a managed job template.
///
///
[AWSProperty(Max=32768)]
public string Document
{
get { return this._document; }
set { this._document = value; }
}
// Check to see if Document property is set
internal bool IsSetDocument()
{
return this._document != null;
}
///
/// Gets and sets the property DocumentParameters.
///
/// A map of key-value pairs that you can use as guidance to specify the inputs for creating
/// a job from a managed template.
///
///
///
/// 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 List DocumentParameters
{
get { return this._documentParameters; }
set { this._documentParameters = value; }
}
// Check to see if DocumentParameters property is set
internal bool IsSetDocumentParameters()
{
return this._documentParameters != null && this._documentParameters.Count > 0;
}
///
/// Gets and sets the property Environments.
///
/// A list of environments that are supported with the managed job template.
///
///
public List Environments
{
get { return this._environments; }
set { this._environments = value; }
}
// Check to see if Environments property is set
internal bool IsSetEnvironments()
{
return this._environments != null && this._environments.Count > 0;
}
///
/// Gets and sets the property TemplateArn.
///
/// The unique Amazon Resource Name (ARN) of the managed template.
///
///
[AWSProperty(Min=1, Max=1600)]
public string TemplateArn
{
get { return this._templateArn; }
set { this._templateArn = value; }
}
// Check to see if TemplateArn property is set
internal bool IsSetTemplateArn()
{
return this._templateArn != null;
}
///
/// Gets and sets the property TemplateName.
///
/// The unique name of a managed template, such as AWS-Reboot
.
///
///
[AWSProperty(Min=1, Max=64)]
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 TemplateVersion.
///
/// The version for a managed template.
///
///
public string TemplateVersion
{
get { return this._templateVersion; }
set { this._templateVersion = value; }
}
// Check to see if TemplateVersion property is set
internal bool IsSetTemplateVersion()
{
return this._templateVersion != null;
}
}
}