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/FacetAttributeUpdate.h>
17namespace CloudDirectory
49 inline void SetSchemaArn(
const char* value) { m_schemaArnHasBeenSet =
true; m_schemaArn.assign(value); }
63 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
100 bool m_schemaArnHasBeenSet =
false;
103 bool m_nameHasBeenSet =
false;
106 bool m_attributeUpdatesHasBeenSet =
false;
109 bool m_objectTypeHasBeenSet =
false;
const Aws::String & GetSchemaArn() const
UpdateFacetRequest & WithAttributeUpdates(Aws::Vector< FacetAttributeUpdate > &&value)
UpdateFacetRequest & WithName(Aws::String &&value)
UpdateFacetRequest & WithName(const Aws::String &value)
UpdateFacetRequest & WithAttributeUpdates(const Aws::Vector< FacetAttributeUpdate > &value)
void SetSchemaArn(const Aws::String &value)
void SetObjectType(ObjectType &&value)
bool ObjectTypeHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetName() const
UpdateFacetRequest & WithSchemaArn(const Aws::String &value)
UpdateFacetRequest & AddAttributeUpdates(const FacetAttributeUpdate &value)
UpdateFacetRequest & WithObjectType(const ObjectType &value)
UpdateFacetRequest & WithSchemaArn(Aws::String &&value)
UpdateFacetRequest & WithSchemaArn(const char *value)
bool SchemaArnHasBeenSet() const
UpdateFacetRequest & AddAttributeUpdates(FacetAttributeUpdate &&value)
bool AttributeUpdatesHasBeenSet() const
void SetObjectType(const ObjectType &value)
void SetName(Aws::String &&value)
void SetAttributeUpdates(const Aws::Vector< FacetAttributeUpdate > &value)
void SetSchemaArn(Aws::String &&value)
AWS_CLOUDDIRECTORY_API UpdateFacetRequest()
bool NameHasBeenSet() const
const ObjectType & GetObjectType() const
UpdateFacetRequest & WithObjectType(ObjectType &&value)
const Aws::Vector< FacetAttributeUpdate > & GetAttributeUpdates() const
void SetName(const char *value)
UpdateFacetRequest & WithName(const char *value)
void SetName(const Aws::String &value)
void SetSchemaArn(const char *value)
AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override
AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetAttributeUpdates(Aws::Vector< FacetAttributeUpdate > &&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