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>
22namespace AccessAnalyzer
59 template<
typename EncryptionContextEqualsT = Aws::Map<Aws::String, Aws::String>>
60 void SetEncryptionContextEquals(EncryptionContextEqualsT&& value) { m_encryptionContextEqualsHasBeenSet =
true; m_encryptionContextEquals = std::forward<EncryptionContextEqualsT>(value); }
61 template<
typename EncryptionContextEqualsT = Aws::Map<Aws::String, Aws::String>>
63 template<
typename EncryptionContextEqualsKeyT = Aws::String,
typename EncryptionContextEqualsValueT = Aws::String>
65 m_encryptionContextEqualsHasBeenSet =
true; m_encryptionContextEquals.emplace(std::forward<EncryptionContextEqualsKeyT>(key), std::forward<EncryptionContextEqualsValueT>(value));
return *
this;
80 template<
typename EncryptionContextSubsetT = Aws::Map<Aws::String, Aws::String>>
81 void SetEncryptionContextSubset(EncryptionContextSubsetT&& value) { m_encryptionContextSubsetHasBeenSet =
true; m_encryptionContextSubset = std::forward<EncryptionContextSubsetT>(value); }
82 template<
typename EncryptionContextSubsetT = Aws::Map<Aws::String, Aws::String>>
84 template<
typename EncryptionContextSubsetKeyT = Aws::String,
typename EncryptionContextSubsetValueT = Aws::String>
86 m_encryptionContextSubsetHasBeenSet =
true; m_encryptionContextSubset.emplace(std::forward<EncryptionContextSubsetKeyT>(key), std::forward<EncryptionContextSubsetValueT>(value));
return *
this;
92 bool m_encryptionContextEqualsHasBeenSet =
false;
95 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