AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KeyModesOfUse.h
1
6#pragma once
7#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace PaymentCryptography
20{
21namespace Model
22{
23
32 {
33 public:
34 AWS_PAYMENTCRYPTOGRAPHY_API KeyModesOfUse();
35 AWS_PAYMENTCRYPTOGRAPHY_API KeyModesOfUse(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PAYMENTCRYPTOGRAPHY_API KeyModesOfUse& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline bool GetEncrypt() const{ return m_encrypt; }
46 inline bool EncryptHasBeenSet() const { return m_encryptHasBeenSet; }
47 inline void SetEncrypt(bool value) { m_encryptHasBeenSet = true; m_encrypt = value; }
48 inline KeyModesOfUse& WithEncrypt(bool value) { SetEncrypt(value); return *this;}
50
52
56 inline bool GetDecrypt() const{ return m_decrypt; }
57 inline bool DecryptHasBeenSet() const { return m_decryptHasBeenSet; }
58 inline void SetDecrypt(bool value) { m_decryptHasBeenSet = true; m_decrypt = value; }
59 inline KeyModesOfUse& WithDecrypt(bool value) { SetDecrypt(value); return *this;}
61
63
67 inline bool GetWrap() const{ return m_wrap; }
68 inline bool WrapHasBeenSet() const { return m_wrapHasBeenSet; }
69 inline void SetWrap(bool value) { m_wrapHasBeenSet = true; m_wrap = value; }
70 inline KeyModesOfUse& WithWrap(bool value) { SetWrap(value); return *this;}
72
74
78 inline bool GetUnwrap() const{ return m_unwrap; }
79 inline bool UnwrapHasBeenSet() const { return m_unwrapHasBeenSet; }
80 inline void SetUnwrap(bool value) { m_unwrapHasBeenSet = true; m_unwrap = value; }
81 inline KeyModesOfUse& WithUnwrap(bool value) { SetUnwrap(value); return *this;}
83
85
89 inline bool GetGenerate() const{ return m_generate; }
90 inline bool GenerateHasBeenSet() const { return m_generateHasBeenSet; }
91 inline void SetGenerate(bool value) { m_generateHasBeenSet = true; m_generate = value; }
92 inline KeyModesOfUse& WithGenerate(bool value) { SetGenerate(value); return *this;}
94
96
100 inline bool GetSign() const{ return m_sign; }
101 inline bool SignHasBeenSet() const { return m_signHasBeenSet; }
102 inline void SetSign(bool value) { m_signHasBeenSet = true; m_sign = value; }
103 inline KeyModesOfUse& WithSign(bool value) { SetSign(value); return *this;}
105
107
111 inline bool GetVerify() const{ return m_verify; }
112 inline bool VerifyHasBeenSet() const { return m_verifyHasBeenSet; }
113 inline void SetVerify(bool value) { m_verifyHasBeenSet = true; m_verify = value; }
114 inline KeyModesOfUse& WithVerify(bool value) { SetVerify(value); return *this;}
116
118
122 inline bool GetDeriveKey() const{ return m_deriveKey; }
123 inline bool DeriveKeyHasBeenSet() const { return m_deriveKeyHasBeenSet; }
124 inline void SetDeriveKey(bool value) { m_deriveKeyHasBeenSet = true; m_deriveKey = value; }
125 inline KeyModesOfUse& WithDeriveKey(bool value) { SetDeriveKey(value); return *this;}
127
129
134 inline bool GetNoRestrictions() const{ return m_noRestrictions; }
135 inline bool NoRestrictionsHasBeenSet() const { return m_noRestrictionsHasBeenSet; }
136 inline void SetNoRestrictions(bool value) { m_noRestrictionsHasBeenSet = true; m_noRestrictions = value; }
137 inline KeyModesOfUse& WithNoRestrictions(bool value) { SetNoRestrictions(value); return *this;}
139 private:
140
141 bool m_encrypt;
142 bool m_encryptHasBeenSet = false;
143
144 bool m_decrypt;
145 bool m_decryptHasBeenSet = false;
146
147 bool m_wrap;
148 bool m_wrapHasBeenSet = false;
149
150 bool m_unwrap;
151 bool m_unwrapHasBeenSet = false;
152
153 bool m_generate;
154 bool m_generateHasBeenSet = false;
155
156 bool m_sign;
157 bool m_signHasBeenSet = false;
158
159 bool m_verify;
160 bool m_verifyHasBeenSet = false;
161
162 bool m_deriveKey;
163 bool m_deriveKeyHasBeenSet = false;
164
165 bool m_noRestrictions;
166 bool m_noRestrictionsHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace PaymentCryptography
171} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHY_API KeyModesOfUse(Aws::Utils::Json::JsonView jsonValue)
KeyModesOfUse & WithNoRestrictions(bool value)
AWS_PAYMENTCRYPTOGRAPHY_API KeyModesOfUse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTCRYPTOGRAPHY_API KeyModesOfUse()
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue