7#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
16namespace PaymentCryptography {
41 m_encryptHasBeenSet =
true;
58 m_decryptHasBeenSet =
true;
72 inline bool GetWrap()
const {
return m_wrap; }
75 m_wrapHasBeenSet =
true;
92 m_unwrapHasBeenSet =
true;
109 m_generateHasBeenSet =
true;
123 inline bool GetSign()
const {
return m_sign; }
126 m_signHasBeenSet =
true;
143 m_verifyHasBeenSet =
true;
160 m_deriveKeyHasBeenSet =
true;
178 m_noRestrictionsHasBeenSet =
true;
179 m_noRestrictions = value;
187 bool m_encrypt{
false};
189 bool m_decrypt{
false};
193 bool m_unwrap{
false};
195 bool m_generate{
false};
199 bool m_verify{
false};
201 bool m_deriveKey{
false};
203 bool m_noRestrictions{
false};
204 bool m_encryptHasBeenSet =
false;
205 bool m_decryptHasBeenSet =
false;
206 bool m_wrapHasBeenSet =
false;
207 bool m_unwrapHasBeenSet =
false;
208 bool m_generateHasBeenSet =
false;
209 bool m_signHasBeenSet =
false;
210 bool m_verifyHasBeenSet =
false;
211 bool m_deriveKeyHasBeenSet =
false;
212 bool m_noRestrictionsHasBeenSet =
false;
void SetVerify(bool value)
void SetGenerate(bool value)
KeyModesOfUse & WithDecrypt(bool value)
AWS_PAYMENTCRYPTOGRAPHY_API KeyModesOfUse(Aws::Utils::Json::JsonView jsonValue)
KeyModesOfUse & WithNoRestrictions(bool value)
AWS_PAYMENTCRYPTOGRAPHY_API KeyModesOfUse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEncrypt(bool value)
bool SignHasBeenSet() const
KeyModesOfUse & WithDeriveKey(bool value)
bool VerifyHasBeenSet() const
bool GetNoRestrictions() const
KeyModesOfUse & WithWrap(bool value)
KeyModesOfUse & WithUnwrap(bool value)
void SetDecrypt(bool value)
bool WrapHasBeenSet() const
bool UnwrapHasBeenSet() const
void SetUnwrap(bool value)
KeyModesOfUse & WithVerify(bool value)
AWS_PAYMENTCRYPTOGRAPHY_API KeyModesOfUse()=default
bool GenerateHasBeenSet() const
bool DecryptHasBeenSet() const
void SetNoRestrictions(bool value)
KeyModesOfUse & WithEncrypt(bool value)
KeyModesOfUse & WithSign(bool value)
bool DeriveKeyHasBeenSet() const
bool EncryptHasBeenSet() const
bool GetDeriveKey() const
bool NoRestrictionsHasBeenSet() const
void SetDeriveKey(bool value)
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const
KeyModesOfUse & WithGenerate(bool value)
Aws::Utils::Json::JsonValue JsonValue