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
50 inline void SetDirectoryArn(
const char* value) { m_directoryArnHasBeenSet =
true; m_directoryArn.assign(value); }
97 bool m_directoryArnHasBeenSet =
false;
100 bool m_schemaFacetHasBeenSet =
false;
103 bool m_objectAttributeListHasBeenSet =
false;
106 bool m_objectReferenceHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
AddFacetToObjectRequest & WithDirectoryArn(const char *value)
AddFacetToObjectRequest & WithObjectReference(const ObjectReference &value)
AddFacetToObjectRequest & WithObjectReference(ObjectReference &&value)
AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AddFacetToObjectRequest & WithSchemaFacet(SchemaFacet &&value)
AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override
AddFacetToObjectRequest & WithObjectAttributeList(Aws::Vector< AttributeKeyAndValue > &&value)
void SetSchemaFacet(const SchemaFacet &value)
AddFacetToObjectRequest & WithSchemaFacet(const SchemaFacet &value)
const Aws::String & GetDirectoryArn() const
bool SchemaFacetHasBeenSet() const
const Aws::Vector< AttributeKeyAndValue > & GetObjectAttributeList() const
AddFacetToObjectRequest & WithDirectoryArn(const Aws::String &value)
void SetDirectoryArn(const char *value)
AWS_CLOUDDIRECTORY_API AddFacetToObjectRequest()
AddFacetToObjectRequest & AddObjectAttributeList(const AttributeKeyAndValue &value)
void SetDirectoryArn(Aws::String &&value)
void SetObjectReference(const ObjectReference &value)
AddFacetToObjectRequest & AddObjectAttributeList(AttributeKeyAndValue &&value)
const SchemaFacet & GetSchemaFacet() const
void SetSchemaFacet(SchemaFacet &&value)
AddFacetToObjectRequest & WithDirectoryArn(Aws::String &&value)
bool DirectoryArnHasBeenSet() const
const ObjectReference & GetObjectReference() const
AddFacetToObjectRequest & WithObjectAttributeList(const Aws::Vector< AttributeKeyAndValue > &value)
bool ObjectAttributeListHasBeenSet() const
void SetObjectAttributeList(Aws::Vector< AttributeKeyAndValue > &&value)
bool ObjectReferenceHasBeenSet() const
void SetObjectAttributeList(const Aws::Vector< AttributeKeyAndValue > &value)
void SetDirectoryArn(const Aws::String &value)
void SetObjectReference(ObjectReference &&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