AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ExportKeyCryptogram.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
9#include <aws/payment-cryptography/model/WrappingKeySpec.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace PaymentCryptography {
21namespace Model {
22
30 public:
31 AWS_PAYMENTCRYPTOGRAPHY_API ExportKeyCryptogram() = default;
32 AWS_PAYMENTCRYPTOGRAPHY_API ExportKeyCryptogram(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PAYMENTCRYPTOGRAPHY_API ExportKeyCryptogram& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetCertificateAuthorityPublicKeyIdentifier() const { return m_certificateAuthorityPublicKeyIdentifier; }
42 inline bool CertificateAuthorityPublicKeyIdentifierHasBeenSet() const { return m_certificateAuthorityPublicKeyIdentifierHasBeenSet; }
43 template <typename CertificateAuthorityPublicKeyIdentifierT = Aws::String>
44 void SetCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT&& value) {
45 m_certificateAuthorityPublicKeyIdentifierHasBeenSet = true;
46 m_certificateAuthorityPublicKeyIdentifier = std::forward<CertificateAuthorityPublicKeyIdentifierT>(value);
47 }
48 template <typename CertificateAuthorityPublicKeyIdentifierT = Aws::String>
49 ExportKeyCryptogram& WithCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT&& value) {
50 SetCertificateAuthorityPublicKeyIdentifier(std::forward<CertificateAuthorityPublicKeyIdentifierT>(value));
51 return *this;
52 }
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) {
65 m_wrappingKeyCertificateHasBeenSet = true;
66 m_wrappingKeyCertificate = std::forward<WrappingKeyCertificateT>(value);
67 }
68 template <typename WrappingKeyCertificateT = Aws::String>
69 ExportKeyCryptogram& WithWrappingKeyCertificate(WrappingKeyCertificateT&& value) {
70 SetWrappingKeyCertificate(std::forward<WrappingKeyCertificateT>(value));
71 return *this;
72 }
74
76
79 inline WrappingKeySpec GetWrappingSpec() const { return m_wrappingSpec; }
80 inline bool WrappingSpecHasBeenSet() const { return m_wrappingSpecHasBeenSet; }
81 inline void SetWrappingSpec(WrappingKeySpec value) {
82 m_wrappingSpecHasBeenSet = true;
83 m_wrappingSpec = value;
84 }
86 SetWrappingSpec(value);
87 return *this;
88 }
90 private:
91 Aws::String m_certificateAuthorityPublicKeyIdentifier;
92
93 Aws::String m_wrappingKeyCertificate;
94
96 bool m_certificateAuthorityPublicKeyIdentifierHasBeenSet = false;
97 bool m_wrappingKeyCertificateHasBeenSet = false;
98 bool m_wrappingSpecHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace PaymentCryptography
103} // 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