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>
49 template<
typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
51 template<
typename NameT = Aws::String>
73 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
74 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet =
true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
75 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
81 bool m_nameHasBeenSet =
false;
84 bool m_stateHasBeenSet =
false;
87 bool m_creationDateTimeHasBeenSet =
false;
void SetCreationDateTime(CreationDateTimeT &&value)
LedgerSummary & WithName(NameT &&value)
AWS_QLDB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QLDB_API LedgerSummary()=default
LedgerSummary & WithCreationDateTime(CreationDateTimeT &&value)
bool StateHasBeenSet() const
bool NameHasBeenSet() const
LedgerState GetState() const
const Aws::Utils::DateTime & GetCreationDateTime() const
const Aws::String & GetName() const
void SetState(LedgerState value)
bool CreationDateTimeHasBeenSet() const
AWS_QLDB_API LedgerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
LedgerSummary & WithState(LedgerState value)
AWS_QLDB_API LedgerSummary(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue