7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
40 template <
typename CrawlerNameT = Aws::String>
42 m_crawlerNameHasBeenSet =
true;
43 m_crawlerName = std::forward<CrawlerNameT>(value);
45 template <
typename CrawlerNameT = Aws::String>
59 m_timeLeftSecondsHasBeenSet =
true;
60 m_timeLeftSeconds = value;
76 m_stillEstimatingHasBeenSet =
true;
77 m_stillEstimating = value;
92 m_lastRuntimeSecondsHasBeenSet =
true;
93 m_lastRuntimeSeconds = value;
108 m_medianRuntimeSecondsHasBeenSet =
true;
109 m_medianRuntimeSeconds = value;
124 m_tablesCreatedHasBeenSet =
true;
125 m_tablesCreated = value;
140 m_tablesUpdatedHasBeenSet =
true;
141 m_tablesUpdated = value;
156 m_tablesDeletedHasBeenSet =
true;
157 m_tablesDeleted = value;
167 double m_timeLeftSeconds{0.0};
169 bool m_stillEstimating{
false};
171 double m_lastRuntimeSeconds{0.0};
173 double m_medianRuntimeSeconds{0.0};
175 int m_tablesCreated{0};
177 int m_tablesUpdated{0};
179 int m_tablesDeleted{0};
180 bool m_crawlerNameHasBeenSet =
false;
181 bool m_timeLeftSecondsHasBeenSet =
false;
182 bool m_stillEstimatingHasBeenSet =
false;
183 bool m_lastRuntimeSecondsHasBeenSet =
false;
184 bool m_medianRuntimeSecondsHasBeenSet =
false;
185 bool m_tablesCreatedHasBeenSet =
false;
186 bool m_tablesUpdatedHasBeenSet =
false;
187 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