7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/verifiedpermissions/model/AttributeValue.h>
23namespace VerifiedPermissions
66 template<
typename ContextMapT = Aws::Map<Aws::String, AttributeValue>>
67 void SetContextMap(ContextMapT&& value) { m_contextMapHasBeenSet =
true; m_contextMap = std::forward<ContextMapT>(value); }
68 template<
typename ContextMapT = Aws::Map<Aws::String, AttributeValue>>
70 template<
typename ContextMapKeyT = Aws::String,
typename ContextMapValueT = AttributeValue>
72 m_contextMapHasBeenSet =
true; m_contextMap.emplace(std::forward<ContextMapKeyT>(key), std::forward<ContextMapValueT>(value));
return *
this;
85 template<
typename CedarJsonT = Aws::String>
86 void SetCedarJson(CedarJsonT&& value) { m_cedarJsonHasBeenSet =
true; m_cedarJson = std::forward<CedarJsonT>(value); }
87 template<
typename CedarJsonT = Aws::String>
93 bool m_contextMapHasBeenSet =
false;
96 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