7#include <aws/timestream-write/TimestreamWrite_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
22namespace TimestreamWrite
50 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
51 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
65 inline void SetDatabaseName(
const char* value) { m_databaseNameHasBeenSet =
true; m_databaseName.assign(value); }
77 inline void SetTableCount(
long long value) { m_tableCountHasBeenSet =
true; m_tableCount = value; }
90 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
123 bool m_arnHasBeenSet =
false;
126 bool m_databaseNameHasBeenSet =
false;
128 long long m_tableCount;
129 bool m_tableCountHasBeenSet =
false;
132 bool m_kmsKeyIdHasBeenSet =
false;
135 bool m_creationTimeHasBeenSet =
false;
138 bool m_lastUpdatedTimeHasBeenSet =
false;
void SetDatabaseName(const char *value)
Database & WithDatabaseName(const Aws::String &value)
Database & WithDatabaseName(Aws::String &&value)
Database & WithKmsKeyId(const char *value)
Database & WithKmsKeyId(Aws::String &&value)
void SetDatabaseName(const Aws::String &value)
void SetKmsKeyId(const char *value)
Database & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetKmsKeyId(Aws::String &&value)
bool KmsKeyIdHasBeenSet() const
void SetArn(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetTableCount(long long value)
bool DatabaseNameHasBeenSet() const
const Aws::String & GetDatabaseName() const
Database & WithArn(const char *value)
Database & WithKmsKeyId(const Aws::String &value)
void SetArn(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
Database & WithTableCount(long long value)
AWS_TIMESTREAMWRITE_API Database(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
Database & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetArn(Aws::String &&value)
bool LastUpdatedTimeHasBeenSet() const
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
long long GetTableCount() const
Database & WithArn(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
AWS_TIMESTREAMWRITE_API Database()
bool CreationTimeHasBeenSet() const
Database & WithCreationTime(Aws::Utils::DateTime &&value)
AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const
Database & WithArn(Aws::String &&value)
void SetDatabaseName(Aws::String &&value)
bool TableCountHasBeenSet() const
const Aws::String & GetArn() const
const Aws::String & GetKmsKeyId() const
void SetKmsKeyId(const Aws::String &value)
Database & WithCreationTime(const Aws::Utils::DateTime &value)
Database & WithDatabaseName(const char *value)
bool ArnHasBeenSet() const
AWS_TIMESTREAMWRITE_API Database & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue