AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
46
47
49
56 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
57 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
58 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
59 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
60 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
61 inline LedgerEncryptionDescription& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
62 inline LedgerEncryptionDescription& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
63 inline LedgerEncryptionDescription& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
65
67
85 inline const EncryptionStatus& GetEncryptionStatus() const{ return m_encryptionStatus; }
86 inline bool EncryptionStatusHasBeenSet() const { return m_encryptionStatusHasBeenSet; }
87 inline void SetEncryptionStatus(const EncryptionStatus& value) { m_encryptionStatusHasBeenSet = true; m_encryptionStatus = value; }
88 inline void SetEncryptionStatus(EncryptionStatus&& value) { m_encryptionStatusHasBeenSet = true; m_encryptionStatus = std::move(value); }
90 inline LedgerEncryptionDescription& WithEncryptionStatus(EncryptionStatus&& value) { SetEncryptionStatus(std::move(value)); return *this;}
92
94
100 inline const Aws::Utils::DateTime& GetInaccessibleKmsKeyDateTime() const{ return m_inaccessibleKmsKeyDateTime; }
101 inline bool InaccessibleKmsKeyDateTimeHasBeenSet() const { return m_inaccessibleKmsKeyDateTimeHasBeenSet; }
102 inline void SetInaccessibleKmsKeyDateTime(const Aws::Utils::DateTime& value) { m_inaccessibleKmsKeyDateTimeHasBeenSet = true; m_inaccessibleKmsKeyDateTime = value; }
103 inline void SetInaccessibleKmsKeyDateTime(Aws::Utils::DateTime&& value) { m_inaccessibleKmsKeyDateTimeHasBeenSet = true; m_inaccessibleKmsKeyDateTime = std::move(value); }
107 private:
108
109 Aws::String m_kmsKeyArn;
110 bool m_kmsKeyArnHasBeenSet = false;
111
112 EncryptionStatus m_encryptionStatus;
113 bool m_encryptionStatusHasBeenSet = false;
114
115 Aws::Utils::DateTime m_inaccessibleKmsKeyDateTime;
116 bool m_inaccessibleKmsKeyDateTimeHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace QLDB
121} // namespace Aws
LedgerEncryptionDescription & WithInaccessibleKmsKeyDateTime(const Aws::Utils::DateTime &value)
LedgerEncryptionDescription & WithEncryptionStatus(EncryptionStatus &&value)
AWS_QLDB_API LedgerEncryptionDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QLDB_API Aws::Utils::Json::JsonValue Jsonize() const
LedgerEncryptionDescription & WithInaccessibleKmsKeyDateTime(Aws::Utils::DateTime &&value)
LedgerEncryptionDescription & WithEncryptionStatus(const EncryptionStatus &value)
void SetInaccessibleKmsKeyDateTime(const Aws::Utils::DateTime &value)
AWS_QLDB_API LedgerEncryptionDescription(Aws::Utils::Json::JsonView jsonValue)
void SetEncryptionStatus(const EncryptionStatus &value)
const Aws::Utils::DateTime & GetInaccessibleKmsKeyDateTime() const
LedgerEncryptionDescription & WithKmsKeyArn(Aws::String &&value)
LedgerEncryptionDescription & WithKmsKeyArn(const char *value)
void SetInaccessibleKmsKeyDateTime(Aws::Utils::DateTime &&value)
LedgerEncryptionDescription & WithKmsKeyArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue