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>
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); }
122 inline void SetKmsKeyArn(
const char* value) { m_kmsKeyArn.assign(value); }
133 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
150 bool m_deletionProtection;
AWS_QLDB_API CreateLedgerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetKmsKeyArn(Aws::String &&value)
void SetKmsKeyArn(const char *value)
const PermissionsMode & GetPermissionsMode() const
void SetPermissionsMode(PermissionsMode &&value)
void SetDeletionProtection(bool value)
const LedgerState & GetState() const
CreateLedgerResult & WithRequestId(const char *value)
void SetArn(const Aws::String &value)
void SetName(Aws::String &&value)
void SetRequestId(const Aws::String &value)
void SetRequestId(Aws::String &&value)
const Aws::String & GetArn() const
CreateLedgerResult & WithName(Aws::String &&value)
CreateLedgerResult & WithRequestId(const Aws::String &value)
CreateLedgerResult & WithName(const Aws::String &value)
CreateLedgerResult & WithArn(const Aws::String &value)
CreateLedgerResult & WithPermissionsMode(PermissionsMode &&value)
void SetArn(Aws::String &&value)
CreateLedgerResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
CreateLedgerResult & WithArn(const char *value)
CreateLedgerResult & WithState(LedgerState &&value)
CreateLedgerResult & WithPermissionsMode(const PermissionsMode &value)
CreateLedgerResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetKmsKeyArn() const
bool GetDeletionProtection() const
void SetPermissionsMode(const PermissionsMode &value)
AWS_QLDB_API CreateLedgerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateLedgerResult & WithKmsKeyArn(const Aws::String &value)
void SetRequestId(const char *value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
void SetName(const char *value)
void SetName(const Aws::String &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
CreateLedgerResult & WithName(const char *value)
CreateLedgerResult & WithRequestId(Aws::String &&value)
CreateLedgerResult & WithState(const LedgerState &value)
void SetState(const LedgerState &value)
void SetArn(const char *value)
CreateLedgerResult & WithKmsKeyArn(const char *value)
void SetState(LedgerState &&value)
void SetKmsKeyArn(const Aws::String &value)
CreateLedgerResult & WithKmsKeyArn(Aws::String &&value)
AWS_QLDB_API CreateLedgerResult()
CreateLedgerResult & WithDeletionProtection(bool value)
CreateLedgerResult & WithArn(Aws::String &&value)
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetCreationDateTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue