AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CrawlerMetrics.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_GLUE_API CrawlerMetrics();
38
39
41
44 inline const Aws::String& GetCrawlerName() const{ return m_crawlerName; }
45 inline bool CrawlerNameHasBeenSet() const { return m_crawlerNameHasBeenSet; }
46 inline void SetCrawlerName(const Aws::String& value) { m_crawlerNameHasBeenSet = true; m_crawlerName = value; }
47 inline void SetCrawlerName(Aws::String&& value) { m_crawlerNameHasBeenSet = true; m_crawlerName = std::move(value); }
48 inline void SetCrawlerName(const char* value) { m_crawlerNameHasBeenSet = true; m_crawlerName.assign(value); }
49 inline CrawlerMetrics& WithCrawlerName(const Aws::String& value) { SetCrawlerName(value); return *this;}
50 inline CrawlerMetrics& WithCrawlerName(Aws::String&& value) { SetCrawlerName(std::move(value)); return *this;}
51 inline CrawlerMetrics& WithCrawlerName(const char* value) { SetCrawlerName(value); return *this;}
53
55
58 inline double GetTimeLeftSeconds() const{ return m_timeLeftSeconds; }
59 inline bool TimeLeftSecondsHasBeenSet() const { return m_timeLeftSecondsHasBeenSet; }
60 inline void SetTimeLeftSeconds(double value) { m_timeLeftSecondsHasBeenSet = true; m_timeLeftSeconds = value; }
61 inline CrawlerMetrics& WithTimeLeftSeconds(double value) { SetTimeLeftSeconds(value); return *this;}
63
65
69 inline bool GetStillEstimating() const{ return m_stillEstimating; }
70 inline bool StillEstimatingHasBeenSet() const { return m_stillEstimatingHasBeenSet; }
71 inline void SetStillEstimating(bool value) { m_stillEstimatingHasBeenSet = true; m_stillEstimating = value; }
72 inline CrawlerMetrics& WithStillEstimating(bool value) { SetStillEstimating(value); return *this;}
74
76
79 inline double GetLastRuntimeSeconds() const{ return m_lastRuntimeSeconds; }
80 inline bool LastRuntimeSecondsHasBeenSet() const { return m_lastRuntimeSecondsHasBeenSet; }
81 inline void SetLastRuntimeSeconds(double value) { m_lastRuntimeSecondsHasBeenSet = true; m_lastRuntimeSeconds = value; }
82 inline CrawlerMetrics& WithLastRuntimeSeconds(double value) { SetLastRuntimeSeconds(value); return *this;}
84
86
89 inline double GetMedianRuntimeSeconds() const{ return m_medianRuntimeSeconds; }
90 inline bool MedianRuntimeSecondsHasBeenSet() const { return m_medianRuntimeSecondsHasBeenSet; }
91 inline void SetMedianRuntimeSeconds(double value) { m_medianRuntimeSecondsHasBeenSet = true; m_medianRuntimeSeconds = value; }
92 inline CrawlerMetrics& WithMedianRuntimeSeconds(double value) { SetMedianRuntimeSeconds(value); return *this;}
94
96
99 inline int GetTablesCreated() const{ return m_tablesCreated; }
100 inline bool TablesCreatedHasBeenSet() const { return m_tablesCreatedHasBeenSet; }
101 inline void SetTablesCreated(int value) { m_tablesCreatedHasBeenSet = true; m_tablesCreated = value; }
102 inline CrawlerMetrics& WithTablesCreated(int value) { SetTablesCreated(value); return *this;}
104
106
109 inline int GetTablesUpdated() const{ return m_tablesUpdated; }
110 inline bool TablesUpdatedHasBeenSet() const { return m_tablesUpdatedHasBeenSet; }
111 inline void SetTablesUpdated(int value) { m_tablesUpdatedHasBeenSet = true; m_tablesUpdated = value; }
112 inline CrawlerMetrics& WithTablesUpdated(int value) { SetTablesUpdated(value); return *this;}
114
116
119 inline int GetTablesDeleted() const{ return m_tablesDeleted; }
120 inline bool TablesDeletedHasBeenSet() const { return m_tablesDeletedHasBeenSet; }
121 inline void SetTablesDeleted(int value) { m_tablesDeletedHasBeenSet = true; m_tablesDeleted = value; }
122 inline CrawlerMetrics& WithTablesDeleted(int value) { SetTablesDeleted(value); return *this;}
124 private:
125
126 Aws::String m_crawlerName;
127 bool m_crawlerNameHasBeenSet = false;
128
129 double m_timeLeftSeconds;
130 bool m_timeLeftSecondsHasBeenSet = false;
131
132 bool m_stillEstimating;
133 bool m_stillEstimatingHasBeenSet = false;
134
135 double m_lastRuntimeSeconds;
136 bool m_lastRuntimeSecondsHasBeenSet = false;
137
138 double m_medianRuntimeSeconds;
139 bool m_medianRuntimeSecondsHasBeenSet = false;
140
141 int m_tablesCreated;
142 bool m_tablesCreatedHasBeenSet = false;
143
144 int m_tablesUpdated;
145 bool m_tablesUpdatedHasBeenSet = false;
146
147 int m_tablesDeleted;
148 bool m_tablesDeletedHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace Glue
153} // namespace Aws
void SetLastRuntimeSeconds(double value)
void SetCrawlerName(const Aws::String &value)
CrawlerMetrics & WithCrawlerName(const char *value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCrawlerName(Aws::String &&value)
CrawlerMetrics & WithTablesDeleted(int value)
void SetCrawlerName(const char *value)
AWS_GLUE_API CrawlerMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API CrawlerMetrics(Aws::Utils::Json::JsonView jsonValue)
CrawlerMetrics & WithTablesUpdated(int value)
const Aws::String & GetCrawlerName() const
void SetTimeLeftSeconds(double value)
CrawlerMetrics & WithTimeLeftSeconds(double value)
CrawlerMetrics & WithLastRuntimeSeconds(double value)
CrawlerMetrics & WithCrawlerName(const Aws::String &value)
CrawlerMetrics & WithStillEstimating(bool value)
CrawlerMetrics & WithCrawlerName(Aws::String &&value)
void SetMedianRuntimeSeconds(double value)
CrawlerMetrics & WithMedianRuntimeSeconds(double value)
CrawlerMetrics & WithTablesCreated(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue