AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetKeyAttributes(const KeyAttributes& value) { m_keyAttributesHasBeenSet = true; m_keyAttributes = value; }
51 inline void SetKeyAttributes(KeyAttributes&& value) { m_keyAttributesHasBeenSet = true; m_keyAttributes = std::move(value); }
52 inline TrustedCertificatePublicKey& WithKeyAttributes(const KeyAttributes& value) { SetKeyAttributes(value); return *this;}
53 inline TrustedCertificatePublicKey& WithKeyAttributes(KeyAttributes&& value) { SetKeyAttributes(std::move(value)); return *this;}
55
57
60 inline const Aws::String& GetPublicKeyCertificate() const{ return m_publicKeyCertificate; }
61 inline bool PublicKeyCertificateHasBeenSet() const { return m_publicKeyCertificateHasBeenSet; }
62 inline void SetPublicKeyCertificate(const Aws::String& value) { m_publicKeyCertificateHasBeenSet = true; m_publicKeyCertificate = value; }
63 inline void SetPublicKeyCertificate(Aws::String&& value) { m_publicKeyCertificateHasBeenSet = true; m_publicKeyCertificate = std::move(value); }
64 inline void SetPublicKeyCertificate(const char* value) { m_publicKeyCertificateHasBeenSet = true; m_publicKeyCertificate.assign(value); }
67 inline TrustedCertificatePublicKey& WithPublicKeyCertificate(const char* value) { SetPublicKeyCertificate(value); return *this;}
69
71
75 inline const Aws::String& GetCertificateAuthorityPublicKeyIdentifier() const{ return m_certificateAuthorityPublicKeyIdentifier; }
76 inline bool CertificateAuthorityPublicKeyIdentifierHasBeenSet() const { return m_certificateAuthorityPublicKeyIdentifierHasBeenSet; }
77 inline void SetCertificateAuthorityPublicKeyIdentifier(const Aws::String& value) { m_certificateAuthorityPublicKeyIdentifierHasBeenSet = true; m_certificateAuthorityPublicKeyIdentifier = value; }
78 inline void SetCertificateAuthorityPublicKeyIdentifier(Aws::String&& value) { m_certificateAuthorityPublicKeyIdentifierHasBeenSet = true; m_certificateAuthorityPublicKeyIdentifier = std::move(value); }
79 inline void SetCertificateAuthorityPublicKeyIdentifier(const char* value) { m_certificateAuthorityPublicKeyIdentifierHasBeenSet = true; m_certificateAuthorityPublicKeyIdentifier.assign(value); }
84 private:
85
86 KeyAttributes m_keyAttributes;
87 bool m_keyAttributesHasBeenSet = false;
88
89 Aws::String m_publicKeyCertificate;
90 bool m_publicKeyCertificateHasBeenSet = false;
91
92 Aws::String m_certificateAuthorityPublicKeyIdentifier;
93 bool m_certificateAuthorityPublicKeyIdentifierHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace PaymentCryptography
98} // namespace Aws
TrustedCertificatePublicKey & WithPublicKeyCertificate(Aws::String &&value)
TrustedCertificatePublicKey & WithCertificateAuthorityPublicKeyIdentifier(Aws::String &&value)
TrustedCertificatePublicKey & WithKeyAttributes(KeyAttributes &&value)
TrustedCertificatePublicKey & WithPublicKeyCertificate(const Aws::String &value)
TrustedCertificatePublicKey & WithKeyAttributes(const KeyAttributes &value)
TrustedCertificatePublicKey & WithCertificateAuthorityPublicKeyIdentifier(const char *value)
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PAYMENTCRYPTOGRAPHY_API TrustedCertificatePublicKey(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTCRYPTOGRAPHY_API TrustedCertificatePublicKey & operator=(Aws::Utils::Json::JsonView jsonValue)
TrustedCertificatePublicKey & WithPublicKeyCertificate(const char *value)
TrustedCertificatePublicKey & WithCertificateAuthorityPublicKeyIdentifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue