7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
11#include <aws/verifiedpermissions/model/AttributeValue.h>
12#include <aws/verifiedpermissions/model/CedarTagValue.h>
13#include <aws/verifiedpermissions/model/EntityIdentifier.h>
24namespace VerifiedPermissions {
50 template <
typename IdentifierT = EntityIdentifier>
52 m_identifierHasBeenSet =
true;
53 m_identifier = std::forward<IdentifierT>(value);
55 template <
typename IdentifierT = EntityIdentifier>
68 template <
typename AttributesT = Aws::Map<Aws::String, AttributeValue>>
70 m_attributesHasBeenSet =
true;
71 m_attributes = std::forward<AttributesT>(value);
73 template <
typename AttributesT = Aws::Map<Aws::String, AttributeValue>>
78 template <
typename AttributesKeyT = Aws::String,
typename AttributesValueT = AttributeValue>
80 m_attributesHasBeenSet =
true;
81 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
98 template <
typename ParentsT = Aws::Vector<EntityIdentifier>>
100 m_parentsHasBeenSet =
true;
101 m_parents = std::forward<ParentsT>(value);
103 template <
typename ParentsT = Aws::Vector<EntityIdentifier>>
108 template <
typename ParentsT = EntityIdentifier>
110 m_parentsHasBeenSet =
true;
111 m_parents.emplace_back(std::forward<ParentsT>(value));
122 template <
typename TagsT = Aws::Map<Aws::String, CedarTagValue>>
124 m_tagsHasBeenSet =
true;
125 m_tags = std::forward<TagsT>(value);
127 template <
typename TagsT = Aws::Map<Aws::String, CedarTagValue>>
129 SetTags(std::forward<TagsT>(value));
132 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = CedarTagValue>
134 m_tagsHasBeenSet =
true;
135 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
147 bool m_identifierHasBeenSet =
false;
148 bool m_attributesHasBeenSet =
false;
149 bool m_parentsHasBeenSet =
false;
150 bool m_tagsHasBeenSet =
false;
bool IdentifierHasBeenSet() const
AWS_VERIFIEDPERMISSIONS_API EntityItem()=default
AWS_VERIFIEDPERMISSIONS_API EntityItem & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AttributesHasBeenSet() const
void SetIdentifier(IdentifierT &&value)
bool ParentsHasBeenSet() const
AWS_VERIFIEDPERMISSIONS_API EntityItem(Aws::Utils::Json::JsonView jsonValue)
EntityItem & WithParents(ParentsT &&value)
void SetAttributes(AttributesT &&value)
const Aws::Map< Aws::String, AttributeValue > & GetAttributes() const
const EntityIdentifier & GetIdentifier() const
EntityItem & WithIdentifier(IdentifierT &&value)
const Aws::Map< Aws::String, CedarTagValue > & GetTags() const
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
EntityItem & WithTags(TagsT &&value)
void SetParents(ParentsT &&value)
EntityItem & WithAttributes(AttributesT &&value)
bool TagsHasBeenSet() const
const Aws::Vector< EntityIdentifier > & GetParents() const
EntityItem & AddParents(ParentsT &&value)
EntityItem & AddTags(TagsKeyT &&key, TagsValueT &&value)
EntityItem & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
void SetTags(TagsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue