7#include <aws/qldb/QLDB_EXPORTS.h>
8#include <aws/qldb/QLDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
41 template<
typename NameT = Aws::String>
42 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
43 template<
typename NameT = Aws::String>
58 inline void SetDeletionProtection(
bool value) { m_deletionProtectionHasBeenSet =
true; m_deletionProtection = value; }
93 template<
typename KmsKeyT = Aws::String>
94 void SetKmsKey(KmsKeyT&& value) { m_kmsKeyHasBeenSet =
true; m_kmsKey = std::forward<KmsKeyT>(value); }
95 template<
typename KmsKeyT = Aws::String>
101 bool m_nameHasBeenSet =
false;
103 bool m_deletionProtection{
false};
104 bool m_deletionProtectionHasBeenSet =
false;
107 bool m_kmsKeyHasBeenSet =
false;
UpdateLedgerRequest & WithKmsKey(KmsKeyT &&value)
bool NameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool KmsKeyHasBeenSet() const
AWS_QLDB_API Aws::String SerializePayload() const override
void SetDeletionProtection(bool value)
AWS_QLDB_API UpdateLedgerRequest()=default
void SetName(NameT &&value)
const Aws::String & GetName() const
UpdateLedgerRequest & WithName(NameT &&value)
const Aws::String & GetKmsKey() const
bool GetDeletionProtection() const
void SetKmsKey(KmsKeyT &&value)
bool DeletionProtectionHasBeenSet() const
UpdateLedgerRequest & WithDeletionProtection(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String