AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RootCertificatePublicKey.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 RootCertificatePublicKey();
37 AWS_PAYMENTCRYPTOGRAPHY_API RootCertificatePublicKey(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PAYMENTCRYPTOGRAPHY_API RootCertificatePublicKey& 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 RootCertificatePublicKey& WithKeyAttributes(const KeyAttributes& value) { SetKeyAttributes(value); return *this;}
53 inline RootCertificatePublicKey& 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); }
66 inline RootCertificatePublicKey& WithPublicKeyCertificate(Aws::String&& value) { SetPublicKeyCertificate(std::move(value)); return *this;}
67 inline RootCertificatePublicKey& WithPublicKeyCertificate(const char* value) { SetPublicKeyCertificate(value); return *this;}
69 private:
70
71 KeyAttributes m_keyAttributes;
72 bool m_keyAttributesHasBeenSet = false;
73
74 Aws::String m_publicKeyCertificate;
75 bool m_publicKeyCertificateHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace PaymentCryptography
80} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHY_API RootCertificatePublicKey & operator=(Aws::Utils::Json::JsonView jsonValue)
RootCertificatePublicKey & WithPublicKeyCertificate(const char *value)
AWS_PAYMENTCRYPTOGRAPHY_API RootCertificatePublicKey(Aws::Utils::Json::JsonView jsonValue)
RootCertificatePublicKey & WithKeyAttributes(const KeyAttributes &value)
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const
RootCertificatePublicKey & WithPublicKeyCertificate(const Aws::String &value)
RootCertificatePublicKey & WithKeyAttributes(KeyAttributes &&value)
RootCertificatePublicKey & WithPublicKeyCertificate(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue