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/ObjectType.h>
12#include <aws/clouddirectory/model/FacetStyle.h>
13#include <aws/clouddirectory/model/FacetAttribute.h>
18namespace CloudDirectory
50 inline void SetSchemaArn(
const char* value) { m_schemaArnHasBeenSet =
true; m_schemaArn.assign(value); }
64 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
120 bool m_schemaArnHasBeenSet =
false;
123 bool m_nameHasBeenSet =
false;
126 bool m_attributesHasBeenSet =
false;
129 bool m_objectTypeHasBeenSet =
false;
132 bool m_facetStyleHasBeenSet =
false;
CreateFacetRequest & AddAttributes(FacetAttribute &&value)
const FacetStyle & GetFacetStyle() const
CreateFacetRequest & WithAttributes(const Aws::Vector< FacetAttribute > &value)
void SetName(const Aws::String &value)
void SetFacetStyle(FacetStyle &&value)
CreateFacetRequest & WithAttributes(Aws::Vector< FacetAttribute > &&value)
void SetSchemaArn(const char *value)
bool ObjectTypeHasBeenSet() const
void SetObjectType(const ObjectType &value)
bool AttributesHasBeenSet() const
void SetAttributes(const Aws::Vector< FacetAttribute > &value)
void SetSchemaArn(const Aws::String &value)
CreateFacetRequest & WithSchemaArn(const char *value)
bool FacetStyleHasBeenSet() const
void SetAttributes(Aws::Vector< FacetAttribute > &&value)
AWS_CLOUDDIRECTORY_API CreateFacetRequest()
const Aws::String & GetName() const
const Aws::String & GetSchemaArn() const
void SetName(const char *value)
CreateFacetRequest & WithObjectType(ObjectType &&value)
AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateFacetRequest & WithName(Aws::String &&value)
void SetSchemaArn(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
bool SchemaArnHasBeenSet() const
bool NameHasBeenSet() const
CreateFacetRequest & WithFacetStyle(FacetStyle &&value)
void SetObjectType(ObjectType &&value)
CreateFacetRequest & WithName(const Aws::String &value)
CreateFacetRequest & WithName(const char *value)
AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override
void SetFacetStyle(const FacetStyle &value)
void SetName(Aws::String &&value)
CreateFacetRequest & WithObjectType(const ObjectType &value)
const ObjectType & GetObjectType() const
CreateFacetRequest & WithSchemaArn(const Aws::String &value)
const Aws::Vector< FacetAttribute > & GetAttributes() const
CreateFacetRequest & WithSchemaArn(Aws::String &&value)
CreateFacetRequest & WithFacetStyle(const FacetStyle &value)
CreateFacetRequest & AddAttributes(const FacetAttribute &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