7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/CloudDirectoryRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/clouddirectory/model/ObjectReference.h>
12#include <aws/clouddirectory/model/SchemaFacet.h>
13#include <aws/clouddirectory/model/AttributeKeyAndValue.h>
18namespace CloudDirectory
48 template<
typename DirectoryArnT = Aws::String>
49 void SetDirectoryArn(DirectoryArnT&& value) { m_directoryArnHasBeenSet =
true; m_directoryArn = std::forward<DirectoryArnT>(value); }
50 template<
typename DirectoryArnT = Aws::String>
61 template<
typename SchemaFacetsT = Aws::Vector<SchemaFacet>>
62 void SetSchemaFacets(SchemaFacetsT&& value) { m_schemaFacetsHasBeenSet =
true; m_schemaFacets = std::forward<SchemaFacetsT>(value); }
63 template<
typename SchemaFacetsT = Aws::Vector<SchemaFacet>>
65 template<
typename SchemaFacetsT = SchemaFacet>
76 template<
typename ObjectAttributeListT = Aws::Vector<AttributeKeyAndValue>>
77 void SetObjectAttributeList(ObjectAttributeListT&& value) { m_objectAttributeListHasBeenSet =
true; m_objectAttributeList = std::forward<ObjectAttributeListT>(value); }
78 template<
typename ObjectAttributeListT = Aws::Vector<AttributeKeyAndValue>>
80 template<
typename ObjectAttributeListT = AttributeKeyAndValue>
90 template<
typename ParentReferenceT = ObjectReference>
91 void SetParentReference(ParentReferenceT&& value) { m_parentReferenceHasBeenSet =
true; m_parentReference = std::forward<ParentReferenceT>(value); }
92 template<
typename ParentReferenceT = ObjectReference>
102 template<
typename LinkNameT = Aws::String>
103 void SetLinkName(LinkNameT&& value) { m_linkNameHasBeenSet =
true; m_linkName = std::forward<LinkNameT>(value); }
104 template<
typename LinkNameT = Aws::String>
110 bool m_directoryArnHasBeenSet =
false;
113 bool m_schemaFacetsHasBeenSet =
false;
116 bool m_objectAttributeListHasBeenSet =
false;
119 bool m_parentReferenceHasBeenSet =
false;
122 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