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/clouddirectory/model/SchemaFacet.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/clouddirectory/model/ObjectReference.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 SchemaFacetT = SchemaFacet>
62 void SetSchemaFacet(SchemaFacetT&& value) { m_schemaFacetHasBeenSet =
true; m_schemaFacet = std::forward<SchemaFacetT>(value); }
63 template<
typename SchemaFacetT = SchemaFacet>
73 template<
typename ObjectAttributeListT = Aws::Vector<AttributeKeyAndValue>>
74 void SetObjectAttributeList(ObjectAttributeListT&& value) { m_objectAttributeListHasBeenSet =
true; m_objectAttributeList = std::forward<ObjectAttributeListT>(value); }
75 template<
typename ObjectAttributeListT = Aws::Vector<AttributeKeyAndValue>>
77 template<
typename ObjectAttributeListT = AttributeKeyAndValue>
87 template<
typename ObjectReferenceT = ObjectReference>
88 void SetObjectReference(ObjectReferenceT&& value) { m_objectReferenceHasBeenSet =
true; m_objectReference = std::forward<ObjectReferenceT>(value); }
89 template<
typename ObjectReferenceT = ObjectReference>
95 bool m_directoryArnHasBeenSet =
false;
98 bool m_schemaFacetHasBeenSet =
false;
101 bool m_objectAttributeListHasBeenSet =
false;
104 bool m_objectReferenceHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
AWS_CLOUDDIRECTORY_API AddFacetToObjectRequest()=default
AddFacetToObjectRequest & WithSchemaFacet(SchemaFacetT &&value)
AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AddFacetToObjectRequest & WithObjectAttributeList(ObjectAttributeListT &&value)
void SetObjectAttributeList(ObjectAttributeListT &&value)
void SetObjectReference(ObjectReferenceT &&value)
AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override
const Aws::String & GetDirectoryArn() const
bool SchemaFacetHasBeenSet() const
AddFacetToObjectRequest & WithObjectReference(ObjectReferenceT &&value)
AddFacetToObjectRequest & WithDirectoryArn(DirectoryArnT &&value)
const Aws::Vector< AttributeKeyAndValue > & GetObjectAttributeList() const
const SchemaFacet & GetSchemaFacet() const
bool DirectoryArnHasBeenSet() const
void SetSchemaFacet(SchemaFacetT &&value)
const ObjectReference & GetObjectReference() const
bool ObjectAttributeListHasBeenSet() const
void SetDirectoryArn(DirectoryArnT &&value)
bool ObjectReferenceHasBeenSet() const
AddFacetToObjectRequest & AddObjectAttributeList(ObjectAttributeListT &&value)
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