7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/CrawlState.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetState(
CrawlState&& value) { m_stateHasBeenSet =
true; m_state = std::move(value); }
86 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
100 inline void SetLogGroup(
const char* value) { m_logGroupHasBeenSet =
true; m_logGroup.assign(value); }
114 inline void SetLogStream(
const char* value) { m_logStreamHasBeenSet =
true; m_logStream.assign(value); }
122 bool m_stateHasBeenSet =
false;
125 bool m_startedOnHasBeenSet =
false;
128 bool m_completedOnHasBeenSet =
false;
131 bool m_errorMessageHasBeenSet =
false;
134 bool m_logGroupHasBeenSet =
false;
137 bool m_logStreamHasBeenSet =
false;
Crawl & WithLogStream(const Aws::String &value)
void SetLogGroup(const Aws::String &value)
bool StartedOnHasBeenSet() const
const CrawlState & GetState() const
void SetLogStream(Aws::String &&value)
Crawl & WithStartedOn(Aws::Utils::DateTime &&value)
bool LogStreamHasBeenSet() const
AWS_GLUE_API Crawl & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLogStream(const char *value)
void SetStartedOn(Aws::Utils::DateTime &&value)
Crawl & WithCompletedOn(const Aws::Utils::DateTime &value)
Crawl & WithStartedOn(const Aws::Utils::DateTime &value)
bool CompletedOnHasBeenSet() const
Crawl & WithState(CrawlState &&value)
void SetState(const CrawlState &value)
const Aws::Utils::DateTime & GetStartedOn() const
const Aws::String & GetErrorMessage() const
void SetCompletedOn(Aws::Utils::DateTime &&value)
const Aws::String & GetLogStream() const
void SetCompletedOn(const Aws::Utils::DateTime &value)
bool StateHasBeenSet() const
Crawl & WithLogGroup(const Aws::String &value)
void SetLogGroup(const char *value)
Crawl & WithLogStream(Aws::String &&value)
Crawl & WithLogStream(const char *value)
Crawl & WithErrorMessage(Aws::String &&value)
const Aws::String & GetLogGroup() const
void SetErrorMessage(const char *value)
Crawl & WithErrorMessage(const Aws::String &value)
bool ErrorMessageHasBeenSet() const
void SetErrorMessage(const Aws::String &value)
Crawl & WithState(const CrawlState &value)
void SetStartedOn(const Aws::Utils::DateTime &value)
bool LogGroupHasBeenSet() const
Crawl & WithLogGroup(const char *value)
void SetErrorMessage(Aws::String &&value)
AWS_GLUE_API Crawl(Aws::Utils::Json::JsonView jsonValue)
Crawl & WithCompletedOn(Aws::Utils::DateTime &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLogStream(const Aws::String &value)
const Aws::Utils::DateTime & GetCompletedOn() const
Crawl & WithErrorMessage(const char *value)
void SetState(CrawlState &&value)
Crawl & WithLogGroup(Aws::String &&value)
void SetLogGroup(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue