7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace AccessAnalyzer {
53 template <
typename EncryptionContextEqualsT = Aws::Map<Aws::String, Aws::String>>
55 m_encryptionContextEqualsHasBeenSet =
true;
56 m_encryptionContextEquals = std::forward<EncryptionContextEqualsT>(value);
58 template <
typename EncryptionContextEqualsT = Aws::Map<Aws::String, Aws::String>>
63 template <
typename EncryptionContextEqualsKeyT = Aws::String,
typename EncryptionContextEqualsValueT = Aws::String>
65 m_encryptionContextEqualsHasBeenSet =
true;
66 m_encryptionContextEquals.emplace(std::forward<EncryptionContextEqualsKeyT>(key), std::forward<EncryptionContextEqualsValueT>(value));
82 template <
typename EncryptionContextSubsetT = Aws::Map<Aws::String, Aws::String>>
84 m_encryptionContextSubsetHasBeenSet =
true;
85 m_encryptionContextSubset = std::forward<EncryptionContextSubsetT>(value);
87 template <
typename EncryptionContextSubsetT = Aws::Map<Aws::String, Aws::String>>
92 template <
typename EncryptionContextSubsetKeyT = Aws::String,
typename EncryptionContextSubsetValueT = Aws::String>
94 m_encryptionContextSubsetHasBeenSet =
true;
95 m_encryptionContextSubset.emplace(std::forward<EncryptionContextSubsetKeyT>(key), std::forward<EncryptionContextSubsetValueT>(value));
103 bool m_encryptionContextEqualsHasBeenSet =
false;
104 bool m_encryptionContextSubsetHasBeenSet =
false;
AWS_ACCESSANALYZER_API KmsGrantConstraints(Aws::Utils::Json::JsonView jsonValue)
bool EncryptionContextSubsetHasBeenSet() const
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetEncryptionContextSubset() const
void SetEncryptionContextEquals(EncryptionContextEqualsT &&value)
KmsGrantConstraints & WithEncryptionContextEquals(EncryptionContextEqualsT &&value)
AWS_ACCESSANALYZER_API KmsGrantConstraints & operator=(Aws::Utils::Json::JsonView jsonValue)
KmsGrantConstraints & AddEncryptionContextSubset(EncryptionContextSubsetKeyT &&key, EncryptionContextSubsetValueT &&value)
bool EncryptionContextEqualsHasBeenSet() const
KmsGrantConstraints & AddEncryptionContextEquals(EncryptionContextEqualsKeyT &&key, EncryptionContextEqualsValueT &&value)
KmsGrantConstraints & WithEncryptionContextSubset(EncryptionContextSubsetT &&value)
const Aws::Map< Aws::String, Aws::String > & GetEncryptionContextEquals() const
void SetEncryptionContextSubset(EncryptionContextSubsetT &&value)
AWS_ACCESSANALYZER_API KmsGrantConstraints()=default
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue