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
47 template<
typename SchemaArnT = Aws::String>
48 void SetSchemaArn(SchemaArnT&& value) { m_schemaArnHasBeenSet =
true; m_schemaArn = std::forward<SchemaArnT>(value); }
49 template<
typename SchemaArnT = Aws::String>
59 template<
typename NameT = Aws::String>
60 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
61 template<
typename NameT = Aws::String>
73 template<
typename AttributeUpdatesT = Aws::Vector<FacetAttributeUpdate>>
74 void SetAttributeUpdates(AttributeUpdatesT&& value) { m_attributeUpdatesHasBeenSet =
true; m_attributeUpdates = std::forward<AttributeUpdatesT>(value); }
75 template<
typename AttributeUpdatesT = Aws::Vector<FacetAttributeUpdate>>
77 template<
typename AttributeUpdatesT = FacetAttributeUpdate>
78 UpdateFacetRequest&
AddAttributeUpdates(AttributeUpdatesT&& value) { m_attributeUpdatesHasBeenSet =
true; m_attributeUpdates.emplace_back(std::forward<AttributeUpdatesT>(value));
return *
this; }
94 bool m_schemaArnHasBeenSet =
false;
97 bool m_nameHasBeenSet =
false;
100 bool m_attributeUpdatesHasBeenSet =
false;
103 bool m_objectTypeHasBeenSet =
false;
const Aws::String & GetSchemaArn() const
void SetName(NameT &&value)
bool ObjectTypeHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetName() const
AWS_CLOUDDIRECTORY_API UpdateFacetRequest()=default
bool SchemaArnHasBeenSet() const
UpdateFacetRequest & WithName(NameT &&value)
bool AttributeUpdatesHasBeenSet() const
UpdateFacetRequest & AddAttributeUpdates(AttributeUpdatesT &&value)
void SetAttributeUpdates(AttributeUpdatesT &&value)
UpdateFacetRequest & WithSchemaArn(SchemaArnT &&value)
bool NameHasBeenSet() const
UpdateFacetRequest & WithAttributeUpdates(AttributeUpdatesT &&value)
ObjectType GetObjectType() const
const Aws::Vector< FacetAttributeUpdate > & GetAttributeUpdates() const
AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override
void SetObjectType(ObjectType value)
void SetSchemaArn(SchemaArnT &&value)
AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateFacetRequest & WithObjectType(ObjectType 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