7#include <aws/qldb/QLDB_EXPORTS.h>
8#include <aws/qldb/QLDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
43 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
60 inline void SetDeletionProtection(
bool value) { m_deletionProtectionHasBeenSet =
true; m_deletionProtection = value; }
97 inline void SetKmsKey(
const char* value) { m_kmsKeyHasBeenSet =
true; m_kmsKey.assign(value); }
105 bool m_nameHasBeenSet =
false;
107 bool m_deletionProtection;
108 bool m_deletionProtectionHasBeenSet =
false;
111 bool m_kmsKeyHasBeenSet =
false;
void SetName(const Aws::String &value)
bool NameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool KmsKeyHasBeenSet() const
void SetKmsKey(const Aws::String &value)
AWS_QLDB_API Aws::String SerializePayload() const override
UpdateLedgerRequest & WithName(Aws::String &&value)
void SetDeletionProtection(bool value)
UpdateLedgerRequest & WithKmsKey(const Aws::String &value)
const Aws::String & GetName() const
UpdateLedgerRequest & WithName(const Aws::String &value)
UpdateLedgerRequest & WithKmsKey(const char *value)
UpdateLedgerRequest & WithKmsKey(Aws::String &&value)
void SetKmsKey(const char *value)
const Aws::String & GetKmsKey() const
bool GetDeletionProtection() const
UpdateLedgerRequest & WithName(const char *value)
void SetName(const char *value)
AWS_QLDB_API UpdateLedgerRequest()
void SetName(Aws::String &&value)
bool DeletionProtectionHasBeenSet() const
UpdateLedgerRequest & WithDeletionProtection(bool value)
void SetKmsKey(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String