7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/FacetAttributeType.h>
9#include <aws/clouddirectory/model/TypedAttributeValue.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/clouddirectory/model/Rule.h>
25namespace CloudDirectory
76 inline void SetIsImmutable(
bool value) { m_isImmutableHasBeenSet =
true; m_isImmutable = value; }
100 bool m_typeHasBeenSet =
false;
103 bool m_defaultValueHasBeenSet =
false;
106 bool m_isImmutableHasBeenSet =
false;
109 bool m_rulesHasBeenSet =
false;
void SetType(FacetAttributeType &&value)
FacetAttributeDefinition & WithRules(Aws::Map< Aws::String, Rule > &&value)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
FacetAttributeDefinition & AddRules(const char *key, Rule &&value)
FacetAttributeDefinition & AddRules(const Aws::String &key, Rule &&value)
bool RulesHasBeenSet() const
FacetAttributeDefinition & AddRules(Aws::String &&key, const Rule &value)
const FacetAttributeType & GetType() const
AWS_CLOUDDIRECTORY_API FacetAttributeDefinition()
void SetDefaultValue(const TypedAttributeValue &value)
FacetAttributeDefinition & AddRules(const char *key, const Rule &value)
FacetAttributeDefinition & WithDefaultValue(TypedAttributeValue &&value)
FacetAttributeDefinition & WithType(const FacetAttributeType &value)
AWS_CLOUDDIRECTORY_API FacetAttributeDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
FacetAttributeDefinition & WithIsImmutable(bool value)
bool TypeHasBeenSet() const
FacetAttributeDefinition & WithDefaultValue(const TypedAttributeValue &value)
bool GetIsImmutable() const
AWS_CLOUDDIRECTORY_API FacetAttributeDefinition(Aws::Utils::Json::JsonView jsonValue)
FacetAttributeDefinition & AddRules(const Aws::String &key, const Rule &value)
void SetType(const FacetAttributeType &value)
FacetAttributeDefinition & WithRules(const Aws::Map< Aws::String, Rule > &value)
void SetIsImmutable(bool value)
const Aws::Map< Aws::String, Rule > & GetRules() const
bool DefaultValueHasBeenSet() const
void SetRules(const Aws::Map< Aws::String, Rule > &value)
bool IsImmutableHasBeenSet() const
const TypedAttributeValue & GetDefaultValue() const
FacetAttributeDefinition & WithType(FacetAttributeType &&value)
void SetRules(Aws::Map< Aws::String, Rule > &&value)
FacetAttributeDefinition & AddRules(Aws::String &&key, Rule &&value)
void SetDefaultValue(TypedAttributeValue &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue