AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EcdhDerivationAttributes.h
1
6#pragma once
7#include <aws/payment-cryptography-data/PaymentCryptographyData_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/payment-cryptography-data/model/SymmetricKeyAlgorithm.h>
10#include <aws/payment-cryptography-data/model/KeyDerivationFunction.h>
11#include <aws/payment-cryptography-data/model/KeyDerivationHashAlgorithm.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace PaymentCryptographyData
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_PAYMENTCRYPTOGRAPHYDATA_API EcdhDerivationAttributes();
39 AWS_PAYMENTCRYPTOGRAPHYDATA_API EcdhDerivationAttributes(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PAYMENTCRYPTOGRAPHYDATA_API EcdhDerivationAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetCertificateAuthorityPublicKeyIdentifier() const{ return m_certificateAuthorityPublicKeyIdentifier; }
50 inline bool CertificateAuthorityPublicKeyIdentifierHasBeenSet() const { return m_certificateAuthorityPublicKeyIdentifierHasBeenSet; }
51 inline void SetCertificateAuthorityPublicKeyIdentifier(const Aws::String& value) { m_certificateAuthorityPublicKeyIdentifierHasBeenSet = true; m_certificateAuthorityPublicKeyIdentifier = value; }
52 inline void SetCertificateAuthorityPublicKeyIdentifier(Aws::String&& value) { m_certificateAuthorityPublicKeyIdentifierHasBeenSet = true; m_certificateAuthorityPublicKeyIdentifier = std::move(value); }
53 inline void SetCertificateAuthorityPublicKeyIdentifier(const char* value) { m_certificateAuthorityPublicKeyIdentifierHasBeenSet = true; m_certificateAuthorityPublicKeyIdentifier.assign(value); }
58
60
64 inline const Aws::String& GetPublicKeyCertificate() const{ return m_publicKeyCertificate; }
65 inline bool PublicKeyCertificateHasBeenSet() const { return m_publicKeyCertificateHasBeenSet; }
66 inline void SetPublicKeyCertificate(const Aws::String& value) { m_publicKeyCertificateHasBeenSet = true; m_publicKeyCertificate = value; }
67 inline void SetPublicKeyCertificate(Aws::String&& value) { m_publicKeyCertificateHasBeenSet = true; m_publicKeyCertificate = std::move(value); }
68 inline void SetPublicKeyCertificate(const char* value) { m_publicKeyCertificateHasBeenSet = true; m_publicKeyCertificate.assign(value); }
70 inline EcdhDerivationAttributes& WithPublicKeyCertificate(Aws::String&& value) { SetPublicKeyCertificate(std::move(value)); return *this;}
71 inline EcdhDerivationAttributes& WithPublicKeyCertificate(const char* value) { SetPublicKeyCertificate(value); return *this;}
73
75
78 inline const SymmetricKeyAlgorithm& GetKeyAlgorithm() const{ return m_keyAlgorithm; }
79 inline bool KeyAlgorithmHasBeenSet() const { return m_keyAlgorithmHasBeenSet; }
80 inline void SetKeyAlgorithm(const SymmetricKeyAlgorithm& value) { m_keyAlgorithmHasBeenSet = true; m_keyAlgorithm = value; }
81 inline void SetKeyAlgorithm(SymmetricKeyAlgorithm&& value) { m_keyAlgorithmHasBeenSet = true; m_keyAlgorithm = std::move(value); }
83 inline EcdhDerivationAttributes& WithKeyAlgorithm(SymmetricKeyAlgorithm&& value) { SetKeyAlgorithm(std::move(value)); return *this;}
85
87
90 inline const KeyDerivationFunction& GetKeyDerivationFunction() const{ return m_keyDerivationFunction; }
91 inline bool KeyDerivationFunctionHasBeenSet() const { return m_keyDerivationFunctionHasBeenSet; }
92 inline void SetKeyDerivationFunction(const KeyDerivationFunction& value) { m_keyDerivationFunctionHasBeenSet = true; m_keyDerivationFunction = value; }
93 inline void SetKeyDerivationFunction(KeyDerivationFunction&& value) { m_keyDerivationFunctionHasBeenSet = true; m_keyDerivationFunction = std::move(value); }
97
99
102 inline const KeyDerivationHashAlgorithm& GetKeyDerivationHashAlgorithm() const{ return m_keyDerivationHashAlgorithm; }
103 inline bool KeyDerivationHashAlgorithmHasBeenSet() const { return m_keyDerivationHashAlgorithmHasBeenSet; }
104 inline void SetKeyDerivationHashAlgorithm(const KeyDerivationHashAlgorithm& value) { m_keyDerivationHashAlgorithmHasBeenSet = true; m_keyDerivationHashAlgorithm = value; }
105 inline void SetKeyDerivationHashAlgorithm(KeyDerivationHashAlgorithm&& value) { m_keyDerivationHashAlgorithmHasBeenSet = true; m_keyDerivationHashAlgorithm = std::move(value); }
109
111
119 inline const Aws::String& GetSharedInformation() const{ return m_sharedInformation; }
120 inline bool SharedInformationHasBeenSet() const { return m_sharedInformationHasBeenSet; }
121 inline void SetSharedInformation(const Aws::String& value) { m_sharedInformationHasBeenSet = true; m_sharedInformation = value; }
122 inline void SetSharedInformation(Aws::String&& value) { m_sharedInformationHasBeenSet = true; m_sharedInformation = std::move(value); }
123 inline void SetSharedInformation(const char* value) { m_sharedInformationHasBeenSet = true; m_sharedInformation.assign(value); }
125 inline EcdhDerivationAttributes& WithSharedInformation(Aws::String&& value) { SetSharedInformation(std::move(value)); return *this;}
126 inline EcdhDerivationAttributes& WithSharedInformation(const char* value) { SetSharedInformation(value); return *this;}
128 private:
129
130 Aws::String m_certificateAuthorityPublicKeyIdentifier;
131 bool m_certificateAuthorityPublicKeyIdentifierHasBeenSet = false;
132
133 Aws::String m_publicKeyCertificate;
134 bool m_publicKeyCertificateHasBeenSet = false;
135
136 SymmetricKeyAlgorithm m_keyAlgorithm;
137 bool m_keyAlgorithmHasBeenSet = false;
138
139 KeyDerivationFunction m_keyDerivationFunction;
140 bool m_keyDerivationFunctionHasBeenSet = false;
141
142 KeyDerivationHashAlgorithm m_keyDerivationHashAlgorithm;
143 bool m_keyDerivationHashAlgorithmHasBeenSet = false;
144
145 Aws::String m_sharedInformation;
146 bool m_sharedInformationHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace PaymentCryptographyData
151} // namespace Aws
void SetKeyDerivationHashAlgorithm(const KeyDerivationHashAlgorithm &value)
const KeyDerivationHashAlgorithm & GetKeyDerivationHashAlgorithm() const
EcdhDerivationAttributes & WithPublicKeyCertificate(const Aws::String &value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API EcdhDerivationAttributes()
EcdhDerivationAttributes & WithKeyDerivationHashAlgorithm(KeyDerivationHashAlgorithm &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API EcdhDerivationAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
EcdhDerivationAttributes & WithCertificateAuthorityPublicKeyIdentifier(const char *value)
EcdhDerivationAttributes & WithSharedInformation(const Aws::String &value)
EcdhDerivationAttributes & WithKeyDerivationHashAlgorithm(const KeyDerivationHashAlgorithm &value)
EcdhDerivationAttributes & WithSharedInformation(const char *value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
EcdhDerivationAttributes & WithKeyAlgorithm(const SymmetricKeyAlgorithm &value)
EcdhDerivationAttributes & WithCertificateAuthorityPublicKeyIdentifier(const Aws::String &value)
EcdhDerivationAttributes & WithKeyDerivationFunction(KeyDerivationFunction &&value)
EcdhDerivationAttributes & WithCertificateAuthorityPublicKeyIdentifier(Aws::String &&value)
EcdhDerivationAttributes & WithPublicKeyCertificate(const char *value)
EcdhDerivationAttributes & WithPublicKeyCertificate(Aws::String &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API EcdhDerivationAttributes(Aws::Utils::Json::JsonView jsonValue)
EcdhDerivationAttributes & WithKeyDerivationFunction(const KeyDerivationFunction &value)
EcdhDerivationAttributes & WithSharedInformation(Aws::String &&value)
EcdhDerivationAttributes & WithKeyAlgorithm(SymmetricKeyAlgorithm &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue