7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/ObjectReference.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace CloudDirectory {
42 template <
typename ParentReferenceT = ObjectReference>
44 m_parentReferenceHasBeenSet =
true;
45 m_parentReference = std::forward<ParentReferenceT>(value);
47 template <
typename ParentReferenceT = ObjectReference>
60 template <
typename ChildReferenceT = ObjectReference>
62 m_childReferenceHasBeenSet =
true;
63 m_childReference = std::forward<ChildReferenceT>(value);
65 template <
typename ChildReferenceT = 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_parentReferenceHasBeenSet =
false;
96 bool m_childReferenceHasBeenSet =
false;
97 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