AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCertificateAuthorityPublicKeyIdentifier(const Aws::String& value) { m_certificateAuthorityPublicKeyIdentifierHasBeenSet = true; m_certificateAuthorityPublicKeyIdentifier = value; }
50 inline void SetCertificateAuthorityPublicKeyIdentifier(Aws::String&& value) { m_certificateAuthorityPublicKeyIdentifierHasBeenSet = true; m_certificateAuthorityPublicKeyIdentifier = std::move(value); }
51 inline void SetCertificateAuthorityPublicKeyIdentifier(const char* value) { m_certificateAuthorityPublicKeyIdentifierHasBeenSet = true; m_certificateAuthorityPublicKeyIdentifier.assign(value); }
56
58
63 inline const Aws::String& GetWrappingKeyCertificate() const{ return m_wrappingKeyCertificate; }
64 inline bool WrappingKeyCertificateHasBeenSet() const { return m_wrappingKeyCertificateHasBeenSet; }
65 inline void SetWrappingKeyCertificate(const Aws::String& value) { m_wrappingKeyCertificateHasBeenSet = true; m_wrappingKeyCertificate = value; }
66 inline void SetWrappingKeyCertificate(Aws::String&& value) { m_wrappingKeyCertificateHasBeenSet = true; m_wrappingKeyCertificate = std::move(value); }
67 inline void SetWrappingKeyCertificate(const char* value) { m_wrappingKeyCertificateHasBeenSet = true; m_wrappingKeyCertificate.assign(value); }
69 inline ExportKeyCryptogram& WithWrappingKeyCertificate(Aws::String&& value) { SetWrappingKeyCertificate(std::move(value)); return *this;}
70 inline ExportKeyCryptogram& WithWrappingKeyCertificate(const char* value) { SetWrappingKeyCertificate(value); return *this;}
72
74
77 inline const WrappingKeySpec& GetWrappingSpec() const{ return m_wrappingSpec; }
78 inline bool WrappingSpecHasBeenSet() const { return m_wrappingSpecHasBeenSet; }
79 inline void SetWrappingSpec(const WrappingKeySpec& value) { m_wrappingSpecHasBeenSet = true; m_wrappingSpec = value; }
80 inline void SetWrappingSpec(WrappingKeySpec&& value) { m_wrappingSpecHasBeenSet = true; m_wrappingSpec = std::move(value); }
81 inline ExportKeyCryptogram& WithWrappingSpec(const WrappingKeySpec& value) { SetWrappingSpec(value); return *this;}
82 inline ExportKeyCryptogram& WithWrappingSpec(WrappingKeySpec&& value) { SetWrappingSpec(std::move(value)); return *this;}
84 private:
85
86 Aws::String m_certificateAuthorityPublicKeyIdentifier;
87 bool m_certificateAuthorityPublicKeyIdentifierHasBeenSet = false;
88
89 Aws::String m_wrappingKeyCertificate;
90 bool m_wrappingKeyCertificateHasBeenSet = false;
91
92 WrappingKeySpec m_wrappingSpec;
93 bool m_wrappingSpecHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace PaymentCryptography
98} // namespace Aws
void SetCertificateAuthorityPublicKeyIdentifier(const Aws::String &value)
AWS_PAYMENTCRYPTOGRAPHY_API ExportKeyCryptogram & operator=(Aws::Utils::Json::JsonView jsonValue)
ExportKeyCryptogram & WithWrappingKeyCertificate(const char *value)
ExportKeyCryptogram & WithWrappingSpec(const WrappingKeySpec &value)
ExportKeyCryptogram & WithWrappingSpec(WrappingKeySpec &&value)
ExportKeyCryptogram & WithWrappingKeyCertificate(Aws::String &&value)
ExportKeyCryptogram & WithCertificateAuthorityPublicKeyIdentifier(Aws::String &&value)
AWS_PAYMENTCRYPTOGRAPHY_API ExportKeyCryptogram(Aws::Utils::Json::JsonView jsonValue)
ExportKeyCryptogram & WithCertificateAuthorityPublicKeyIdentifier(const char *value)
ExportKeyCryptogram & WithWrappingKeyCertificate(const Aws::String &value)
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PAYMENTCRYPTOGRAPHY_API ExportKeyCryptogram()
ExportKeyCryptogram & WithCertificateAuthorityPublicKeyIdentifier(const Aws::String &value)
const Aws::String & GetCertificateAuthorityPublicKeyIdentifier() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue