7#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
19namespace PaymentCryptography
47 inline void SetEncrypt(
bool value) { m_encryptHasBeenSet =
true; m_encrypt = value; }
58 inline void SetDecrypt(
bool value) { m_decryptHasBeenSet =
true; m_decrypt = value; }
67 inline bool GetWrap()
const{
return m_wrap; }
69 inline void SetWrap(
bool value) { m_wrapHasBeenSet =
true; m_wrap = value; }
80 inline void SetUnwrap(
bool value) { m_unwrapHasBeenSet =
true; m_unwrap = value; }
91 inline void SetGenerate(
bool value) { m_generateHasBeenSet =
true; m_generate = value; }
102 inline void SetSign(
bool value) { m_signHasBeenSet =
true; m_sign = value; }
113 inline void SetVerify(
bool value) { m_verifyHasBeenSet =
true; m_verify = value; }
124 inline void SetDeriveKey(
bool value) { m_deriveKeyHasBeenSet =
true; m_deriveKey = value; }
136 inline void SetNoRestrictions(
bool value) { m_noRestrictionsHasBeenSet =
true; m_noRestrictions = value; }
142 bool m_encryptHasBeenSet =
false;
145 bool m_decryptHasBeenSet =
false;
148 bool m_wrapHasBeenSet =
false;
151 bool m_unwrapHasBeenSet =
false;
154 bool m_generateHasBeenSet =
false;
157 bool m_signHasBeenSet =
false;
160 bool m_verifyHasBeenSet =
false;
163 bool m_deriveKeyHasBeenSet =
false;
165 bool m_noRestrictions;
166 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)
AWS_PAYMENTCRYPTOGRAPHY_API KeyModesOfUse()
KeyModesOfUse & WithUnwrap(bool value)
void SetDecrypt(bool value)
bool WrapHasBeenSet() const
bool UnwrapHasBeenSet() const
void SetUnwrap(bool value)
KeyModesOfUse & WithVerify(bool value)
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