/*
* 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 iotevents-2018-07-27.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.IoTEvents.Model
{
///
/// Container for the parameters to the CreateInput operation.
/// Creates an input.
///
public partial class CreateInputRequest : AmazonIoTEventsRequest
{
private InputDefinition _inputDefinition;
private string _inputDescription;
private string _inputName;
private List _tags = new List();
///
/// Gets and sets the property InputDefinition.
///
/// The definition of the input.
///
///
[AWSProperty(Required=true)]
public InputDefinition InputDefinition
{
get { return this._inputDefinition; }
set { this._inputDefinition = value; }
}
// Check to see if InputDefinition property is set
internal bool IsSetInputDefinition()
{
return this._inputDefinition != null;
}
///
/// Gets and sets the property InputDescription.
///
/// A brief description of the input.
///
///
[AWSProperty(Max=128)]
public string InputDescription
{
get { return this._inputDescription; }
set { this._inputDescription = value; }
}
// Check to see if InputDescription property is set
internal bool IsSetInputDescription()
{
return this._inputDescription != null;
}
///
/// Gets and sets the property InputName.
///
/// The name you want to give to the input.
///
///
[AWSProperty(Required=true, Min=1, Max=128)]
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 Tags.
///
/// Metadata that can be used to manage the input.
///
///
public List Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
}