AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
RootCertificatePublicKey.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/KeyAttributes.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 RootCertificatePublicKey() = default;
32 AWS_PAYMENTCRYPTOGRAPHY_API RootCertificatePublicKey(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PAYMENTCRYPTOGRAPHY_API RootCertificatePublicKey& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline const KeyAttributes& GetKeyAttributes() const { return m_keyAttributes; }
43 inline bool KeyAttributesHasBeenSet() const { return m_keyAttributesHasBeenSet; }
44 template <typename KeyAttributesT = KeyAttributes>
45 void SetKeyAttributes(KeyAttributesT&& value) {
46 m_keyAttributesHasBeenSet = true;
47 m_keyAttributes = std::forward<KeyAttributesT>(value);
48 }
49 template <typename KeyAttributesT = KeyAttributes>
51 SetKeyAttributes(std::forward<KeyAttributesT>(value));
52 return *this;
53 }
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) {
64 m_publicKeyCertificateHasBeenSet = true;
65 m_publicKeyCertificate = std::forward<PublicKeyCertificateT>(value);
66 }
67 template <typename PublicKeyCertificateT = Aws::String>
68 RootCertificatePublicKey& WithPublicKeyCertificate(PublicKeyCertificateT&& value) {
69 SetPublicKeyCertificate(std::forward<PublicKeyCertificateT>(value));
70 return *this;
71 }
73 private:
74 KeyAttributes m_keyAttributes;
75
76 Aws::String m_publicKeyCertificate;
77 bool m_keyAttributesHasBeenSet = false;
78 bool m_publicKeyCertificateHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace PaymentCryptography
83} // namespace Aws
RootCertificatePublicKey & WithKeyAttributes(KeyAttributesT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API RootCertificatePublicKey()=default
AWS_PAYMENTCRYPTOGRAPHY_API RootCertificatePublicKey & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTCRYPTOGRAPHY_API RootCertificatePublicKey(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const
RootCertificatePublicKey & WithPublicKeyCertificate(PublicKeyCertificateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue