AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename CertificateAuthorityPublicKeyIdentifierT = Aws::String>
52 void SetCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT&& value) { m_certificateAuthorityPublicKeyIdentifierHasBeenSet = true; m_certificateAuthorityPublicKeyIdentifier = std::forward<CertificateAuthorityPublicKeyIdentifierT>(value); }
53 template<typename CertificateAuthorityPublicKeyIdentifierT = Aws::String>
54 EcdhDerivationAttributes& WithCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT&& value) { SetCertificateAuthorityPublicKeyIdentifier(std::forward<CertificateAuthorityPublicKeyIdentifierT>(value)); return *this;}
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) { m_publicKeyCertificateHasBeenSet = true; m_publicKeyCertificate = std::forward<PublicKeyCertificateT>(value); }
66 template<typename PublicKeyCertificateT = Aws::String>
67 EcdhDerivationAttributes& WithPublicKeyCertificate(PublicKeyCertificateT&& value) { SetPublicKeyCertificate(std::forward<PublicKeyCertificateT>(value)); return *this;}
69
71
74 inline SymmetricKeyAlgorithm GetKeyAlgorithm() const { return m_keyAlgorithm; }
75 inline bool KeyAlgorithmHasBeenSet() const { return m_keyAlgorithmHasBeenSet; }
76 inline void SetKeyAlgorithm(SymmetricKeyAlgorithm value) { m_keyAlgorithmHasBeenSet = true; m_keyAlgorithm = value; }
79
81
84 inline KeyDerivationFunction GetKeyDerivationFunction() const { return m_keyDerivationFunction; }
85 inline bool KeyDerivationFunctionHasBeenSet() const { return m_keyDerivationFunctionHasBeenSet; }
86 inline void SetKeyDerivationFunction(KeyDerivationFunction value) { m_keyDerivationFunctionHasBeenSet = true; m_keyDerivationFunction = value; }
89
91
94 inline KeyDerivationHashAlgorithm GetKeyDerivationHashAlgorithm() const { return m_keyDerivationHashAlgorithm; }
95 inline bool KeyDerivationHashAlgorithmHasBeenSet() const { return m_keyDerivationHashAlgorithmHasBeenSet; }
96 inline void SetKeyDerivationHashAlgorithm(KeyDerivationHashAlgorithm value) { m_keyDerivationHashAlgorithmHasBeenSet = true; m_keyDerivationHashAlgorithm = value; }
99
101
109 inline const Aws::String& GetSharedInformation() const { return m_sharedInformation; }
110 inline bool SharedInformationHasBeenSet() const { return m_sharedInformationHasBeenSet; }
111 template<typename SharedInformationT = Aws::String>
112 void SetSharedInformation(SharedInformationT&& value) { m_sharedInformationHasBeenSet = true; m_sharedInformation = std::forward<SharedInformationT>(value); }
113 template<typename SharedInformationT = Aws::String>
114 EcdhDerivationAttributes& WithSharedInformation(SharedInformationT&& value) { SetSharedInformation(std::forward<SharedInformationT>(value)); return *this;}
116 private:
117
118 Aws::String m_certificateAuthorityPublicKeyIdentifier;
119 bool m_certificateAuthorityPublicKeyIdentifierHasBeenSet = false;
120
121 Aws::String m_publicKeyCertificate;
122 bool m_publicKeyCertificateHasBeenSet = false;
123
125 bool m_keyAlgorithmHasBeenSet = false;
126
128 bool m_keyDerivationFunctionHasBeenSet = false;
129
131 bool m_keyDerivationHashAlgorithmHasBeenSet = false;
132
133 Aws::String m_sharedInformation;
134 bool m_sharedInformationHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace PaymentCryptographyData
139} // 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