7#include <aws/payment-cryptography-data/PaymentCryptographyData_EXPORTS.h>
8#include <aws/payment-cryptography-data/PaymentCryptographyDataRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/payment-cryptography-data/model/EncryptionDecryptionAttributes.h>
11#include <aws/payment-cryptography-data/model/WrappedKey.h>
16namespace PaymentCryptographyData
47 template<
typename KeyIdentifierT = Aws::String>
48 void SetKeyIdentifier(KeyIdentifierT&& value) { m_keyIdentifierHasBeenSet =
true; m_keyIdentifier = std::forward<KeyIdentifierT>(value); }
49 template<
typename KeyIdentifierT = Aws::String>
59 template<
typename CipherTextT = Aws::String>
60 void SetCipherText(CipherTextT&& value) { m_cipherTextHasBeenSet =
true; m_cipherText = std::forward<CipherTextT>(value); }
61 template<
typename CipherTextT = Aws::String>
71 template<
typename DecryptionAttributesT = EncryptionDecryptionAttributes>
72 void SetDecryptionAttributes(DecryptionAttributesT&& value) { m_decryptionAttributesHasBeenSet =
true; m_decryptionAttributes = std::forward<DecryptionAttributesT>(value); }
73 template<
typename DecryptionAttributesT = EncryptionDecryptionAttributes>
84 template<
typename WrappedKeyT = WrappedKey>
85 void SetWrappedKey(WrappedKeyT&& value) { m_wrappedKeyHasBeenSet =
true; m_wrappedKey = std::forward<WrappedKeyT>(value); }
86 template<
typename WrappedKeyT = WrappedKey>
92 bool m_keyIdentifierHasBeenSet =
false;
95 bool m_cipherTextHasBeenSet =
false;
98 bool m_decryptionAttributesHasBeenSet =
false;
101 bool m_wrappedKeyHasBeenSet =
false;
bool CipherTextHasBeenSet() const
DecryptDataRequest & WithKeyIdentifier(KeyIdentifierT &&value)
DecryptDataRequest & WithDecryptionAttributes(DecryptionAttributesT &&value)
void SetCipherText(CipherTextT &&value)
void SetKeyIdentifier(KeyIdentifierT &&value)
const EncryptionDecryptionAttributes & GetDecryptionAttributes() const
bool DecryptionAttributesHasBeenSet() const
DecryptDataRequest & WithCipherText(CipherTextT &&value)
const WrappedKey & GetWrappedKey() const
bool WrappedKeyHasBeenSet() const
const Aws::String & GetCipherText() const
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override
void SetDecryptionAttributes(DecryptionAttributesT &&value)
DecryptDataRequest & WithWrappedKey(WrappedKeyT &&value)
virtual const char * GetServiceRequestName() const override
void SetWrappedKey(WrappedKeyT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API DecryptDataRequest()=default
const Aws::String & GetKeyIdentifier() const
bool KeyIdentifierHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String