AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
LedgerEncryptionDescription.h
1
6#pragma once
7#include <aws/qldb/QLDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qldb/model/EncryptionStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QLDB
24{
25namespace Model
26{
27
40 {
41 public:
42 AWS_QLDB_API LedgerEncryptionDescription() = default;
46
47
49
56 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
57 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
58 template<typename KmsKeyArnT = Aws::String>
59 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
60 template<typename KmsKeyArnT = Aws::String>
61 LedgerEncryptionDescription& WithKmsKeyArn(KmsKeyArnT&& value) { SetKmsKeyArn(std::forward<KmsKeyArnT>(value)); return *this;}
63
65
83 inline EncryptionStatus GetEncryptionStatus() const { return m_encryptionStatus; }
84 inline bool EncryptionStatusHasBeenSet() const { return m_encryptionStatusHasBeenSet; }
85 inline void SetEncryptionStatus(EncryptionStatus value) { m_encryptionStatusHasBeenSet = true; m_encryptionStatus = value; }
88
90
96 inline const Aws::Utils::DateTime& GetInaccessibleKmsKeyDateTime() const { return m_inaccessibleKmsKeyDateTime; }
97 inline bool InaccessibleKmsKeyDateTimeHasBeenSet() const { return m_inaccessibleKmsKeyDateTimeHasBeenSet; }
98 template<typename InaccessibleKmsKeyDateTimeT = Aws::Utils::DateTime>
99 void SetInaccessibleKmsKeyDateTime(InaccessibleKmsKeyDateTimeT&& value) { m_inaccessibleKmsKeyDateTimeHasBeenSet = true; m_inaccessibleKmsKeyDateTime = std::forward<InaccessibleKmsKeyDateTimeT>(value); }
100 template<typename InaccessibleKmsKeyDateTimeT = Aws::Utils::DateTime>
101 LedgerEncryptionDescription& WithInaccessibleKmsKeyDateTime(InaccessibleKmsKeyDateTimeT&& value) { SetInaccessibleKmsKeyDateTime(std::forward<InaccessibleKmsKeyDateTimeT>(value)); return *this;}
103 private:
104
105 Aws::String m_kmsKeyArn;
106 bool m_kmsKeyArnHasBeenSet = false;
107
109 bool m_encryptionStatusHasBeenSet = false;
110
111 Aws::Utils::DateTime m_inaccessibleKmsKeyDateTime{};
112 bool m_inaccessibleKmsKeyDateTimeHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace QLDB
117} // namespace Aws
AWS_QLDB_API LedgerEncryptionDescription()=default
AWS_QLDB_API LedgerEncryptionDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInaccessibleKmsKeyDateTime(InaccessibleKmsKeyDateTimeT &&value)
AWS_QLDB_API Aws::Utils::Json::JsonValue Jsonize() const
LedgerEncryptionDescription & WithInaccessibleKmsKeyDateTime(InaccessibleKmsKeyDateTimeT &&value)
AWS_QLDB_API LedgerEncryptionDescription(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetInaccessibleKmsKeyDateTime() const
LedgerEncryptionDescription & WithEncryptionStatus(EncryptionStatus value)
LedgerEncryptionDescription & WithKmsKeyArn(KmsKeyArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue