7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename CrawlerNameT = Aws::String>
47 void SetCrawlerName(CrawlerNameT&& value) { m_crawlerNameHasBeenSet =
true; m_crawlerName = std::forward<CrawlerNameT>(value); }
48 template<
typename CrawlerNameT = Aws::String>
58 inline void SetTimeLeftSeconds(
double value) { m_timeLeftSecondsHasBeenSet =
true; m_timeLeftSeconds = value; }
69 inline void SetStillEstimating(
bool value) { m_stillEstimatingHasBeenSet =
true; m_stillEstimating = value; }
79 inline void SetLastRuntimeSeconds(
double value) { m_lastRuntimeSecondsHasBeenSet =
true; m_lastRuntimeSeconds = value; }
89 inline void SetMedianRuntimeSeconds(
double value) { m_medianRuntimeSecondsHasBeenSet =
true; m_medianRuntimeSeconds = value; }
99 inline void SetTablesCreated(
int value) { m_tablesCreatedHasBeenSet =
true; m_tablesCreated = value; }
109 inline void SetTablesUpdated(
int value) { m_tablesUpdatedHasBeenSet =
true; m_tablesUpdated = value; }
119 inline void SetTablesDeleted(
int value) { m_tablesDeletedHasBeenSet =
true; m_tablesDeleted = value; }
125 bool m_crawlerNameHasBeenSet =
false;
127 double m_timeLeftSeconds{0.0};
128 bool m_timeLeftSecondsHasBeenSet =
false;
130 bool m_stillEstimating{
false};
131 bool m_stillEstimatingHasBeenSet =
false;
133 double m_lastRuntimeSeconds{0.0};
134 bool m_lastRuntimeSecondsHasBeenSet =
false;
136 double m_medianRuntimeSeconds{0.0};
137 bool m_medianRuntimeSecondsHasBeenSet =
false;
139 int m_tablesCreated{0};
140 bool m_tablesCreatedHasBeenSet =
false;
142 int m_tablesUpdated{0};
143 bool m_tablesUpdatedHasBeenSet =
false;
145 int m_tablesDeleted{0};
146 bool m_tablesDeletedHasBeenSet =
false;
void SetLastRuntimeSeconds(double value)
bool GetStillEstimating() const
double GetLastRuntimeSeconds() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTablesDeleted(int value)
CrawlerMetrics & WithTablesDeleted(int value)
bool StillEstimatingHasBeenSet() const
AWS_GLUE_API CrawlerMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetTablesUpdated() const
AWS_GLUE_API CrawlerMetrics(Aws::Utils::Json::JsonView jsonValue)
bool MedianRuntimeSecondsHasBeenSet() const
CrawlerMetrics & WithTablesUpdated(int value)
AWS_GLUE_API CrawlerMetrics()=default
const Aws::String & GetCrawlerName() const
bool CrawlerNameHasBeenSet() const
void SetTimeLeftSeconds(double value)
bool TablesUpdatedHasBeenSet() const
void SetTablesCreated(int value)
CrawlerMetrics & WithTimeLeftSeconds(double value)
CrawlerMetrics & WithLastRuntimeSeconds(double value)
bool TablesDeletedHasBeenSet() const
CrawlerMetrics & WithStillEstimating(bool value)
bool TablesCreatedHasBeenSet() const
int GetTablesDeleted() const
double GetMedianRuntimeSeconds() const
void SetStillEstimating(bool value)
bool TimeLeftSecondsHasBeenSet() const
void SetMedianRuntimeSeconds(double value)
double GetTimeLeftSeconds() const
void SetTablesUpdated(int value)
bool LastRuntimeSecondsHasBeenSet() const
void SetCrawlerName(CrawlerNameT &&value)
CrawlerMetrics & WithMedianRuntimeSeconds(double value)
int GetTablesCreated() const
CrawlerMetrics & WithTablesCreated(int value)
CrawlerMetrics & WithCrawlerName(CrawlerNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue