7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/verifiedpermissions/model/EntityIdentifier.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/verifiedpermissions/model/AttributeValue.h>
25namespace VerifiedPermissions
55 template<
typename IdentifierT = EntityIdentifier>
56 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet =
true; m_identifier = std::forward<IdentifierT>(value); }
57 template<
typename IdentifierT = EntityIdentifier>
67 template<
typename AttributesT = Aws::Map<Aws::String, AttributeValue>>
68 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
69 template<
typename AttributesT = Aws::Map<Aws::String, AttributeValue>>
71 template<
typename AttributesKeyT = Aws::String,
typename AttributesValueT = AttributeValue>
73 m_attributesHasBeenSet =
true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
return *
this;
89 template<
typename ParentsT = Aws::Vector<EntityIdentifier>>
90 void SetParents(ParentsT&& value) { m_parentsHasBeenSet =
true; m_parents = std::forward<ParentsT>(value); }
91 template<
typename ParentsT = Aws::Vector<EntityIdentifier>>
93 template<
typename ParentsT = EntityIdentifier>
94 EntityItem&
AddParents(ParentsT&& value) { m_parentsHasBeenSet =
true; m_parents.emplace_back(std::forward<ParentsT>(value));
return *
this; }
99 bool m_identifierHasBeenSet =
false;
102 bool m_attributesHasBeenSet =
false;
105 bool m_parentsHasBeenSet =
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)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetParents(ParentsT &&value)
EntityItem & WithAttributes(AttributesT &&value)
const Aws::Vector< EntityIdentifier > & GetParents() const
EntityItem & AddParents(ParentsT &&value)
EntityItem & AddAttributes(AttributesKeyT &&key, AttributesValueT &&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