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
48 template<
typename SchemaArnT = Aws::String>
49 void SetSchemaArn(SchemaArnT&& value) { m_schemaArnHasBeenSet =
true; m_schemaArn = std::forward<SchemaArnT>(value); }
50 template<
typename SchemaArnT = Aws::String>
60 template<
typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
62 template<
typename NameT = Aws::String>
72 template<
typename AttributesT = Aws::Vector<FacetAttribute>>
73 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
74 template<
typename AttributesT = Aws::Vector<FacetAttribute>>
76 template<
typename AttributesT = FacetAttribute>
77 CreateFacetRequest&
AddAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes.emplace_back(std::forward<AttributesT>(value));
return *
this; }
112 bool m_schemaArnHasBeenSet =
false;
115 bool m_nameHasBeenSet =
false;
118 bool m_attributesHasBeenSet =
false;
121 bool m_objectTypeHasBeenSet =
false;
124 bool m_facetStyleHasBeenSet =
false;
CreateFacetRequest & WithSchemaArn(SchemaArnT &&value)
CreateFacetRequest & WithAttributes(AttributesT &&value)
void SetName(NameT &&value)
void SetAttributes(AttributesT &&value)
bool ObjectTypeHasBeenSet() const
bool AttributesHasBeenSet() const
FacetStyle GetFacetStyle() const
void SetSchemaArn(SchemaArnT &&value)
void SetObjectType(ObjectType value)
void SetFacetStyle(FacetStyle value)
bool FacetStyleHasBeenSet() const
AWS_CLOUDDIRECTORY_API CreateFacetRequest()=default
const Aws::String & GetName() const
const Aws::String & GetSchemaArn() const
CreateFacetRequest & AddAttributes(AttributesT &&value)
ObjectType GetObjectType() const
AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
bool SchemaArnHasBeenSet() const
bool NameHasBeenSet() const
CreateFacetRequest & WithFacetStyle(FacetStyle value)
AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override
CreateFacetRequest & WithObjectType(ObjectType value)
CreateFacetRequest & WithName(NameT &&value)
const Aws::Vector< FacetAttribute > & GetAttributes() 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