7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kms/KMS_EXPORTS.h>
68 template <
typename EncryptionContextSubsetT = Aws::Map<Aws::String, Aws::String>>
70 m_encryptionContextSubsetHasBeenSet =
true;
71 m_encryptionContextSubset = std::forward<EncryptionContextSubsetT>(value);
73 template <
typename EncryptionContextSubsetT = Aws::Map<Aws::String, Aws::String>>
78 template <
typename EncryptionContextSubsetKeyT = Aws::String,
typename EncryptionContextSubsetValueT = Aws::String>
80 m_encryptionContextSubsetHasBeenSet =
true;
81 m_encryptionContextSubset.emplace(std::forward<EncryptionContextSubsetKeyT>(key), std::forward<EncryptionContextSubsetValueT>(value));
96 template <
typename EncryptionContextEqualsT = Aws::Map<Aws::String, Aws::String>>
98 m_encryptionContextEqualsHasBeenSet =
true;
99 m_encryptionContextEquals = std::forward<EncryptionContextEqualsT>(value);
101 template <
typename EncryptionContextEqualsT = Aws::Map<Aws::String, Aws::String>>
106 template <
typename EncryptionContextEqualsKeyT = Aws::String,
typename EncryptionContextEqualsValueT = Aws::String>
108 m_encryptionContextEqualsHasBeenSet =
true;
109 m_encryptionContextEquals.emplace(std::forward<EncryptionContextEqualsKeyT>(key), std::forward<EncryptionContextEqualsValueT>(value));
117 bool m_encryptionContextSubsetHasBeenSet =
false;
118 bool m_encryptionContextEqualsHasBeenSet =
false;
GrantConstraints & WithEncryptionContextSubset(EncryptionContextSubsetT &&value)
GrantConstraints & AddEncryptionContextSubset(EncryptionContextSubsetKeyT &&key, EncryptionContextSubsetValueT &&value)
bool EncryptionContextEqualsHasBeenSet() const
AWS_KMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KMS_API GrantConstraints(Aws::Utils::Json::JsonView jsonValue)
bool EncryptionContextSubsetHasBeenSet() const
AWS_KMS_API GrantConstraints()=default
const Aws::Map< Aws::String, Aws::String > & GetEncryptionContextSubset() const
AWS_KMS_API GrantConstraints & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetEncryptionContextEquals() const
void SetEncryptionContextEquals(EncryptionContextEqualsT &&value)
GrantConstraints & AddEncryptionContextEquals(EncryptionContextEqualsKeyT &&key, EncryptionContextEqualsValueT &&value)
void SetEncryptionContextSubset(EncryptionContextSubsetT &&value)
GrantConstraints & WithEncryptionContextEquals(EncryptionContextEqualsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue