7#include <aws/qldb/QLDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qldb/model/LedgerState.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/qldb/model/PermissionsMode.h>
12#include <aws/qldb/model/LedgerEncryptionDescription.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
46 inline void SetName(
const char* value) { m_name.assign(value); }
59 inline void SetArn(
const char* value) { m_arn.assign(value); }
133 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
150 bool m_deletionProtection;
bool GetDeletionProtection() const
void SetArn(Aws::String &&value)
void SetState(LedgerState &&value)
DescribeLedgerResult & WithArn(const Aws::String &value)
void SetEncryptionDescription(const LedgerEncryptionDescription &value)
DescribeLedgerResult & WithState(const LedgerState &value)
DescribeLedgerResult & WithRequestId(const Aws::String &value)
DescribeLedgerResult & WithArn(Aws::String &&value)
DescribeLedgerResult & WithArn(const char *value)
void SetRequestId(const char *value)
const LedgerState & GetState() const
void SetDeletionProtection(bool value)
const Aws::Utils::DateTime & GetCreationDateTime() const
const Aws::String & GetName() const
AWS_QLDB_API DescribeLedgerResult()
void SetEncryptionDescription(LedgerEncryptionDescription &&value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
DescribeLedgerResult & WithName(Aws::String &&value)
void SetRequestId(Aws::String &&value)
DescribeLedgerResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
DescribeLedgerResult & WithRequestId(Aws::String &&value)
void SetArn(const Aws::String &value)
void SetPermissionsMode(const PermissionsMode &value)
AWS_QLDB_API DescribeLedgerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLedgerResult & WithName(const char *value)
void SetName(const char *value)
const LedgerEncryptionDescription & GetEncryptionDescription() const
DescribeLedgerResult & WithDeletionProtection(bool value)
void SetState(const LedgerState &value)
void SetRequestId(const Aws::String &value)
DescribeLedgerResult & WithState(LedgerState &&value)
DescribeLedgerResult & WithName(const Aws::String &value)
DescribeLedgerResult & WithRequestId(const char *value)
DescribeLedgerResult & WithEncryptionDescription(LedgerEncryptionDescription &&value)
DescribeLedgerResult & WithPermissionsMode(PermissionsMode &&value)
void SetPermissionsMode(PermissionsMode &&value)
const PermissionsMode & GetPermissionsMode() const
DescribeLedgerResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
void SetName(const Aws::String &value)
DescribeLedgerResult & WithEncryptionDescription(const LedgerEncryptionDescription &value)
void SetName(Aws::String &&value)
DescribeLedgerResult & WithPermissionsMode(const PermissionsMode &value)
const Aws::String & GetRequestId() const
const Aws::String & GetArn() const
AWS_QLDB_API DescribeLedgerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue