/* * 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 oam-2022-06-10.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.OAM.Model { /// /// This is the response object from the GetLink operation. /// public partial class GetLinkResponse : AmazonWebServiceResponse { private string _arn; private string _id; private string _label; private string _labelTemplate; private List _resourceTypes = new List(); private string _sinkArn; private Dictionary _tags = new Dictionary(); /// /// Gets and sets the property Arn. /// /// The ARN of the link. /// /// public string Arn { get { return this._arn; } set { this._arn = value; } } // Check to see if Arn property is set internal bool IsSetArn() { return this._arn != null; } /// /// Gets and sets the property Id. /// /// The random ID string that Amazon Web Services generated as part of the link ARN. /// /// 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 Label. /// /// The label that you assigned to this link, with the variables resolved to their actual /// values. /// /// public string Label { get { return this._label; } set { this._label = value; } } // Check to see if Label property is set internal bool IsSetLabel() { return this._label != null; } /// /// Gets and sets the property LabelTemplate. /// /// The exact label template that was specified when the link was created, with the template /// variables not resolved. /// /// public string LabelTemplate { get { return this._labelTemplate; } set { this._labelTemplate = value; } } // Check to see if LabelTemplate property is set internal bool IsSetLabelTemplate() { return this._labelTemplate != null; } /// /// Gets and sets the property ResourceTypes. /// /// The resource types supported by this link. /// /// public List ResourceTypes { get { return this._resourceTypes; } set { this._resourceTypes = value; } } // Check to see if ResourceTypes property is set internal bool IsSetResourceTypes() { return this._resourceTypes != null && this._resourceTypes.Count > 0; } /// /// Gets and sets the property SinkArn. /// /// The ARN of the sink that is used for this link. /// /// public string SinkArn { get { return this._sinkArn; } set { this._sinkArn = value; } } // Check to see if SinkArn property is set internal bool IsSetSinkArn() { return this._sinkArn != null; } /// /// Gets and sets the property Tags. /// /// The tags assigned to the link. /// /// public Dictionary 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; } } }