7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
10#include <aws/verifiedpermissions/model/AttributeValue.h>
21namespace VerifiedPermissions {
60 template <
typename ContextMapT = Aws::Map<Aws::String, AttributeValue>>
62 m_contextMapHasBeenSet =
true;
63 m_contextMap = std::forward<ContextMapT>(value);
65 template <
typename ContextMapT = Aws::Map<Aws::String, AttributeValue>>
70 template <
typename ContextMapKeyT = Aws::String,
typename ContextMapValueT = AttributeValue>
72 m_contextMapHasBeenSet =
true;
73 m_contextMap.emplace(std::forward<ContextMapKeyT>(key), std::forward<ContextMapValueT>(value));
87 template <
typename CedarJsonT = Aws::String>
89 m_cedarJsonHasBeenSet =
true;
90 m_cedarJson = std::forward<CedarJsonT>(value);
92 template <
typename CedarJsonT = Aws::String>
102 bool m_contextMapHasBeenSet =
false;
103 bool m_cedarJsonHasBeenSet =
false;
AWS_VERIFIEDPERMISSIONS_API ContextDefinition()=default
bool ContextMapHasBeenSet() const
void SetCedarJson(CedarJsonT &&value)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
bool CedarJsonHasBeenSet() const
ContextDefinition & AddContextMap(ContextMapKeyT &&key, ContextMapValueT &&value)
const Aws::String & GetCedarJson() const
AWS_VERIFIEDPERMISSIONS_API ContextDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_VERIFIEDPERMISSIONS_API ContextDefinition(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, AttributeValue > & GetContextMap() const
ContextDefinition & WithContextMap(ContextMapT &&value)
ContextDefinition & WithCedarJson(CedarJsonT &&value)
void SetContextMap(ContextMapT &&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