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 {
52 template <
typename KeyT = Aws::String>
54 m_keyHasBeenSet =
true;
55 m_key = std::forward<KeyT>(value);
57 template <
typename KeyT = Aws::String>
59 SetKey(std::forward<KeyT>(value));
70 template <
typename EncryptionContextT = Aws::Map<Aws::String, Aws::String>>
72 m_encryptionContextHasBeenSet =
true;
73 m_encryptionContext = std::forward<EncryptionContextT>(value);
75 template <
typename EncryptionContextT = Aws::Map<Aws::String, Aws::String>>
80 template <
typename EncryptionContextKeyT = Aws::String,
typename EncryptionContextValueT = Aws::String>
82 m_encryptionContextHasBeenSet =
true;
83 m_encryptionContext.emplace(std::forward<EncryptionContextKeyT>(key), std::forward<EncryptionContextValueT>(value));
91 bool m_keyHasBeenSet =
false;
92 bool m_encryptionContextHasBeenSet =
false;
void SetKey(KeyT &&value)
KmsEncryptionSettings & AddEncryptionContext(EncryptionContextKeyT &&key, EncryptionContextValueT &&value)
AWS_VERIFIEDPERMISSIONS_API KmsEncryptionSettings(Aws::Utils::Json::JsonView jsonValue)
KmsEncryptionSettings & WithEncryptionContext(EncryptionContextT &&value)
const Aws::String & GetKey() const
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEncryptionContext(EncryptionContextT &&value)
AWS_VERIFIEDPERMISSIONS_API KmsEncryptionSettings()=default
AWS_VERIFIEDPERMISSIONS_API KmsEncryptionSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
KmsEncryptionSettings & WithKey(KeyT &&value)
bool KeyHasBeenSet() const
bool EncryptionContextHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetEncryptionContext() 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