7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
20namespace VerifiedPermissions {
49 template <
typename KeyT = Aws::String>
51 m_keyHasBeenSet =
true;
52 m_key = std::forward<KeyT>(value);
54 template <
typename KeyT = Aws::String>
56 SetKey(std::forward<KeyT>(value));
67 template <
typename EncryptionContextT = Aws::Map<Aws::String, Aws::String>>
69 m_encryptionContextHasBeenSet =
true;
70 m_encryptionContext = std::forward<EncryptionContextT>(value);
72 template <
typename EncryptionContextT = Aws::Map<Aws::String, Aws::String>>
77 template <
typename EncryptionContextKeyT = Aws::String,
typename EncryptionContextValueT = Aws::String>
79 m_encryptionContextHasBeenSet =
true;
80 m_encryptionContext.emplace(std::forward<EncryptionContextKeyT>(key), std::forward<EncryptionContextValueT>(value));
88 bool m_keyHasBeenSet =
false;
89 bool m_encryptionContextHasBeenSet =
false;
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEncryptionContext(EncryptionContextT &&value)
const Aws::Map< Aws::String, Aws::String > & GetEncryptionContext() const
AWS_VERIFIEDPERMISSIONS_API KmsEncryptionState()=default
KmsEncryptionState & AddEncryptionContext(EncryptionContextKeyT &&key, EncryptionContextValueT &&value)
void SetKey(KeyT &&value)
AWS_VERIFIEDPERMISSIONS_API KmsEncryptionState(Aws::Utils::Json::JsonView jsonValue)
bool KeyHasBeenSet() const
AWS_VERIFIEDPERMISSIONS_API KmsEncryptionState & operator=(Aws::Utils::Json::JsonView jsonValue)
bool EncryptionContextHasBeenSet() const
KmsEncryptionState & WithKey(KeyT &&value)
KmsEncryptionState & WithEncryptionContext(EncryptionContextT &&value)
const Aws::String & GetKey() const
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