7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/TableOptimizerEventType.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/glue/model/CompactionMetrics.h>
12#include <aws/glue/model/RetentionMetrics.h>
13#include <aws/glue/model/OrphanFileDeletionMetrics.h>
90 inline void SetError(
const char* value) { m_errorHasBeenSet =
true; m_error.assign(value); }
137 bool m_eventTypeHasBeenSet =
false;
140 bool m_startTimestampHasBeenSet =
false;
143 bool m_endTimestampHasBeenSet =
false;
146 bool m_errorHasBeenSet =
false;
149 bool m_compactionMetricsHasBeenSet =
false;
152 bool m_retentionMetricsHasBeenSet =
false;
155 bool m_orphanFileDeletionMetricsHasBeenSet =
false;
TableOptimizerRun & WithRetentionMetrics(RetentionMetrics &&value)
bool EndTimestampHasBeenSet() const
void SetError(Aws::String &&value)
void SetError(const char *value)
const RetentionMetrics & GetRetentionMetrics() const
void SetStartTimestamp(const Aws::Utils::DateTime &value)
void SetError(const Aws::String &value)
bool ErrorHasBeenSet() const
bool CompactionMetricsHasBeenSet() const
TableOptimizerRun & WithError(const char *value)
void SetEndTimestamp(Aws::Utils::DateTime &&value)
void SetEventType(TableOptimizerEventType &&value)
bool EventTypeHasBeenSet() const
AWS_GLUE_API TableOptimizerRun(Aws::Utils::Json::JsonView jsonValue)
void SetStartTimestamp(Aws::Utils::DateTime &&value)
TableOptimizerRun & WithCompactionMetrics(CompactionMetrics &&value)
const OrphanFileDeletionMetrics & GetOrphanFileDeletionMetrics() const
void SetRetentionMetrics(RetentionMetrics &&value)
void SetOrphanFileDeletionMetrics(OrphanFileDeletionMetrics &&value)
void SetCompactionMetrics(const CompactionMetrics &value)
void SetEndTimestamp(const Aws::Utils::DateTime &value)
TableOptimizerRun & WithOrphanFileDeletionMetrics(const OrphanFileDeletionMetrics &value)
TableOptimizerRun & WithOrphanFileDeletionMetrics(OrphanFileDeletionMetrics &&value)
TableOptimizerRun & WithEventType(const TableOptimizerEventType &value)
TableOptimizerRun & WithEventType(TableOptimizerEventType &&value)
const Aws::Utils::DateTime & GetStartTimestamp() const
TableOptimizerRun & WithRetentionMetrics(const RetentionMetrics &value)
TableOptimizerRun & WithStartTimestamp(const Aws::Utils::DateTime &value)
void SetCompactionMetrics(CompactionMetrics &&value)
void SetRetentionMetrics(const RetentionMetrics &value)
const TableOptimizerEventType & GetEventType() const
void SetEventType(const TableOptimizerEventType &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API TableOptimizerRun()
bool RetentionMetricsHasBeenSet() const
TableOptimizerRun & WithEndTimestamp(Aws::Utils::DateTime &&value)
TableOptimizerRun & WithError(Aws::String &&value)
const CompactionMetrics & GetCompactionMetrics() const
TableOptimizerRun & WithError(const Aws::String &value)
bool OrphanFileDeletionMetricsHasBeenSet() const
const Aws::Utils::DateTime & GetEndTimestamp() const
TableOptimizerRun & WithEndTimestamp(const Aws::Utils::DateTime &value)
AWS_GLUE_API TableOptimizerRun & operator=(Aws::Utils::Json::JsonView jsonValue)
TableOptimizerRun & WithStartTimestamp(Aws::Utils::DateTime &&value)
TableOptimizerRun & WithCompactionMetrics(const CompactionMetrics &value)
const Aws::String & GetError() const
bool StartTimestampHasBeenSet() const
void SetOrphanFileDeletionMetrics(const OrphanFileDeletionMetrics &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue