/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A pair of ObjectIdentifier and LinkName.See Also:
AWS
* API Reference
The ID that is associated with the object.
*/ inline const Aws::String& GetObjectIdentifier() const{ return m_objectIdentifier; } /** *The ID that is associated with the object.
*/ inline bool ObjectIdentifierHasBeenSet() const { return m_objectIdentifierHasBeenSet; } /** *The ID that is associated with the object.
*/ inline void SetObjectIdentifier(const Aws::String& value) { m_objectIdentifierHasBeenSet = true; m_objectIdentifier = value; } /** *The ID that is associated with the object.
*/ inline void SetObjectIdentifier(Aws::String&& value) { m_objectIdentifierHasBeenSet = true; m_objectIdentifier = std::move(value); } /** *The ID that is associated with the object.
*/ inline void SetObjectIdentifier(const char* value) { m_objectIdentifierHasBeenSet = true; m_objectIdentifier.assign(value); } /** *The ID that is associated with the object.
*/ inline ObjectIdentifierAndLinkNameTuple& WithObjectIdentifier(const Aws::String& value) { SetObjectIdentifier(value); return *this;} /** *The ID that is associated with the object.
*/ inline ObjectIdentifierAndLinkNameTuple& WithObjectIdentifier(Aws::String&& value) { SetObjectIdentifier(std::move(value)); return *this;} /** *The ID that is associated with the object.
*/ inline ObjectIdentifierAndLinkNameTuple& WithObjectIdentifier(const char* value) { SetObjectIdentifier(value); return *this;} /** *The name of the link between the parent and the child object.
*/ inline const Aws::String& GetLinkName() const{ return m_linkName; } /** *The name of the link between the parent and the child object.
*/ inline bool LinkNameHasBeenSet() const { return m_linkNameHasBeenSet; } /** *The name of the link between the parent and the child object.
*/ inline void SetLinkName(const Aws::String& value) { m_linkNameHasBeenSet = true; m_linkName = value; } /** *The name of the link between the parent and the child object.
*/ inline void SetLinkName(Aws::String&& value) { m_linkNameHasBeenSet = true; m_linkName = std::move(value); } /** *The name of the link between the parent and the child object.
*/ inline void SetLinkName(const char* value) { m_linkNameHasBeenSet = true; m_linkName.assign(value); } /** *The name of the link between the parent and the child object.
*/ inline ObjectIdentifierAndLinkNameTuple& WithLinkName(const Aws::String& value) { SetLinkName(value); return *this;} /** *The name of the link between the parent and the child object.
*/ inline ObjectIdentifierAndLinkNameTuple& WithLinkName(Aws::String&& value) { SetLinkName(std::move(value)); return *this;} /** *The name of the link between the parent and the child object.
*/ inline ObjectIdentifierAndLinkNameTuple& WithLinkName(const char* value) { SetLinkName(value); return *this;} private: Aws::String m_objectIdentifier; bool m_objectIdentifierHasBeenSet = false; Aws::String m_linkName; bool m_linkNameHasBeenSet = false; }; } // namespace Model } // namespace CloudDirectory } // namespace Aws