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/LedgerEncryptionDescription.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
45 inline void SetName(
const char* value) { m_name.assign(value); }
58 inline void SetArn(
const char* value) { m_arn.assign(value); }
120 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
135 bool m_deletionProtection;
AWS_QLDB_API UpdateLedgerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetName(Aws::String &&value)
void SetRequestId(Aws::String &&value)
void SetDeletionProtection(bool value)
const Aws::String & GetRequestId() const
void SetState(LedgerState &&value)
UpdateLedgerResult & WithName(const Aws::String &value)
UpdateLedgerResult & WithArn(Aws::String &&value)
void SetState(const LedgerState &value)
void SetArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationDateTime() const
bool GetDeletionProtection() const
UpdateLedgerResult & WithState(LedgerState &&value)
UpdateLedgerResult & WithState(const LedgerState &value)
void SetArn(Aws::String &&value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
void SetName(const Aws::String &value)
UpdateLedgerResult & WithRequestId(const char *value)
void SetEncryptionDescription(LedgerEncryptionDescription &&value)
UpdateLedgerResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetArn() const
void SetRequestId(const Aws::String &value)
UpdateLedgerResult & WithRequestId(const Aws::String &value)
const LedgerState & GetState() const
void SetCreationDateTime(const Aws::Utils::DateTime &value)
UpdateLedgerResult & WithArn(const Aws::String &value)
const LedgerEncryptionDescription & GetEncryptionDescription() const
UpdateLedgerResult & WithRequestId(Aws::String &&value)
void SetEncryptionDescription(const LedgerEncryptionDescription &value)
UpdateLedgerResult & WithName(const char *value)
UpdateLedgerResult & WithName(Aws::String &&value)
UpdateLedgerResult & WithEncryptionDescription(const LedgerEncryptionDescription &value)
void SetRequestId(const char *value)
UpdateLedgerResult & WithArn(const char *value)
UpdateLedgerResult & WithEncryptionDescription(LedgerEncryptionDescription &&value)
UpdateLedgerResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
const Aws::String & GetName() const
AWS_QLDB_API UpdateLedgerResult()
void SetName(const char *value)
UpdateLedgerResult & WithDeletionProtection(bool value)
void SetArn(const char *value)
AWS_QLDB_API UpdateLedgerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue