7#include <aws/clouddirectory/CloudDirectoryRequest.h>
8#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
9#include <aws/clouddirectory/model/AttributeKeyAndValue.h>
10#include <aws/clouddirectory/model/ObjectReference.h>
11#include <aws/clouddirectory/model/SchemaFacet.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
18namespace CloudDirectory {
44 template <
typename DirectoryArnT = Aws::String>
46 m_directoryArnHasBeenSet =
true;
47 m_directoryArn = std::forward<DirectoryArnT>(value);
49 template <
typename DirectoryArnT = Aws::String>
63 template <
typename SchemaFacetsT = Aws::Vector<SchemaFacet>>
65 m_schemaFacetsHasBeenSet =
true;
66 m_schemaFacets = std::forward<SchemaFacetsT>(value);
68 template <
typename SchemaFacetsT = Aws::Vector<SchemaFacet>>
73 template <
typename SchemaFacetsT = SchemaFacet>
75 m_schemaFacetsHasBeenSet =
true;
76 m_schemaFacets.emplace_back(std::forward<SchemaFacetsT>(value));
88 template <
typename ObjectAttributeListT = Aws::Vector<AttributeKeyAndValue>>
90 m_objectAttributeListHasBeenSet =
true;
91 m_objectAttributeList = std::forward<ObjectAttributeListT>(value);
93 template <
typename ObjectAttributeListT = Aws::Vector<AttributeKeyAndValue>>
98 template <
typename ObjectAttributeListT = AttributeKeyAndValue>
100 m_objectAttributeListHasBeenSet =
true;
101 m_objectAttributeList.emplace_back(std::forward<ObjectAttributeListT>(value));
112 template <
typename ParentReferenceT = ObjectReference>
114 m_parentReferenceHasBeenSet =
true;
115 m_parentReference = std::forward<ParentReferenceT>(value);
117 template <
typename ParentReferenceT = ObjectReference>
130 template <
typename LinkNameT = Aws::String>
132 m_linkNameHasBeenSet =
true;
133 m_linkName = std::forward<LinkNameT>(value);
135 template <
typename LinkNameT = Aws::String>
151 bool m_directoryArnHasBeenSet =
false;
152 bool m_schemaFacetsHasBeenSet =
false;
153 bool m_objectAttributeListHasBeenSet =
false;
154 bool m_parentReferenceHasBeenSet =
false;
155 bool m_linkNameHasBeenSet =
false;
const Aws::Vector< AttributeKeyAndValue > & GetObjectAttributeList() const
bool SchemaFacetsHasBeenSet() const
CreateObjectRequest & WithParentReference(ParentReferenceT &&value)
bool ObjectAttributeListHasBeenSet() const
void SetDirectoryArn(DirectoryArnT &&value)
const Aws::String & GetLinkName() const
AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override
const Aws::Vector< SchemaFacet > & GetSchemaFacets() const
CreateObjectRequest & WithLinkName(LinkNameT &&value)
CreateObjectRequest & WithSchemaFacets(SchemaFacetsT &&value)
CreateObjectRequest & AddObjectAttributeList(ObjectAttributeListT &&value)
bool DirectoryArnHasBeenSet() const
CreateObjectRequest & WithDirectoryArn(DirectoryArnT &&value)
CreateObjectRequest & WithObjectAttributeList(ObjectAttributeListT &&value)
virtual const char * GetServiceRequestName() const override
const ObjectReference & GetParentReference() const
AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CLOUDDIRECTORY_API CreateObjectRequest()=default
bool ParentReferenceHasBeenSet() const
CreateObjectRequest & AddSchemaFacets(SchemaFacetsT &&value)
void SetParentReference(ParentReferenceT &&value)
bool LinkNameHasBeenSet() const
void SetSchemaFacets(SchemaFacetsT &&value)
void SetObjectAttributeList(ObjectAttributeListT &&value)
void SetLinkName(LinkNameT &&value)
const Aws::String & GetDirectoryArn() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector