/*
* 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 BatchWrite
operation.
///
public partial class BatchWriteOperation
{
private BatchAddFacetToObject _addFacetToObject;
private BatchAttachObject _attachObject;
private BatchAttachPolicy _attachPolicy;
private BatchAttachToIndex _attachToIndex;
private BatchAttachTypedLink _attachTypedLink;
private BatchCreateIndex _createIndex;
private BatchCreateObject _createObject;
private BatchDeleteObject _deleteObject;
private BatchDetachFromIndex _detachFromIndex;
private BatchDetachObject _detachObject;
private BatchDetachPolicy _detachPolicy;
private BatchDetachTypedLink _detachTypedLink;
private BatchRemoveFacetFromObject _removeFacetFromObject;
private BatchUpdateLinkAttributes _updateLinkAttributes;
private BatchUpdateObjectAttributes _updateObjectAttributes;
///
/// Gets and sets the property AddFacetToObject.
///
/// A batch operation that adds a facet to an object.
///
///
public BatchAddFacetToObject AddFacetToObject
{
get { return this._addFacetToObject; }
set { this._addFacetToObject = value; }
}
// Check to see if AddFacetToObject property is set
internal bool IsSetAddFacetToObject()
{
return this._addFacetToObject != null;
}
///
/// Gets and sets the property AttachObject.
///
/// Attaches an object to a Directory.
///
///
public BatchAttachObject AttachObject
{
get { return this._attachObject; }
set { this._attachObject = value; }
}
// Check to see if AttachObject property is set
internal bool IsSetAttachObject()
{
return this._attachObject != null;
}
///
/// Gets and sets the property AttachPolicy.
///
/// Attaches a policy object to a regular object. An object can have a limited number
/// of attached policies.
///
///
public BatchAttachPolicy AttachPolicy
{
get { return this._attachPolicy; }
set { this._attachPolicy = value; }
}
// Check to see if AttachPolicy property is set
internal bool IsSetAttachPolicy()
{
return this._attachPolicy != null;
}
///
/// Gets and sets the property AttachToIndex.
///
/// Attaches the specified object to the specified index.
///
///
public BatchAttachToIndex AttachToIndex
{
get { return this._attachToIndex; }
set { this._attachToIndex = value; }
}
// Check to see if AttachToIndex property is set
internal bool IsSetAttachToIndex()
{
return this._attachToIndex != null;
}
///
/// Gets and sets the property AttachTypedLink.
///
/// Attaches a typed link to a specified source and target object. For more information,
/// see Typed
/// Links.
///
///
public BatchAttachTypedLink AttachTypedLink
{
get { return this._attachTypedLink; }
set { this._attachTypedLink = value; }
}
// Check to see if AttachTypedLink property is set
internal bool IsSetAttachTypedLink()
{
return this._attachTypedLink != null;
}
///
/// Gets and sets the property CreateIndex.
///
/// Creates an index object. See Indexing
/// and search for more information.
///
///
public BatchCreateIndex CreateIndex
{
get { return this._createIndex; }
set { this._createIndex = value; }
}
// Check to see if CreateIndex property is set
internal bool IsSetCreateIndex()
{
return this._createIndex != null;
}
///
/// Gets and sets the property CreateObject.
///
/// Creates an object.
///
///
public BatchCreateObject CreateObject
{
get { return this._createObject; }
set { this._createObject = value; }
}
// Check to see if CreateObject property is set
internal bool IsSetCreateObject()
{
return this._createObject != null;
}
///
/// Gets and sets the property DeleteObject.
///
/// Deletes an object in a Directory.
///
///
public BatchDeleteObject DeleteObject
{
get { return this._deleteObject; }
set { this._deleteObject = value; }
}
// Check to see if DeleteObject property is set
internal bool IsSetDeleteObject()
{
return this._deleteObject != null;
}
///
/// Gets and sets the property DetachFromIndex.
///
/// Detaches the specified object from the specified index.
///
///
public BatchDetachFromIndex DetachFromIndex
{
get { return this._detachFromIndex; }
set { this._detachFromIndex = value; }
}
// Check to see if DetachFromIndex property is set
internal bool IsSetDetachFromIndex()
{
return this._detachFromIndex != null;
}
///
/// Gets and sets the property DetachObject.
///
/// Detaches an object from a Directory.
///
///
public BatchDetachObject DetachObject
{
get { return this._detachObject; }
set { this._detachObject = value; }
}
// Check to see if DetachObject property is set
internal bool IsSetDetachObject()
{
return this._detachObject != null;
}
///
/// Gets and sets the property DetachPolicy.
///
/// Detaches a policy from a Directory.
///
///
public BatchDetachPolicy DetachPolicy
{
get { return this._detachPolicy; }
set { this._detachPolicy = value; }
}
// Check to see if DetachPolicy property is set
internal bool IsSetDetachPolicy()
{
return this._detachPolicy != null;
}
///
/// Gets and sets the property DetachTypedLink.
///
/// Detaches a typed link from a specified source and target object. For more information,
/// see Typed
/// Links.
///
///
public BatchDetachTypedLink DetachTypedLink
{
get { return this._detachTypedLink; }
set { this._detachTypedLink = value; }
}
// Check to see if DetachTypedLink property is set
internal bool IsSetDetachTypedLink()
{
return this._detachTypedLink != null;
}
///
/// Gets and sets the property RemoveFacetFromObject.
///
/// A batch operation that removes a facet from an object.
///
///
public BatchRemoveFacetFromObject RemoveFacetFromObject
{
get { return this._removeFacetFromObject; }
set { this._removeFacetFromObject = value; }
}
// Check to see if RemoveFacetFromObject property is set
internal bool IsSetRemoveFacetFromObject()
{
return this._removeFacetFromObject != null;
}
///
/// Gets and sets the property UpdateLinkAttributes.
///
/// Updates a given object's attributes.
///
///
public BatchUpdateLinkAttributes UpdateLinkAttributes
{
get { return this._updateLinkAttributes; }
set { this._updateLinkAttributes = value; }
}
// Check to see if UpdateLinkAttributes property is set
internal bool IsSetUpdateLinkAttributes()
{
return this._updateLinkAttributes != null;
}
///
/// Gets and sets the property UpdateObjectAttributes.
///
/// Updates a given object's attributes.
///
///
public BatchUpdateObjectAttributes UpdateObjectAttributes
{
get { return this._updateObjectAttributes; }
set { this._updateObjectAttributes = value; }
}
// Check to see if UpdateObjectAttributes property is set
internal bool IsSetUpdateObjectAttributes()
{
return this._updateObjectAttributes != null;
}
}
}