7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/ObjectReference.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace CloudDirectory
74 inline void SetLinkName(
const char* value) { m_linkNameHasBeenSet =
true; m_linkName.assign(value); }
82 bool m_parentReferenceHasBeenSet =
false;
85 bool m_childReferenceHasBeenSet =
false;
88 bool m_linkNameHasBeenSet =
false;
BatchAttachObject & WithLinkName(const Aws::String &value)
AWS_CLOUDDIRECTORY_API BatchAttachObject()
void SetParentReference(ObjectReference &&value)
void SetLinkName(const char *value)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
BatchAttachObject & WithParentReference(ObjectReference &&value)
void SetLinkName(const Aws::String &value)
const ObjectReference & GetChildReference() const
void SetLinkName(Aws::String &&value)
void SetChildReference(const ObjectReference &value)
bool LinkNameHasBeenSet() const
BatchAttachObject & WithChildReference(const ObjectReference &value)
const Aws::String & GetLinkName() const
bool ChildReferenceHasBeenSet() const
void SetChildReference(ObjectReference &&value)
bool ParentReferenceHasBeenSet() const
BatchAttachObject & WithLinkName(const char *value)
BatchAttachObject & WithChildReference(ObjectReference &&value)
AWS_CLOUDDIRECTORY_API BatchAttachObject(Aws::Utils::Json::JsonView jsonValue)
void SetParentReference(const ObjectReference &value)
BatchAttachObject & WithLinkName(Aws::String &&value)
const ObjectReference & GetParentReference() const
AWS_CLOUDDIRECTORY_API BatchAttachObject & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchAttachObject & WithParentReference(const ObjectReference &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue