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
45 template<
typename DirectoryArnT = Aws::String>
46 void SetDirectoryArn(DirectoryArnT&& value) { m_directoryArnHasBeenSet =
true; m_directoryArn = std::forward<DirectoryArnT>(value); }
47 template<
typename DirectoryArnT = Aws::String>
58 template<
typename ParentReferenceT = ObjectReference>
59 void SetParentReference(ParentReferenceT&& value) { m_parentReferenceHasBeenSet =
true; m_parentReference = std::forward<ParentReferenceT>(value); }
60 template<
typename ParentReferenceT = ObjectReference>
70 template<
typename LinkNameT = Aws::String>
71 void SetLinkName(LinkNameT&& value) { m_linkNameHasBeenSet =
true; m_linkName = std::forward<LinkNameT>(value); }
72 template<
typename LinkNameT = Aws::String>
78 bool m_directoryArnHasBeenSet =
false;
81 bool m_parentReferenceHasBeenSet =
false;
84 bool m_linkNameHasBeenSet =
false;
bool LinkNameHasBeenSet() const
void SetDirectoryArn(DirectoryArnT &&value)
AWS_CLOUDDIRECTORY_API DetachObjectRequest()=default
bool ParentReferenceHasBeenSet() const
DetachObjectRequest & WithParentReference(ParentReferenceT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetDirectoryArn() const
const Aws::String & GetLinkName() const
AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override
const ObjectReference & GetParentReference() const
bool DirectoryArnHasBeenSet() const
AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetParentReference(ParentReferenceT &&value)
DetachObjectRequest & WithLinkName(LinkNameT &&value)
void SetLinkName(LinkNameT &&value)
DetachObjectRequest & WithDirectoryArn(DirectoryArnT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String