/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the output of an AttachObject operation.See
* Also:
AWS
* API Reference
The parent object reference.
*/ inline const ObjectReference& GetParentReference() const{ return m_parentReference; } /** *The parent object reference.
*/ inline bool ParentReferenceHasBeenSet() const { return m_parentReferenceHasBeenSet; } /** *The parent object reference.
*/ inline void SetParentReference(const ObjectReference& value) { m_parentReferenceHasBeenSet = true; m_parentReference = value; } /** *The parent object reference.
*/ inline void SetParentReference(ObjectReference&& value) { m_parentReferenceHasBeenSet = true; m_parentReference = std::move(value); } /** *The parent object reference.
*/ inline BatchAttachObject& WithParentReference(const ObjectReference& value) { SetParentReference(value); return *this;} /** *The parent object reference.
*/ inline BatchAttachObject& WithParentReference(ObjectReference&& value) { SetParentReference(std::move(value)); return *this;} /** *The child object reference that is to be attached to the object.
*/ inline const ObjectReference& GetChildReference() const{ return m_childReference; } /** *The child object reference that is to be attached to the object.
*/ inline bool ChildReferenceHasBeenSet() const { return m_childReferenceHasBeenSet; } /** *The child object reference that is to be attached to the object.
*/ inline void SetChildReference(const ObjectReference& value) { m_childReferenceHasBeenSet = true; m_childReference = value; } /** *The child object reference that is to be attached to the object.
*/ inline void SetChildReference(ObjectReference&& value) { m_childReferenceHasBeenSet = true; m_childReference = std::move(value); } /** *The child object reference that is to be attached to the object.
*/ inline BatchAttachObject& WithChildReference(const ObjectReference& value) { SetChildReference(value); return *this;} /** *The child object reference that is to be attached to the object.
*/ inline BatchAttachObject& WithChildReference(ObjectReference&& value) { SetChildReference(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 BatchAttachObject& WithLinkName(const Aws::String& value) { SetLinkName(value); return *this;} /** *The name of the link.
*/ inline BatchAttachObject& WithLinkName(Aws::String&& value) { SetLinkName(std::move(value)); return *this;} /** *The name of the link.
*/ inline BatchAttachObject& WithLinkName(const char* value) { SetLinkName(value); return *this;} private: ObjectReference m_parentReference; bool m_parentReferenceHasBeenSet = false; ObjectReference m_childReference; bool m_childReferenceHasBeenSet = false; Aws::String m_linkName; bool m_linkNameHasBeenSet = false; }; } // namespace Model } // namespace CloudDirectory } // namespace Aws