7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/clouddirectory/model/ObjectReference.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/clouddirectory/model/SchemaFacet.h>
12#include <aws/clouddirectory/model/AttributeKeyAndValue.h>
25namespace CloudDirectory
52 template<
typename SchemaFacetT = Aws::Vector<SchemaFacet>>
53 void SetSchemaFacet(SchemaFacetT&& value) { m_schemaFacetHasBeenSet =
true; m_schemaFacet = std::forward<SchemaFacetT>(value); }
54 template<
typename SchemaFacetT = Aws::Vector<SchemaFacet>>
56 template<
typename SchemaFacetT = SchemaFacet>
57 BatchCreateObject&
AddSchemaFacet(SchemaFacetT&& value) { m_schemaFacetHasBeenSet =
true; m_schemaFacet.emplace_back(std::forward<SchemaFacetT>(value));
return *
this; }
67 template<
typename ObjectAttributeListT = Aws::Vector<AttributeKeyAndValue>>
68 void SetObjectAttributeList(ObjectAttributeListT&& value) { m_objectAttributeListHasBeenSet =
true; m_objectAttributeList = std::forward<ObjectAttributeListT>(value); }
69 template<
typename ObjectAttributeListT = Aws::Vector<AttributeKeyAndValue>>
71 template<
typename ObjectAttributeListT = AttributeKeyAndValue>
72 BatchCreateObject&
AddObjectAttributeList(ObjectAttributeListT&& value) { m_objectAttributeListHasBeenSet =
true; m_objectAttributeList.emplace_back(std::forward<ObjectAttributeListT>(value));
return *
this; }
81 template<
typename ParentReferenceT = ObjectReference>
82 void SetParentReference(ParentReferenceT&& value) { m_parentReferenceHasBeenSet =
true; m_parentReference = std::forward<ParentReferenceT>(value); }
83 template<
typename ParentReferenceT = ObjectReference>
93 template<
typename LinkNameT = Aws::String>
94 void SetLinkName(LinkNameT&& value) { m_linkNameHasBeenSet =
true; m_linkName = std::forward<LinkNameT>(value); }
95 template<
typename LinkNameT = Aws::String>
107 template<
typename BatchReferenceNameT = Aws::String>
108 void SetBatchReferenceName(BatchReferenceNameT&& value) { m_batchReferenceNameHasBeenSet =
true; m_batchReferenceName = std::forward<BatchReferenceNameT>(value); }
109 template<
typename BatchReferenceNameT = Aws::String>
115 bool m_schemaFacetHasBeenSet =
false;
118 bool m_objectAttributeListHasBeenSet =
false;
121 bool m_parentReferenceHasBeenSet =
false;
124 bool m_linkNameHasBeenSet =
false;
127 bool m_batchReferenceNameHasBeenSet =
false;
BatchCreateObject & WithBatchReferenceName(BatchReferenceNameT &&value)
const ObjectReference & GetParentReference() const
AWS_CLOUDDIRECTORY_API BatchCreateObject(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLinkName() const
const Aws::String & GetBatchReferenceName() const
const Aws::Vector< SchemaFacet > & GetSchemaFacet() const
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
BatchCreateObject & AddSchemaFacet(SchemaFacetT &&value)
bool LinkNameHasBeenSet() const
AWS_CLOUDDIRECTORY_API BatchCreateObject()=default
BatchCreateObject & AddObjectAttributeList(ObjectAttributeListT &&value)
void SetBatchReferenceName(BatchReferenceNameT &&value)
void SetObjectAttributeList(ObjectAttributeListT &&value)
BatchCreateObject & WithObjectAttributeList(ObjectAttributeListT &&value)
bool ObjectAttributeListHasBeenSet() const
bool SchemaFacetHasBeenSet() const
const Aws::Vector< AttributeKeyAndValue > & GetObjectAttributeList() const
void SetLinkName(LinkNameT &&value)
BatchCreateObject & WithLinkName(LinkNameT &&value)
BatchCreateObject & WithParentReference(ParentReferenceT &&value)
bool ParentReferenceHasBeenSet() const
bool BatchReferenceNameHasBeenSet() const
BatchCreateObject & WithSchemaFacet(SchemaFacetT &&value)
void SetSchemaFacet(SchemaFacetT &&value)
void SetParentReference(ParentReferenceT &&value)
AWS_CLOUDDIRECTORY_API BatchCreateObject & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue