/*
* 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 migrationhuborchestrator-2021-08-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.MigrationHubOrchestrator.Model
{
///
/// The input parameters of a template.
///
public partial class TemplateInput
{
private DataType _dataType;
private string _inputName;
private bool? _required;
///
/// Gets and sets the property DataType.
///
/// The data type of the template input.
///
///
public DataType DataType
{
get { return this._dataType; }
set { this._dataType = value; }
}
// Check to see if DataType property is set
internal bool IsSetDataType()
{
return this._dataType != null;
}
///
/// Gets and sets the property InputName.
///
/// The name of the template.
///
///
[AWSProperty(Min=1, Max=100)]
public string InputName
{
get { return this._inputName; }
set { this._inputName = value; }
}
// Check to see if InputName property is set
internal bool IsSetInputName()
{
return this._inputName != null;
}
///
/// Gets and sets the property Required.
///
/// Determine if an input is required from the template.
///
///
public bool Required
{
get { return this._required.GetValueOrDefault(); }
set { this._required = value; }
}
// Check to see if Required property is set
internal bool IsSetRequired()
{
return this._required.HasValue;
}
}
}