7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/CloudDirectoryRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/clouddirectory/model/ObjectReference.h>
15namespace CloudDirectory
47 inline void SetDirectoryArn(
const char* value) { m_directoryArnHasBeenSet =
true; m_directoryArn.assign(value); }
85 inline void SetLinkName(
const char* value) { m_linkNameHasBeenSet =
true; m_linkName.assign(value); }
93 bool m_directoryArnHasBeenSet =
false;
96 bool m_parentReferenceHasBeenSet =
false;
99 bool m_childReferenceHasBeenSet =
false;
102 bool m_linkNameHasBeenSet =
false;
const Aws::String & GetDirectoryArn() const
void SetDirectoryArn(Aws::String &&value)
AttachObjectRequest & WithLinkName(const Aws::String &value)
AttachObjectRequest & WithParentReference(ObjectReference &&value)
AttachObjectRequest & WithLinkName(Aws::String &&value)
void SetChildReference(const ObjectReference &value)
AttachObjectRequest & WithParentReference(const ObjectReference &value)
AttachObjectRequest & WithDirectoryArn(const Aws::String &value)
AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AttachObjectRequest & WithLinkName(const char *value)
void SetLinkName(const char *value)
const ObjectReference & GetChildReference() const
AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override
void SetParentReference(ObjectReference &&value)
const Aws::String & GetLinkName() const
void SetChildReference(ObjectReference &&value)
bool LinkNameHasBeenSet() const
AttachObjectRequest & WithChildReference(ObjectReference &&value)
AttachObjectRequest & WithChildReference(const ObjectReference &value)
void SetLinkName(Aws::String &&value)
AttachObjectRequest & WithDirectoryArn(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetParentReference(const ObjectReference &value)
AttachObjectRequest & WithDirectoryArn(const char *value)
bool ParentReferenceHasBeenSet() const
void SetDirectoryArn(const Aws::String &value)
bool ChildReferenceHasBeenSet() const
bool DirectoryArnHasBeenSet() const
void SetLinkName(const Aws::String &value)
AWS_CLOUDDIRECTORY_API AttachObjectRequest()
const ObjectReference & GetParentReference() const
void SetDirectoryArn(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String