AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LastCrawlInfo.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/LastCrawlStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.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 LastCrawlInfo();
41
42
44
47 inline const LastCrawlStatus& GetStatus() const{ return m_status; }
48 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
49 inline void SetStatus(const LastCrawlStatus& value) { m_statusHasBeenSet = true; m_status = value; }
50 inline void SetStatus(LastCrawlStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
51 inline LastCrawlInfo& WithStatus(const LastCrawlStatus& value) { SetStatus(value); return *this;}
52 inline LastCrawlInfo& WithStatus(LastCrawlStatus&& value) { SetStatus(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
60 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
61 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
62 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
63 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
64 inline LastCrawlInfo& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
65 inline LastCrawlInfo& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
66 inline LastCrawlInfo& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
68
70
73 inline const Aws::String& GetLogGroup() const{ return m_logGroup; }
74 inline bool LogGroupHasBeenSet() const { return m_logGroupHasBeenSet; }
75 inline void SetLogGroup(const Aws::String& value) { m_logGroupHasBeenSet = true; m_logGroup = value; }
76 inline void SetLogGroup(Aws::String&& value) { m_logGroupHasBeenSet = true; m_logGroup = std::move(value); }
77 inline void SetLogGroup(const char* value) { m_logGroupHasBeenSet = true; m_logGroup.assign(value); }
78 inline LastCrawlInfo& WithLogGroup(const Aws::String& value) { SetLogGroup(value); return *this;}
79 inline LastCrawlInfo& WithLogGroup(Aws::String&& value) { SetLogGroup(std::move(value)); return *this;}
80 inline LastCrawlInfo& WithLogGroup(const char* value) { SetLogGroup(value); return *this;}
82
84
87 inline const Aws::String& GetLogStream() const{ return m_logStream; }
88 inline bool LogStreamHasBeenSet() const { return m_logStreamHasBeenSet; }
89 inline void SetLogStream(const Aws::String& value) { m_logStreamHasBeenSet = true; m_logStream = value; }
90 inline void SetLogStream(Aws::String&& value) { m_logStreamHasBeenSet = true; m_logStream = std::move(value); }
91 inline void SetLogStream(const char* value) { m_logStreamHasBeenSet = true; m_logStream.assign(value); }
92 inline LastCrawlInfo& WithLogStream(const Aws::String& value) { SetLogStream(value); return *this;}
93 inline LastCrawlInfo& WithLogStream(Aws::String&& value) { SetLogStream(std::move(value)); return *this;}
94 inline LastCrawlInfo& WithLogStream(const char* value) { SetLogStream(value); return *this;}
96
98
101 inline const Aws::String& GetMessagePrefix() const{ return m_messagePrefix; }
102 inline bool MessagePrefixHasBeenSet() const { return m_messagePrefixHasBeenSet; }
103 inline void SetMessagePrefix(const Aws::String& value) { m_messagePrefixHasBeenSet = true; m_messagePrefix = value; }
104 inline void SetMessagePrefix(Aws::String&& value) { m_messagePrefixHasBeenSet = true; m_messagePrefix = std::move(value); }
105 inline void SetMessagePrefix(const char* value) { m_messagePrefixHasBeenSet = true; m_messagePrefix.assign(value); }
106 inline LastCrawlInfo& WithMessagePrefix(const Aws::String& value) { SetMessagePrefix(value); return *this;}
107 inline LastCrawlInfo& WithMessagePrefix(Aws::String&& value) { SetMessagePrefix(std::move(value)); return *this;}
108 inline LastCrawlInfo& WithMessagePrefix(const char* value) { SetMessagePrefix(value); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
116 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
117 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
118 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
119 inline LastCrawlInfo& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
120 inline LastCrawlInfo& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
122 private:
123
124 LastCrawlStatus m_status;
125 bool m_statusHasBeenSet = false;
126
127 Aws::String m_errorMessage;
128 bool m_errorMessageHasBeenSet = false;
129
130 Aws::String m_logGroup;
131 bool m_logGroupHasBeenSet = false;
132
133 Aws::String m_logStream;
134 bool m_logStreamHasBeenSet = false;
135
136 Aws::String m_messagePrefix;
137 bool m_messagePrefixHasBeenSet = false;
138
139 Aws::Utils::DateTime m_startTime;
140 bool m_startTimeHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace Glue
145} // namespace Aws
void SetMessagePrefix(const char *value)
const Aws::String & GetLogStream() const
LastCrawlInfo & WithErrorMessage(const Aws::String &value)
LastCrawlInfo & WithMessagePrefix(const Aws::String &value)
void SetLogStream(const Aws::String &value)
LastCrawlInfo & WithMessagePrefix(const char *value)
void SetStartTime(Aws::Utils::DateTime &&value)
const Aws::String & GetLogGroup() const
void SetErrorMessage(const char *value)
LastCrawlInfo & WithStartTime(const Aws::Utils::DateTime &value)
AWS_GLUE_API LastCrawlInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
LastCrawlInfo & WithLogGroup(const Aws::String &value)
const LastCrawlStatus & GetStatus() const
const Aws::String & GetErrorMessage() const
void SetLogGroup(const Aws::String &value)
LastCrawlInfo & WithStatus(const LastCrawlStatus &value)
LastCrawlInfo & WithLogGroup(const char *value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetLogGroup(Aws::String &&value)
LastCrawlInfo & WithErrorMessage(const char *value)
void SetLogStream(Aws::String &&value)
void SetStatus(LastCrawlStatus &&value)
const Aws::String & GetMessagePrefix() const
AWS_GLUE_API LastCrawlInfo(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const LastCrawlStatus &value)
LastCrawlInfo & WithLogStream(const char *value)
LastCrawlInfo & WithLogStream(Aws::String &&value)
LastCrawlInfo & WithMessagePrefix(Aws::String &&value)
void SetMessagePrefix(Aws::String &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
LastCrawlInfo & WithErrorMessage(Aws::String &&value)
void SetLogStream(const char *value)
void SetErrorMessage(Aws::String &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetLogGroup(const char *value)
LastCrawlInfo & WithLogStream(const Aws::String &value)
LastCrawlInfo & WithStartTime(Aws::Utils::DateTime &&value)
void SetMessagePrefix(const Aws::String &value)
void SetErrorMessage(const Aws::String &value)
LastCrawlInfo & WithStatus(LastCrawlStatus &&value)
LastCrawlInfo & WithLogGroup(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue