7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/ObjectReference.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace CloudDirectory
48 template<
typename ParentReferenceT = ObjectReference>
49 void SetParentReference(ParentReferenceT&& value) { m_parentReferenceHasBeenSet =
true; m_parentReference = std::forward<ParentReferenceT>(value); }
50 template<
typename ParentReferenceT = ObjectReference>
60 template<
typename ChildReferenceT = ObjectReference>
61 void SetChildReference(ChildReferenceT&& value) { m_childReferenceHasBeenSet =
true; m_childReference = std::forward<ChildReferenceT>(value); }
62 template<
typename ChildReferenceT = ObjectReference>
72 template<
typename LinkNameT = Aws::String>
73 void SetLinkName(LinkNameT&& value) { m_linkNameHasBeenSet =
true; m_linkName = std::forward<LinkNameT>(value); }
74 template<
typename LinkNameT = Aws::String>
80 bool m_parentReferenceHasBeenSet =
false;
83 bool m_childReferenceHasBeenSet =
false;
86 bool m_linkNameHasBeenSet =
false;
BatchAttachObject & WithParentReference(ParentReferenceT &&value)
AWS_CLOUDDIRECTORY_API BatchAttachObject()=default
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
BatchAttachObject & WithLinkName(LinkNameT &&value)
const ObjectReference & GetChildReference() const
bool LinkNameHasBeenSet() const
const Aws::String & GetLinkName() const
bool ChildReferenceHasBeenSet() const
bool ParentReferenceHasBeenSet() const
void SetLinkName(LinkNameT &&value)
BatchAttachObject & WithChildReference(ChildReferenceT &&value)
AWS_CLOUDDIRECTORY_API BatchAttachObject(Aws::Utils::Json::JsonView jsonValue)
void SetChildReference(ChildReferenceT &&value)
const ObjectReference & GetParentReference() const
AWS_CLOUDDIRECTORY_API BatchAttachObject & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetParentReference(ParentReferenceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue