AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
EcdhDerivationAttributes.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/payment-cryptography-data/PaymentCryptographyData_EXPORTS.h>
9#include <aws/payment-cryptography-data/model/KeyDerivationFunction.h>
10#include <aws/payment-cryptography-data/model/KeyDerivationHashAlgorithm.h>
11#include <aws/payment-cryptography-data/model/SymmetricKeyAlgorithm.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace PaymentCryptographyData {
23namespace Model {
24
32 public:
33 AWS_PAYMENTCRYPTOGRAPHYDATA_API EcdhDerivationAttributes() = default;
34 AWS_PAYMENTCRYPTOGRAPHYDATA_API EcdhDerivationAttributes(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PAYMENTCRYPTOGRAPHYDATA_API EcdhDerivationAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::String& GetCertificateAuthorityPublicKeyIdentifier() const { return m_certificateAuthorityPublicKeyIdentifier; }
44 inline bool CertificateAuthorityPublicKeyIdentifierHasBeenSet() const { return m_certificateAuthorityPublicKeyIdentifierHasBeenSet; }
45 template <typename CertificateAuthorityPublicKeyIdentifierT = Aws::String>
46 void SetCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT&& value) {
47 m_certificateAuthorityPublicKeyIdentifierHasBeenSet = true;
48 m_certificateAuthorityPublicKeyIdentifier = std::forward<CertificateAuthorityPublicKeyIdentifierT>(value);
49 }
50 template <typename CertificateAuthorityPublicKeyIdentifierT = Aws::String>
51 EcdhDerivationAttributes& WithCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT&& value) {
52 SetCertificateAuthorityPublicKeyIdentifier(std::forward<CertificateAuthorityPublicKeyIdentifierT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::String& GetPublicKeyCertificate() const { return m_publicKeyCertificate; }
63 inline bool PublicKeyCertificateHasBeenSet() const { return m_publicKeyCertificateHasBeenSet; }
64 template <typename PublicKeyCertificateT = Aws::String>
65 void SetPublicKeyCertificate(PublicKeyCertificateT&& value) {
66 m_publicKeyCertificateHasBeenSet = true;
67 m_publicKeyCertificate = std::forward<PublicKeyCertificateT>(value);
68 }
69 template <typename PublicKeyCertificateT = Aws::String>
70 EcdhDerivationAttributes& WithPublicKeyCertificate(PublicKeyCertificateT&& value) {
71 SetPublicKeyCertificate(std::forward<PublicKeyCertificateT>(value));
72 return *this;
73 }
75
77
80 inline SymmetricKeyAlgorithm GetKeyAlgorithm() const { return m_keyAlgorithm; }
81 inline bool KeyAlgorithmHasBeenSet() const { return m_keyAlgorithmHasBeenSet; }
83 m_keyAlgorithmHasBeenSet = true;
84 m_keyAlgorithm = value;
85 }
87 SetKeyAlgorithm(value);
88 return *this;
89 }
91
93
96 inline KeyDerivationFunction GetKeyDerivationFunction() const { return m_keyDerivationFunction; }
97 inline bool KeyDerivationFunctionHasBeenSet() const { return m_keyDerivationFunctionHasBeenSet; }
99 m_keyDerivationFunctionHasBeenSet = true;
100 m_keyDerivationFunction = value;
101 }
104 return *this;
105 }
107
109
112 inline KeyDerivationHashAlgorithm GetKeyDerivationHashAlgorithm() const { return m_keyDerivationHashAlgorithm; }
113 inline bool KeyDerivationHashAlgorithmHasBeenSet() const { return m_keyDerivationHashAlgorithmHasBeenSet; }
115 m_keyDerivationHashAlgorithmHasBeenSet = true;
116 m_keyDerivationHashAlgorithm = value;
117 }
120 return *this;
121 }
123
125
133 inline const Aws::String& GetSharedInformation() const { return m_sharedInformation; }
134 inline bool SharedInformationHasBeenSet() const { return m_sharedInformationHasBeenSet; }
135 template <typename SharedInformationT = Aws::String>
136 void SetSharedInformation(SharedInformationT&& value) {
137 m_sharedInformationHasBeenSet = true;
138 m_sharedInformation = std::forward<SharedInformationT>(value);
139 }
140 template <typename SharedInformationT = Aws::String>
141 EcdhDerivationAttributes& WithSharedInformation(SharedInformationT&& value) {
142 SetSharedInformation(std::forward<SharedInformationT>(value));
143 return *this;
144 }
146 private:
147 Aws::String m_certificateAuthorityPublicKeyIdentifier;
148
149 Aws::String m_publicKeyCertificate;
150
152
154
156
157 Aws::String m_sharedInformation;
158 bool m_certificateAuthorityPublicKeyIdentifierHasBeenSet = false;
159 bool m_publicKeyCertificateHasBeenSet = false;
160 bool m_keyAlgorithmHasBeenSet = false;
161 bool m_keyDerivationFunctionHasBeenSet = false;
162 bool m_keyDerivationHashAlgorithmHasBeenSet = false;
163 bool m_sharedInformationHasBeenSet = false;
164};
165
166} // namespace Model
167} // namespace PaymentCryptographyData
168} // namespace Aws
EcdhDerivationAttributes & WithPublicKeyCertificate(PublicKeyCertificateT &&value)
EcdhDerivationAttributes & WithSharedInformation(SharedInformationT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API EcdhDerivationAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
EcdhDerivationAttributes & WithKeyDerivationFunction(KeyDerivationFunction value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API EcdhDerivationAttributes()=default
EcdhDerivationAttributes & WithKeyAlgorithm(SymmetricKeyAlgorithm value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
EcdhDerivationAttributes & WithCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API EcdhDerivationAttributes(Aws::Utils::Json::JsonView jsonValue)
void SetCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT &&value)
EcdhDerivationAttributes & WithKeyDerivationHashAlgorithm(KeyDerivationHashAlgorithm value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue