7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
74 template<
typename EncryptionContextSubsetT = Aws::Map<Aws::String, Aws::String>>
75 void SetEncryptionContextSubset(EncryptionContextSubsetT&& value) { m_encryptionContextSubsetHasBeenSet =
true; m_encryptionContextSubset = std::forward<EncryptionContextSubsetT>(value); }
76 template<
typename EncryptionContextSubsetT = Aws::Map<Aws::String, Aws::String>>
78 template<
typename EncryptionContextSubsetKeyT = Aws::String,
typename EncryptionContextSubsetValueT = Aws::String>
80 m_encryptionContextSubsetHasBeenSet =
true; m_encryptionContextSubset.emplace(std::forward<EncryptionContextSubsetKeyT>(key), std::forward<EncryptionContextSubsetValueT>(value));
return *
this;
94 template<
typename EncryptionContextEqualsT = Aws::Map<Aws::String, Aws::String>>
95 void SetEncryptionContextEquals(EncryptionContextEqualsT&& value) { m_encryptionContextEqualsHasBeenSet =
true; m_encryptionContextEquals = std::forward<EncryptionContextEqualsT>(value); }
96 template<
typename EncryptionContextEqualsT = Aws::Map<Aws::String, Aws::String>>
98 template<
typename EncryptionContextEqualsKeyT = Aws::String,
typename EncryptionContextEqualsValueT = Aws::String>
100 m_encryptionContextEqualsHasBeenSet =
true; m_encryptionContextEquals.emplace(std::forward<EncryptionContextEqualsKeyT>(key), std::forward<EncryptionContextEqualsValueT>(value));
return *
this;
106 bool m_encryptionContextSubsetHasBeenSet =
false;
109 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