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); }
74 inline void SetLinkName(
const char* value) { m_linkNameHasBeenSet =
true; m_linkName.assign(value); }
82 bool m_directoryArnHasBeenSet =
false;
85 bool m_parentReferenceHasBeenSet =
false;
88 bool m_linkNameHasBeenSet =
false;
void SetParentReference(ObjectReference &&value)
bool LinkNameHasBeenSet() const
void SetLinkName(const char *value)
DetachObjectRequest & WithLinkName(const char *value)
bool ParentReferenceHasBeenSet() const
void SetLinkName(const Aws::String &value)
void SetLinkName(Aws::String &&value)
void SetDirectoryArn(const Aws::String &value)
AWS_CLOUDDIRECTORY_API DetachObjectRequest()
DetachObjectRequest & WithDirectoryArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
DetachObjectRequest & WithLinkName(Aws::String &&value)
const Aws::String & GetDirectoryArn() const
DetachObjectRequest & WithParentReference(const ObjectReference &value)
const Aws::String & GetLinkName() const
void SetParentReference(const ObjectReference &value)
AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override
const ObjectReference & GetParentReference() const
bool DirectoryArnHasBeenSet() const
DetachObjectRequest & WithParentReference(ObjectReference &&value)
AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDirectoryArn(Aws::String &&value)
DetachObjectRequest & WithDirectoryArn(const char *value)
void SetDirectoryArn(const char *value)
DetachObjectRequest & WithDirectoryArn(Aws::String &&value)
DetachObjectRequest & WithLinkName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String