7#include <aws/clouddirectory/CloudDirectoryRequest.h>
8#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
9#include <aws/clouddirectory/model/FacetAttributeUpdate.h>
10#include <aws/clouddirectory/model/ObjectType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
17namespace CloudDirectory {
43 template <
typename SchemaArnT = Aws::String>
45 m_schemaArnHasBeenSet =
true;
46 m_schemaArn = std::forward<SchemaArnT>(value);
48 template <
typename SchemaArnT = Aws::String>
61 template <
typename NameT = Aws::String>
63 m_nameHasBeenSet =
true;
64 m_name = std::forward<NameT>(value);
66 template <
typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
81 template <
typename AttributeUpdatesT = Aws::Vector<FacetAttributeUpdate>>
83 m_attributeUpdatesHasBeenSet =
true;
84 m_attributeUpdates = std::forward<AttributeUpdatesT>(value);
86 template <
typename AttributeUpdatesT = Aws::Vector<FacetAttributeUpdate>>
91 template <
typename AttributeUpdatesT = FacetAttributeUpdate>
93 m_attributeUpdatesHasBeenSet =
true;
94 m_attributeUpdates.emplace_back(std::forward<AttributeUpdatesT>(value));
107 m_objectTypeHasBeenSet =
true;
108 m_objectType = value;
123 bool m_schemaArnHasBeenSet =
false;
124 bool m_nameHasBeenSet =
false;
125 bool m_attributeUpdatesHasBeenSet =
false;
126 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