AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CrawlerHistory.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/CrawlerHistoryState.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Glue
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GLUE_API CrawlerHistory();
41
42
44
47 inline const Aws::String& GetCrawlId() const{ return m_crawlId; }
48 inline bool CrawlIdHasBeenSet() const { return m_crawlIdHasBeenSet; }
49 inline void SetCrawlId(const Aws::String& value) { m_crawlIdHasBeenSet = true; m_crawlId = value; }
50 inline void SetCrawlId(Aws::String&& value) { m_crawlIdHasBeenSet = true; m_crawlId = std::move(value); }
51 inline void SetCrawlId(const char* value) { m_crawlIdHasBeenSet = true; m_crawlId.assign(value); }
52 inline CrawlerHistory& WithCrawlId(const Aws::String& value) { SetCrawlId(value); return *this;}
53 inline CrawlerHistory& WithCrawlId(Aws::String&& value) { SetCrawlId(std::move(value)); return *this;}
54 inline CrawlerHistory& WithCrawlId(const char* value) { SetCrawlId(value); return *this;}
56
58
61 inline const CrawlerHistoryState& GetState() const{ return m_state; }
62 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
63 inline void SetState(const CrawlerHistoryState& value) { m_stateHasBeenSet = true; m_state = value; }
64 inline void SetState(CrawlerHistoryState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
65 inline CrawlerHistory& WithState(const CrawlerHistoryState& value) { SetState(value); return *this;}
66 inline CrawlerHistory& WithState(CrawlerHistoryState&& value) { SetState(std::move(value)); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
74 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
75 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
76 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
77 inline CrawlerHistory& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
78 inline CrawlerHistory& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
80
82
85 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
86 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
87 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
88 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
89 inline CrawlerHistory& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
90 inline CrawlerHistory& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
92
94
98 inline const Aws::String& GetSummary() const{ return m_summary; }
99 inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; }
100 inline void SetSummary(const Aws::String& value) { m_summaryHasBeenSet = true; m_summary = value; }
101 inline void SetSummary(Aws::String&& value) { m_summaryHasBeenSet = true; m_summary = std::move(value); }
102 inline void SetSummary(const char* value) { m_summaryHasBeenSet = true; m_summary.assign(value); }
103 inline CrawlerHistory& WithSummary(const Aws::String& value) { SetSummary(value); return *this;}
104 inline CrawlerHistory& WithSummary(Aws::String&& value) { SetSummary(std::move(value)); return *this;}
105 inline CrawlerHistory& WithSummary(const char* value) { SetSummary(value); return *this;}
107
109
112 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
113 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
114 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
115 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
116 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
117 inline CrawlerHistory& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
118 inline CrawlerHistory& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
119 inline CrawlerHistory& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
121
123
126 inline const Aws::String& GetLogGroup() const{ return m_logGroup; }
127 inline bool LogGroupHasBeenSet() const { return m_logGroupHasBeenSet; }
128 inline void SetLogGroup(const Aws::String& value) { m_logGroupHasBeenSet = true; m_logGroup = value; }
129 inline void SetLogGroup(Aws::String&& value) { m_logGroupHasBeenSet = true; m_logGroup = std::move(value); }
130 inline void SetLogGroup(const char* value) { m_logGroupHasBeenSet = true; m_logGroup.assign(value); }
131 inline CrawlerHistory& WithLogGroup(const Aws::String& value) { SetLogGroup(value); return *this;}
132 inline CrawlerHistory& WithLogGroup(Aws::String&& value) { SetLogGroup(std::move(value)); return *this;}
133 inline CrawlerHistory& WithLogGroup(const char* value) { SetLogGroup(value); return *this;}
135
137
140 inline const Aws::String& GetLogStream() const{ return m_logStream; }
141 inline bool LogStreamHasBeenSet() const { return m_logStreamHasBeenSet; }
142 inline void SetLogStream(const Aws::String& value) { m_logStreamHasBeenSet = true; m_logStream = value; }
143 inline void SetLogStream(Aws::String&& value) { m_logStreamHasBeenSet = true; m_logStream = std::move(value); }
144 inline void SetLogStream(const char* value) { m_logStreamHasBeenSet = true; m_logStream.assign(value); }
145 inline CrawlerHistory& WithLogStream(const Aws::String& value) { SetLogStream(value); return *this;}
146 inline CrawlerHistory& WithLogStream(Aws::String&& value) { SetLogStream(std::move(value)); return *this;}
147 inline CrawlerHistory& WithLogStream(const char* value) { SetLogStream(value); return *this;}
149
151
154 inline const Aws::String& GetMessagePrefix() const{ return m_messagePrefix; }
155 inline bool MessagePrefixHasBeenSet() const { return m_messagePrefixHasBeenSet; }
156 inline void SetMessagePrefix(const Aws::String& value) { m_messagePrefixHasBeenSet = true; m_messagePrefix = value; }
157 inline void SetMessagePrefix(Aws::String&& value) { m_messagePrefixHasBeenSet = true; m_messagePrefix = std::move(value); }
158 inline void SetMessagePrefix(const char* value) { m_messagePrefixHasBeenSet = true; m_messagePrefix.assign(value); }
159 inline CrawlerHistory& WithMessagePrefix(const Aws::String& value) { SetMessagePrefix(value); return *this;}
160 inline CrawlerHistory& WithMessagePrefix(Aws::String&& value) { SetMessagePrefix(std::move(value)); return *this;}
161 inline CrawlerHistory& WithMessagePrefix(const char* value) { SetMessagePrefix(value); return *this;}
163
165
168 inline double GetDPUHour() const{ return m_dPUHour; }
169 inline bool DPUHourHasBeenSet() const { return m_dPUHourHasBeenSet; }
170 inline void SetDPUHour(double value) { m_dPUHourHasBeenSet = true; m_dPUHour = value; }
171 inline CrawlerHistory& WithDPUHour(double value) { SetDPUHour(value); return *this;}
173 private:
174
175 Aws::String m_crawlId;
176 bool m_crawlIdHasBeenSet = false;
177
178 CrawlerHistoryState m_state;
179 bool m_stateHasBeenSet = false;
180
181 Aws::Utils::DateTime m_startTime;
182 bool m_startTimeHasBeenSet = false;
183
184 Aws::Utils::DateTime m_endTime;
185 bool m_endTimeHasBeenSet = false;
186
187 Aws::String m_summary;
188 bool m_summaryHasBeenSet = false;
189
190 Aws::String m_errorMessage;
191 bool m_errorMessageHasBeenSet = false;
192
193 Aws::String m_logGroup;
194 bool m_logGroupHasBeenSet = false;
195
196 Aws::String m_logStream;
197 bool m_logStreamHasBeenSet = false;
198
199 Aws::String m_messagePrefix;
200 bool m_messagePrefixHasBeenSet = false;
201
202 double m_dPUHour;
203 bool m_dPUHourHasBeenSet = false;
204 };
205
206} // namespace Model
207} // namespace Glue
208} // namespace Aws
CrawlerHistory & WithMessagePrefix(Aws::String &&value)
const Aws::String & GetLogStream() const
CrawlerHistory & WithStartTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetEndTime() const
const Aws::String & GetMessagePrefix() const
void SetLogStream(const Aws::String &value)
void SetLogGroup(Aws::String &&value)
const CrawlerHistoryState & GetState() const
CrawlerHistory & WithLogGroup(const char *value)
void SetErrorMessage(Aws::String &&value)
CrawlerHistory & WithSummary(const Aws::String &value)
CrawlerHistory & WithSummary(const char *value)
const Aws::String & GetSummary() const
void SetMessagePrefix(const Aws::String &value)
void SetState(CrawlerHistoryState &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetLogGroup(const char *value)
const Aws::String & GetLogGroup() const
CrawlerHistory & WithEndTime(const Aws::Utils::DateTime &value)
void SetErrorMessage(const Aws::String &value)
const Aws::Utils::DateTime & GetStartTime() const
CrawlerHistory & WithLogStream(const Aws::String &value)
CrawlerHistory & WithStartTime(Aws::Utils::DateTime &&value)
CrawlerHistory & WithDPUHour(double value)
void SetMessagePrefix(const char *value)
CrawlerHistory & WithLogGroup(const Aws::String &value)
CrawlerHistory & WithLogGroup(Aws::String &&value)
CrawlerHistory & WithErrorMessage(const Aws::String &value)
const Aws::String & GetErrorMessage() const
CrawlerHistory & WithLogStream(Aws::String &&value)
CrawlerHistory & WithEndTime(Aws::Utils::DateTime &&value)
const Aws::String & GetCrawlId() const
void SetSummary(Aws::String &&value)
AWS_GLUE_API CrawlerHistory(Aws::Utils::Json::JsonView jsonValue)
CrawlerHistory & WithErrorMessage(Aws::String &&value)
void SetCrawlId(Aws::String &&value)
void SetSummary(const Aws::String &value)
CrawlerHistory & WithMessagePrefix(const Aws::String &value)
void SetLogStream(Aws::String &&value)
void SetLogStream(const char *value)
void SetEndTime(Aws::Utils::DateTime &&value)
CrawlerHistory & WithCrawlId(const char *value)
void SetMessagePrefix(Aws::String &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEndTime(const Aws::Utils::DateTime &value)
AWS_GLUE_API CrawlerHistory & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrorMessage(const char *value)
void SetCrawlId(const Aws::String &value)
CrawlerHistory & WithSummary(Aws::String &&value)
CrawlerHistory & WithCrawlId(const Aws::String &value)
CrawlerHistory & WithLogStream(const char *value)
void SetCrawlId(const char *value)
CrawlerHistory & WithState(const CrawlerHistoryState &value)
CrawlerHistory & WithState(CrawlerHistoryState &&value)
CrawlerHistory & WithMessagePrefix(const char *value)
void SetState(const CrawlerHistoryState &value)
void SetLogGroup(const Aws::String &value)
CrawlerHistory & WithErrorMessage(const char *value)
void SetStartTime(Aws::Utils::DateTime &&value)
void SetSummary(const char *value)
CrawlerHistory & WithCrawlId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue