/*
* 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 greengrass-2017-06-07.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.Greengrass.Model
{
///
/// Information about a connector. Connectors run on the Greengrass core and contain built-in
/// integration with local infrastructure, device protocols, AWS, and other cloud services.
///
public partial class Connector
{
private string _connectorArn;
private string _id;
private Dictionary _parameters = new Dictionary();
///
/// Gets and sets the property ConnectorArn. The ARN of the connector.
///
[AWSProperty(Required=true)]
public string ConnectorArn
{
get { return this._connectorArn; }
set { this._connectorArn = value; }
}
// Check to see if ConnectorArn property is set
internal bool IsSetConnectorArn()
{
return this._connectorArn != null;
}
///
/// Gets and sets the property Id. A descriptive or arbitrary ID for the connector. This
/// value must be unique within the connector definition version. Max length is 128 characters
/// with pattern [a-zA-Z0-9:_-]+.
///
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
///
/// Gets and sets the property Parameters. The parameters or configuration that the connector
/// uses.
///
public Dictionary Parameters
{
get { return this._parameters; }
set { this._parameters = value; }
}
// Check to see if Parameters property is set
internal bool IsSetParameters()
{
return this._parameters != null && this._parameters.Count > 0;
}
}
}