AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ExportKeyCryptogram.h
1
6#pragma once
7#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/payment-cryptography/model/WrappingKeySpec.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace PaymentCryptography
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PAYMENTCRYPTOGRAPHY_API ExportKeyCryptogram() = default;
37 AWS_PAYMENTCRYPTOGRAPHY_API ExportKeyCryptogram(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PAYMENTCRYPTOGRAPHY_API ExportKeyCryptogram& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetCertificateAuthorityPublicKeyIdentifier() const { return m_certificateAuthorityPublicKeyIdentifier; }
48 inline bool CertificateAuthorityPublicKeyIdentifierHasBeenSet() const { return m_certificateAuthorityPublicKeyIdentifierHasBeenSet; }
49 template<typename CertificateAuthorityPublicKeyIdentifierT = Aws::String>
50 void SetCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT&& value) { m_certificateAuthorityPublicKeyIdentifierHasBeenSet = true; m_certificateAuthorityPublicKeyIdentifier = std::forward<CertificateAuthorityPublicKeyIdentifierT>(value); }
51 template<typename CertificateAuthorityPublicKeyIdentifierT = Aws::String>
52 ExportKeyCryptogram& WithCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT&& value) { SetCertificateAuthorityPublicKeyIdentifier(std::forward<CertificateAuthorityPublicKeyIdentifierT>(value)); return *this;}
54
56
61 inline const Aws::String& GetWrappingKeyCertificate() const { return m_wrappingKeyCertificate; }
62 inline bool WrappingKeyCertificateHasBeenSet() const { return m_wrappingKeyCertificateHasBeenSet; }
63 template<typename WrappingKeyCertificateT = Aws::String>
64 void SetWrappingKeyCertificate(WrappingKeyCertificateT&& value) { m_wrappingKeyCertificateHasBeenSet = true; m_wrappingKeyCertificate = std::forward<WrappingKeyCertificateT>(value); }
65 template<typename WrappingKeyCertificateT = Aws::String>
66 ExportKeyCryptogram& WithWrappingKeyCertificate(WrappingKeyCertificateT&& value) { SetWrappingKeyCertificate(std::forward<WrappingKeyCertificateT>(value)); return *this;}
68
70
73 inline WrappingKeySpec GetWrappingSpec() const { return m_wrappingSpec; }
74 inline bool WrappingSpecHasBeenSet() const { return m_wrappingSpecHasBeenSet; }
75 inline void SetWrappingSpec(WrappingKeySpec value) { m_wrappingSpecHasBeenSet = true; m_wrappingSpec = value; }
78 private:
79
80 Aws::String m_certificateAuthorityPublicKeyIdentifier;
81 bool m_certificateAuthorityPublicKeyIdentifierHasBeenSet = false;
82
83 Aws::String m_wrappingKeyCertificate;
84 bool m_wrappingKeyCertificateHasBeenSet = false;
85
87 bool m_wrappingSpecHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace PaymentCryptography
92} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHY_API ExportKeyCryptogram()=default
void SetWrappingKeyCertificate(WrappingKeyCertificateT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API ExportKeyCryptogram & operator=(Aws::Utils::Json::JsonView jsonValue)
ExportKeyCryptogram & WithWrappingSpec(WrappingKeySpec value)
ExportKeyCryptogram & WithWrappingKeyCertificate(WrappingKeyCertificateT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API ExportKeyCryptogram(Aws::Utils::Json::JsonView jsonValue)
void SetCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT &&value)
ExportKeyCryptogram & WithCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCertificateAuthorityPublicKeyIdentifier() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue