7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/polly/Polly_EXPORTS.h>
48 template <
typename KmsKeyArnT = Aws::String>
50 m_kmsKeyArnHasBeenSet =
true;
51 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
53 template <
typename KmsKeyArnT = Aws::String>
69 template <
typename EncryptionContextT = Aws::Map<Aws::String, Aws::String>>
71 m_encryptionContextHasBeenSet =
true;
72 m_encryptionContext = std::forward<EncryptionContextT>(value);
74 template <
typename EncryptionContextT = Aws::Map<Aws::String, Aws::String>>
79 template <
typename EncryptionContextKeyT = Aws::String,
typename EncryptionContextValueT = Aws::String>
81 m_encryptionContextHasBeenSet =
true;
82 m_encryptionContext.emplace(std::forward<EncryptionContextKeyT>(key), std::forward<EncryptionContextValueT>(value));
90 bool m_kmsKeyArnHasBeenSet =
false;
91 bool m_encryptionContextHasBeenSet =
false;
CustomerManagedEncryption & WithEncryptionContext(EncryptionContextT &&value)
void SetKmsKeyArn(KmsKeyArnT &&value)
void SetEncryptionContext(EncryptionContextT &&value)
CustomerManagedEncryption & WithKmsKeyArn(KmsKeyArnT &&value)
bool KmsKeyArnHasBeenSet() const
bool EncryptionContextHasBeenSet() const
AWS_POLLY_API CustomerManagedEncryption(Aws::Utils::Json::JsonView jsonValue)
AWS_POLLY_API CustomerManagedEncryption & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetKmsKeyArn() const
CustomerManagedEncryption & AddEncryptionContext(EncryptionContextKeyT &&key, EncryptionContextValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetEncryptionContext() const
AWS_POLLY_API CustomerManagedEncryption()=default
AWS_POLLY_API Aws::Utils::Json::JsonValue Jsonize() 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