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>
59 template <
typename ParentReferenceT = ObjectReference>
61 m_parentReferenceHasBeenSet =
true;
62 m_parentReference = std::forward<ParentReferenceT>(value);
64 template <
typename ParentReferenceT = ObjectReference>
77 template <
typename ChildReferenceT = ObjectReference>
79 m_childReferenceHasBeenSet =
true;
80 m_childReference = std::forward<ChildReferenceT>(value);
82 template <
typename ChildReferenceT = ObjectReference>
95 template <
typename LinkNameT = Aws::String>
97 m_linkNameHasBeenSet =
true;
98 m_linkName = std::forward<LinkNameT>(value);
100 template <
typename LinkNameT = Aws::String>
114 bool m_directoryArnHasBeenSet =
false;
115 bool m_parentReferenceHasBeenSet =
false;
116 bool m_childReferenceHasBeenSet =
false;
117 bool m_linkNameHasBeenSet =
false;
const Aws::String & GetDirectoryArn() const
AWS_CLOUDDIRECTORY_API AttachObjectRequest()=default
AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetParentReference(ParentReferenceT &&value)
AttachObjectRequest & WithDirectoryArn(DirectoryArnT &&value)
const ObjectReference & GetChildReference() const
AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override
const Aws::String & GetLinkName() const
bool LinkNameHasBeenSet() const
AttachObjectRequest & WithParentReference(ParentReferenceT &&value)
virtual const char * GetServiceRequestName() const override
void SetDirectoryArn(DirectoryArnT &&value)
bool ParentReferenceHasBeenSet() const
void SetLinkName(LinkNameT &&value)
bool ChildReferenceHasBeenSet() const
bool DirectoryArnHasBeenSet() const
const ObjectReference & GetParentReference() const
void SetChildReference(ChildReferenceT &&value)
AttachObjectRequest & WithChildReference(ChildReferenceT &&value)
AttachObjectRequest & WithLinkName(LinkNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String