/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the output of a DetachObject operation.See
* Also:
AWS
* API Reference
Parent reference from which the object with the specified link name is * detached.
*/ inline const ObjectReference& GetParentReference() const{ return m_parentReference; } /** *Parent reference from which the object with the specified link name is * detached.
*/ inline bool ParentReferenceHasBeenSet() const { return m_parentReferenceHasBeenSet; } /** *Parent reference from which the object with the specified link name is * detached.
*/ inline void SetParentReference(const ObjectReference& value) { m_parentReferenceHasBeenSet = true; m_parentReference = value; } /** *Parent reference from which the object with the specified link name is * detached.
*/ inline void SetParentReference(ObjectReference&& value) { m_parentReferenceHasBeenSet = true; m_parentReference = std::move(value); } /** *Parent reference from which the object with the specified link name is * detached.
*/ inline BatchDetachObject& WithParentReference(const ObjectReference& value) { SetParentReference(value); return *this;} /** *Parent reference from which the object with the specified link name is * detached.
*/ inline BatchDetachObject& WithParentReference(ObjectReference&& value) { SetParentReference(std::move(value)); return *this;} /** *The name of the link.
*/ inline const Aws::String& GetLinkName() const{ return m_linkName; } /** *The name of the link.
*/ inline bool LinkNameHasBeenSet() const { return m_linkNameHasBeenSet; } /** *The name of the link.
*/ inline void SetLinkName(const Aws::String& value) { m_linkNameHasBeenSet = true; m_linkName = value; } /** *The name of the link.
*/ inline void SetLinkName(Aws::String&& value) { m_linkNameHasBeenSet = true; m_linkName = std::move(value); } /** *The name of the link.
*/ inline void SetLinkName(const char* value) { m_linkNameHasBeenSet = true; m_linkName.assign(value); } /** *The name of the link.
*/ inline BatchDetachObject& WithLinkName(const Aws::String& value) { SetLinkName(value); return *this;} /** *The name of the link.
*/ inline BatchDetachObject& WithLinkName(Aws::String&& value) { SetLinkName(std::move(value)); return *this;} /** *The name of the link.
*/ inline BatchDetachObject& WithLinkName(const char* value) { SetLinkName(value); return *this;} /** *The batch reference name. See Transaction * Support for more information.
*/ inline const Aws::String& GetBatchReferenceName() const{ return m_batchReferenceName; } /** *The batch reference name. See Transaction * Support for more information.
*/ inline bool BatchReferenceNameHasBeenSet() const { return m_batchReferenceNameHasBeenSet; } /** *The batch reference name. See Transaction * Support for more information.
*/ inline void SetBatchReferenceName(const Aws::String& value) { m_batchReferenceNameHasBeenSet = true; m_batchReferenceName = value; } /** *The batch reference name. See Transaction * Support for more information.
*/ inline void SetBatchReferenceName(Aws::String&& value) { m_batchReferenceNameHasBeenSet = true; m_batchReferenceName = std::move(value); } /** *The batch reference name. See Transaction * Support for more information.
*/ inline void SetBatchReferenceName(const char* value) { m_batchReferenceNameHasBeenSet = true; m_batchReferenceName.assign(value); } /** *The batch reference name. See Transaction * Support for more information.
*/ inline BatchDetachObject& WithBatchReferenceName(const Aws::String& value) { SetBatchReferenceName(value); return *this;} /** *The batch reference name. See Transaction * Support for more information.
*/ inline BatchDetachObject& WithBatchReferenceName(Aws::String&& value) { SetBatchReferenceName(std::move(value)); return *this;} /** *The batch reference name. See Transaction * Support for more information.
*/ inline BatchDetachObject& WithBatchReferenceName(const char* value) { SetBatchReferenceName(value); return *this;} private: ObjectReference m_parentReference; bool m_parentReferenceHasBeenSet = false; Aws::String m_linkName; bool m_linkNameHasBeenSet = false; Aws::String m_batchReferenceName; bool m_batchReferenceNameHasBeenSet = false; }; } // namespace Model } // namespace CloudDirectory } // namespace Aws