AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RecipientInfo.h
1
6#pragma once
7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/kms/model/KeyEncryptionMechanism.h>
9#include <aws/core/utils/Array.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 KMS
23{
24namespace Model
25{
26
40 {
41 public:
42 AWS_KMS_API RecipientInfo() = default;
46
47
49
54 inline KeyEncryptionMechanism GetKeyEncryptionAlgorithm() const { return m_keyEncryptionAlgorithm; }
55 inline bool KeyEncryptionAlgorithmHasBeenSet() const { return m_keyEncryptionAlgorithmHasBeenSet; }
56 inline void SetKeyEncryptionAlgorithm(KeyEncryptionMechanism value) { m_keyEncryptionAlgorithmHasBeenSet = true; m_keyEncryptionAlgorithm = value; }
59
61
65 inline const Aws::Utils::ByteBuffer& GetAttestationDocument() const { return m_attestationDocument; }
66 inline bool AttestationDocumentHasBeenSet() const { return m_attestationDocumentHasBeenSet; }
67 template<typename AttestationDocumentT = Aws::Utils::ByteBuffer>
68 void SetAttestationDocument(AttestationDocumentT&& value) { m_attestationDocumentHasBeenSet = true; m_attestationDocument = std::forward<AttestationDocumentT>(value); }
69 template<typename AttestationDocumentT = Aws::Utils::ByteBuffer>
70 RecipientInfo& WithAttestationDocument(AttestationDocumentT&& value) { SetAttestationDocument(std::forward<AttestationDocumentT>(value)); return *this;}
72 private:
73
75 bool m_keyEncryptionAlgorithmHasBeenSet = false;
76
77 Aws::Utils::ByteBuffer m_attestationDocument{};
78 bool m_attestationDocumentHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace KMS
83} // namespace Aws
RecipientInfo & WithAttestationDocument(AttestationDocumentT &&value)
KeyEncryptionMechanism GetKeyEncryptionAlgorithm() const
void SetKeyEncryptionAlgorithm(KeyEncryptionMechanism value)
const Aws::Utils::ByteBuffer & GetAttestationDocument() const
RecipientInfo & WithKeyEncryptionAlgorithm(KeyEncryptionMechanism value)
bool AttestationDocumentHasBeenSet() const
bool KeyEncryptionAlgorithmHasBeenSet() const
AWS_KMS_API RecipientInfo()=default
AWS_KMS_API RecipientInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KMS_API RecipientInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_KMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAttestationDocument(AttestationDocumentT &&value)
Aws::Utils::Json::JsonValue JsonValue