AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TrustedCertificatePublicKey.h
1
6#pragma once
7#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
8#include <aws/payment-cryptography/model/KeyAttributes.h>
9#include <aws/core/utils/memory/stl/AWSString.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 TrustedCertificatePublicKey() = default;
37 AWS_PAYMENTCRYPTOGRAPHY_API TrustedCertificatePublicKey(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PAYMENTCRYPTOGRAPHY_API TrustedCertificatePublicKey& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const KeyAttributes& GetKeyAttributes() const { return m_keyAttributes; }
49 inline bool KeyAttributesHasBeenSet() const { return m_keyAttributesHasBeenSet; }
50 template<typename KeyAttributesT = KeyAttributes>
51 void SetKeyAttributes(KeyAttributesT&& value) { m_keyAttributesHasBeenSet = true; m_keyAttributes = std::forward<KeyAttributesT>(value); }
52 template<typename KeyAttributesT = KeyAttributes>
53 TrustedCertificatePublicKey& WithKeyAttributes(KeyAttributesT&& value) { SetKeyAttributes(std::forward<KeyAttributesT>(value)); return *this;}
55
57
60 inline const Aws::String& GetPublicKeyCertificate() const { return m_publicKeyCertificate; }
61 inline bool PublicKeyCertificateHasBeenSet() const { return m_publicKeyCertificateHasBeenSet; }
62 template<typename PublicKeyCertificateT = Aws::String>
63 void SetPublicKeyCertificate(PublicKeyCertificateT&& value) { m_publicKeyCertificateHasBeenSet = true; m_publicKeyCertificate = std::forward<PublicKeyCertificateT>(value); }
64 template<typename PublicKeyCertificateT = Aws::String>
65 TrustedCertificatePublicKey& WithPublicKeyCertificate(PublicKeyCertificateT&& value) { SetPublicKeyCertificate(std::forward<PublicKeyCertificateT>(value)); return *this;}
67
69
73 inline const Aws::String& GetCertificateAuthorityPublicKeyIdentifier() const { return m_certificateAuthorityPublicKeyIdentifier; }
74 inline bool CertificateAuthorityPublicKeyIdentifierHasBeenSet() const { return m_certificateAuthorityPublicKeyIdentifierHasBeenSet; }
75 template<typename CertificateAuthorityPublicKeyIdentifierT = Aws::String>
76 void SetCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT&& value) { m_certificateAuthorityPublicKeyIdentifierHasBeenSet = true; m_certificateAuthorityPublicKeyIdentifier = std::forward<CertificateAuthorityPublicKeyIdentifierT>(value); }
77 template<typename CertificateAuthorityPublicKeyIdentifierT = Aws::String>
78 TrustedCertificatePublicKey& WithCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT&& value) { SetCertificateAuthorityPublicKeyIdentifier(std::forward<CertificateAuthorityPublicKeyIdentifierT>(value)); return *this;}
80 private:
81
82 KeyAttributes m_keyAttributes;
83 bool m_keyAttributesHasBeenSet = false;
84
85 Aws::String m_publicKeyCertificate;
86 bool m_publicKeyCertificateHasBeenSet = false;
87
88 Aws::String m_certificateAuthorityPublicKeyIdentifier;
89 bool m_certificateAuthorityPublicKeyIdentifierHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace PaymentCryptography
94} // namespace Aws
TrustedCertificatePublicKey & WithKeyAttributes(KeyAttributesT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API TrustedCertificatePublicKey()=default
TrustedCertificatePublicKey & WithCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const
TrustedCertificatePublicKey & WithPublicKeyCertificate(PublicKeyCertificateT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API TrustedCertificatePublicKey(Aws::Utils::Json::JsonView jsonValue)
void SetCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API TrustedCertificatePublicKey & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue