7#include <aws/clouddirectory/CloudDirectoryRequest.h>
8#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
9#include <aws/clouddirectory/model/ObjectReference.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15namespace CloudDirectory {
41 template <
typename DirectoryArnT = Aws::String>
43 m_directoryArnHasBeenSet =
true;
44 m_directoryArn = std::forward<DirectoryArnT>(value);
46 template <
typename DirectoryArnT = Aws::String>
60 template <
typename ParentReferenceT = ObjectReference>
62 m_parentReferenceHasBeenSet =
true;
63 m_parentReference = std::forward<ParentReferenceT>(value);
65 template <
typename ParentReferenceT = ObjectReference>
78 template <
typename LinkNameT = Aws::String>
80 m_linkNameHasBeenSet =
true;
81 m_linkName = std::forward<LinkNameT>(value);
83 template <
typename LinkNameT = Aws::String>
95 bool m_directoryArnHasBeenSet =
false;
96 bool m_parentReferenceHasBeenSet =
false;
97 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