7#include <aws/clouddirectory/CloudDirectoryRequest.h>
8#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
9#include <aws/clouddirectory/model/FacetAttribute.h>
10#include <aws/clouddirectory/model/FacetStyle.h>
11#include <aws/clouddirectory/model/ObjectType.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
18namespace CloudDirectory {
44 template <
typename SchemaArnT = Aws::String>
46 m_schemaArnHasBeenSet =
true;
47 m_schemaArn = std::forward<SchemaArnT>(value);
49 template <
typename SchemaArnT = Aws::String>
62 template <
typename NameT = Aws::String>
64 m_nameHasBeenSet =
true;
65 m_name = std::forward<NameT>(value);
67 template <
typename NameT = Aws::String>
69 SetName(std::forward<NameT>(value));
80 template <
typename AttributesT = Aws::Vector<FacetAttribute>>
82 m_attributesHasBeenSet =
true;
83 m_attributes = std::forward<AttributesT>(value);
85 template <
typename AttributesT = Aws::Vector<FacetAttribute>>
90 template <
typename AttributesT = FacetAttribute>
92 m_attributesHasBeenSet =
true;
93 m_attributes.emplace_back(std::forward<AttributesT>(value));
112 m_objectTypeHasBeenSet =
true;
113 m_objectType = value;
131 m_facetStyleHasBeenSet =
true;
132 m_facetStyle = value;
149 bool m_schemaArnHasBeenSet =
false;
150 bool m_nameHasBeenSet =
false;
151 bool m_attributesHasBeenSet =
false;
152 bool m_objectTypeHasBeenSet =
false;
153 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