/* * 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 clouddirectory-2017-01-11.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.CloudDirectory.Model { /// /// Represents the output of a CreateObject operation. /// public partial class BatchCreateObject { private string _batchReferenceName; private string _linkName; private List _objectAttributeList = new List(); private ObjectReference _parentReference; private List _schemaFacet = new List(); /// /// Gets and sets the property BatchReferenceName. /// /// The batch reference name. See Transaction /// Support for more information. /// /// public string BatchReferenceName { get { return this._batchReferenceName; } set { this._batchReferenceName = value; } } // Check to see if BatchReferenceName property is set internal bool IsSetBatchReferenceName() { return this._batchReferenceName != null; } /// /// Gets and sets the property LinkName. /// /// The name of the link. /// /// [AWSProperty(Min=1, Max=64)] public string LinkName { get { return this._linkName; } set { this._linkName = value; } } // Check to see if LinkName property is set internal bool IsSetLinkName() { return this._linkName != null; } /// /// Gets and sets the property ObjectAttributeList. /// /// An attribute map, which contains an attribute ARN as the key and attribute value as /// the map value. /// /// [AWSProperty(Required=true)] public List ObjectAttributeList { get { return this._objectAttributeList; } set { this._objectAttributeList = value; } } // Check to see if ObjectAttributeList property is set internal bool IsSetObjectAttributeList() { return this._objectAttributeList != null && this._objectAttributeList.Count > 0; } /// /// Gets and sets the property ParentReference. /// /// If specified, the parent reference to which this object will be attached. /// /// public ObjectReference ParentReference { get { return this._parentReference; } set { this._parentReference = value; } } // Check to see if ParentReference property is set internal bool IsSetParentReference() { return this._parentReference != null; } /// /// Gets and sets the property SchemaFacet. /// /// A list of FacetArns that will be associated with the object. For more /// information, see arns. /// /// [AWSProperty(Required=true)] public List SchemaFacet { get { return this._schemaFacet; } set { this._schemaFacet = value; } } // Check to see if SchemaFacet property is set internal bool IsSetSchemaFacet() { return this._schemaFacet != null && this._schemaFacet.Count > 0; } } }