AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
46
47
49
54 inline const KeyEncryptionMechanism& GetKeyEncryptionAlgorithm() const{ return m_keyEncryptionAlgorithm; }
55 inline bool KeyEncryptionAlgorithmHasBeenSet() const { return m_keyEncryptionAlgorithmHasBeenSet; }
56 inline void SetKeyEncryptionAlgorithm(const KeyEncryptionMechanism& value) { m_keyEncryptionAlgorithmHasBeenSet = true; m_keyEncryptionAlgorithm = value; }
57 inline void SetKeyEncryptionAlgorithm(KeyEncryptionMechanism&& value) { m_keyEncryptionAlgorithmHasBeenSet = true; m_keyEncryptionAlgorithm = std::move(value); }
61
63
67 inline const Aws::Utils::ByteBuffer& GetAttestationDocument() const{ return m_attestationDocument; }
68 inline bool AttestationDocumentHasBeenSet() const { return m_attestationDocumentHasBeenSet; }
69 inline void SetAttestationDocument(const Aws::Utils::ByteBuffer& value) { m_attestationDocumentHasBeenSet = true; m_attestationDocument = value; }
70 inline void SetAttestationDocument(Aws::Utils::ByteBuffer&& value) { m_attestationDocumentHasBeenSet = true; m_attestationDocument = std::move(value); }
72 inline RecipientInfo& WithAttestationDocument(Aws::Utils::ByteBuffer&& value) { SetAttestationDocument(std::move(value)); return *this;}
74 private:
75
76 KeyEncryptionMechanism m_keyEncryptionAlgorithm;
77 bool m_keyEncryptionAlgorithmHasBeenSet = false;
78
79 Aws::Utils::ByteBuffer m_attestationDocument;
80 bool m_attestationDocumentHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace KMS
85} // namespace Aws
RecipientInfo & WithAttestationDocument(Aws::Utils::ByteBuffer &&value)
const KeyEncryptionMechanism & GetKeyEncryptionAlgorithm() const
RecipientInfo & WithKeyEncryptionAlgorithm(const KeyEncryptionMechanism &value)
RecipientInfo & WithKeyEncryptionAlgorithm(KeyEncryptionMechanism &&value)
const Aws::Utils::ByteBuffer & GetAttestationDocument() const
bool AttestationDocumentHasBeenSet() const
bool KeyEncryptionAlgorithmHasBeenSet() const
void SetAttestationDocument(const Aws::Utils::ByteBuffer &value)
RecipientInfo & WithAttestationDocument(const Aws::Utils::ByteBuffer &value)
void SetAttestationDocument(Aws::Utils::ByteBuffer &&value)
void SetKeyEncryptionAlgorithm(const KeyEncryptionMechanism &value)
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 SetKeyEncryptionAlgorithm(KeyEncryptionMechanism &&value)
Aws::Utils::Json::JsonValue JsonValue