AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetTrailStatusResult.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CloudTrail
25{
26namespace Model
27{
35 {
36 public:
37 AWS_CLOUDTRAIL_API GetTrailStatusResult();
40
41
43
47 inline bool GetIsLogging() const{ return m_isLogging; }
48 inline void SetIsLogging(bool value) { m_isLogging = value; }
49 inline GetTrailStatusResult& WithIsLogging(bool value) { SetIsLogging(value); return *this;}
51
53
64 inline const Aws::String& GetLatestDeliveryError() const{ return m_latestDeliveryError; }
65 inline void SetLatestDeliveryError(const Aws::String& value) { m_latestDeliveryError = value; }
66 inline void SetLatestDeliveryError(Aws::String&& value) { m_latestDeliveryError = std::move(value); }
67 inline void SetLatestDeliveryError(const char* value) { m_latestDeliveryError.assign(value); }
69 inline GetTrailStatusResult& WithLatestDeliveryError(Aws::String&& value) { SetLatestDeliveryError(std::move(value)); return *this;}
70 inline GetTrailStatusResult& WithLatestDeliveryError(const char* value) { SetLatestDeliveryError(value); return *this;}
72
74
80 inline const Aws::String& GetLatestNotificationError() const{ return m_latestNotificationError; }
81 inline void SetLatestNotificationError(const Aws::String& value) { m_latestNotificationError = value; }
82 inline void SetLatestNotificationError(Aws::String&& value) { m_latestNotificationError = std::move(value); }
83 inline void SetLatestNotificationError(const char* value) { m_latestNotificationError.assign(value); }
86 inline GetTrailStatusResult& WithLatestNotificationError(const char* value) { SetLatestNotificationError(value); return *this;}
88
90
94 inline const Aws::Utils::DateTime& GetLatestDeliveryTime() const{ return m_latestDeliveryTime; }
95 inline void SetLatestDeliveryTime(const Aws::Utils::DateTime& value) { m_latestDeliveryTime = value; }
96 inline void SetLatestDeliveryTime(Aws::Utils::DateTime&& value) { m_latestDeliveryTime = std::move(value); }
100
102
106 inline const Aws::Utils::DateTime& GetLatestNotificationTime() const{ return m_latestNotificationTime; }
107 inline void SetLatestNotificationTime(const Aws::Utils::DateTime& value) { m_latestNotificationTime = value; }
108 inline void SetLatestNotificationTime(Aws::Utils::DateTime&& value) { m_latestNotificationTime = std::move(value); }
112
114
118 inline const Aws::Utils::DateTime& GetStartLoggingTime() const{ return m_startLoggingTime; }
119 inline void SetStartLoggingTime(const Aws::Utils::DateTime& value) { m_startLoggingTime = value; }
120 inline void SetStartLoggingTime(Aws::Utils::DateTime&& value) { m_startLoggingTime = std::move(value); }
122 inline GetTrailStatusResult& WithStartLoggingTime(Aws::Utils::DateTime&& value) { SetStartLoggingTime(std::move(value)); return *this;}
124
126
130 inline const Aws::Utils::DateTime& GetStopLoggingTime() const{ return m_stopLoggingTime; }
131 inline void SetStopLoggingTime(const Aws::Utils::DateTime& value) { m_stopLoggingTime = value; }
132 inline void SetStopLoggingTime(Aws::Utils::DateTime&& value) { m_stopLoggingTime = std::move(value); }
134 inline GetTrailStatusResult& WithStopLoggingTime(Aws::Utils::DateTime&& value) { SetStopLoggingTime(std::move(value)); return *this;}
136
138
142 inline const Aws::String& GetLatestCloudWatchLogsDeliveryError() const{ return m_latestCloudWatchLogsDeliveryError; }
143 inline void SetLatestCloudWatchLogsDeliveryError(const Aws::String& value) { m_latestCloudWatchLogsDeliveryError = value; }
144 inline void SetLatestCloudWatchLogsDeliveryError(Aws::String&& value) { m_latestCloudWatchLogsDeliveryError = std::move(value); }
145 inline void SetLatestCloudWatchLogsDeliveryError(const char* value) { m_latestCloudWatchLogsDeliveryError.assign(value); }
150
152
156 inline const Aws::Utils::DateTime& GetLatestCloudWatchLogsDeliveryTime() const{ return m_latestCloudWatchLogsDeliveryTime; }
157 inline void SetLatestCloudWatchLogsDeliveryTime(const Aws::Utils::DateTime& value) { m_latestCloudWatchLogsDeliveryTime = value; }
158 inline void SetLatestCloudWatchLogsDeliveryTime(Aws::Utils::DateTime&& value) { m_latestCloudWatchLogsDeliveryTime = std::move(value); }
162
164
168 inline const Aws::Utils::DateTime& GetLatestDigestDeliveryTime() const{ return m_latestDigestDeliveryTime; }
169 inline void SetLatestDigestDeliveryTime(const Aws::Utils::DateTime& value) { m_latestDigestDeliveryTime = value; }
170 inline void SetLatestDigestDeliveryTime(Aws::Utils::DateTime&& value) { m_latestDigestDeliveryTime = std::move(value); }
174
176
187 inline const Aws::String& GetLatestDigestDeliveryError() const{ return m_latestDigestDeliveryError; }
188 inline void SetLatestDigestDeliveryError(const Aws::String& value) { m_latestDigestDeliveryError = value; }
189 inline void SetLatestDigestDeliveryError(Aws::String&& value) { m_latestDigestDeliveryError = std::move(value); }
190 inline void SetLatestDigestDeliveryError(const char* value) { m_latestDigestDeliveryError.assign(value); }
193 inline GetTrailStatusResult& WithLatestDigestDeliveryError(const char* value) { SetLatestDigestDeliveryError(value); return *this;}
195
197
200 inline const Aws::String& GetLatestDeliveryAttemptTime() const{ return m_latestDeliveryAttemptTime; }
201 inline void SetLatestDeliveryAttemptTime(const Aws::String& value) { m_latestDeliveryAttemptTime = value; }
202 inline void SetLatestDeliveryAttemptTime(Aws::String&& value) { m_latestDeliveryAttemptTime = std::move(value); }
203 inline void SetLatestDeliveryAttemptTime(const char* value) { m_latestDeliveryAttemptTime.assign(value); }
206 inline GetTrailStatusResult& WithLatestDeliveryAttemptTime(const char* value) { SetLatestDeliveryAttemptTime(value); return *this;}
208
210
213 inline const Aws::String& GetLatestNotificationAttemptTime() const{ return m_latestNotificationAttemptTime; }
214 inline void SetLatestNotificationAttemptTime(const Aws::String& value) { m_latestNotificationAttemptTime = value; }
215 inline void SetLatestNotificationAttemptTime(Aws::String&& value) { m_latestNotificationAttemptTime = std::move(value); }
216 inline void SetLatestNotificationAttemptTime(const char* value) { m_latestNotificationAttemptTime.assign(value); }
221
223
226 inline const Aws::String& GetLatestNotificationAttemptSucceeded() const{ return m_latestNotificationAttemptSucceeded; }
227 inline void SetLatestNotificationAttemptSucceeded(const Aws::String& value) { m_latestNotificationAttemptSucceeded = value; }
228 inline void SetLatestNotificationAttemptSucceeded(Aws::String&& value) { m_latestNotificationAttemptSucceeded = std::move(value); }
229 inline void SetLatestNotificationAttemptSucceeded(const char* value) { m_latestNotificationAttemptSucceeded.assign(value); }
234
236
239 inline const Aws::String& GetLatestDeliveryAttemptSucceeded() const{ return m_latestDeliveryAttemptSucceeded; }
240 inline void SetLatestDeliveryAttemptSucceeded(const Aws::String& value) { m_latestDeliveryAttemptSucceeded = value; }
241 inline void SetLatestDeliveryAttemptSucceeded(Aws::String&& value) { m_latestDeliveryAttemptSucceeded = std::move(value); }
242 inline void SetLatestDeliveryAttemptSucceeded(const char* value) { m_latestDeliveryAttemptSucceeded.assign(value); }
247
249
252 inline const Aws::String& GetTimeLoggingStarted() const{ return m_timeLoggingStarted; }
253 inline void SetTimeLoggingStarted(const Aws::String& value) { m_timeLoggingStarted = value; }
254 inline void SetTimeLoggingStarted(Aws::String&& value) { m_timeLoggingStarted = std::move(value); }
255 inline void SetTimeLoggingStarted(const char* value) { m_timeLoggingStarted.assign(value); }
257 inline GetTrailStatusResult& WithTimeLoggingStarted(Aws::String&& value) { SetTimeLoggingStarted(std::move(value)); return *this;}
258 inline GetTrailStatusResult& WithTimeLoggingStarted(const char* value) { SetTimeLoggingStarted(value); return *this;}
260
262
265 inline const Aws::String& GetTimeLoggingStopped() const{ return m_timeLoggingStopped; }
266 inline void SetTimeLoggingStopped(const Aws::String& value) { m_timeLoggingStopped = value; }
267 inline void SetTimeLoggingStopped(Aws::String&& value) { m_timeLoggingStopped = std::move(value); }
268 inline void SetTimeLoggingStopped(const char* value) { m_timeLoggingStopped.assign(value); }
270 inline GetTrailStatusResult& WithTimeLoggingStopped(Aws::String&& value) { SetTimeLoggingStopped(std::move(value)); return *this;}
271 inline GetTrailStatusResult& WithTimeLoggingStopped(const char* value) { SetTimeLoggingStopped(value); return *this;}
273
275
276 inline const Aws::String& GetRequestId() const{ return m_requestId; }
277 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
278 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
279 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
280 inline GetTrailStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
281 inline GetTrailStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
282 inline GetTrailStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
284 private:
285
286 bool m_isLogging;
287
288 Aws::String m_latestDeliveryError;
289
290 Aws::String m_latestNotificationError;
291
292 Aws::Utils::DateTime m_latestDeliveryTime;
293
294 Aws::Utils::DateTime m_latestNotificationTime;
295
296 Aws::Utils::DateTime m_startLoggingTime;
297
298 Aws::Utils::DateTime m_stopLoggingTime;
299
300 Aws::String m_latestCloudWatchLogsDeliveryError;
301
302 Aws::Utils::DateTime m_latestCloudWatchLogsDeliveryTime;
303
304 Aws::Utils::DateTime m_latestDigestDeliveryTime;
305
306 Aws::String m_latestDigestDeliveryError;
307
308 Aws::String m_latestDeliveryAttemptTime;
309
310 Aws::String m_latestNotificationAttemptTime;
311
312 Aws::String m_latestNotificationAttemptSucceeded;
313
314 Aws::String m_latestDeliveryAttemptSucceeded;
315
316 Aws::String m_timeLoggingStarted;
317
318 Aws::String m_timeLoggingStopped;
319
320 Aws::String m_requestId;
321 };
322
323} // namespace Model
324} // namespace CloudTrail
325} // namespace Aws
void SetLatestCloudWatchLogsDeliveryTime(const Aws::Utils::DateTime &value)
GetTrailStatusResult & WithTimeLoggingStarted(const Aws::String &value)
GetTrailStatusResult & WithTimeLoggingStarted(Aws::String &&value)
const Aws::Utils::DateTime & GetLatestDeliveryTime() const
void SetStartLoggingTime(Aws::Utils::DateTime &&value)
GetTrailStatusResult & WithIsLogging(bool value)
void SetLatestCloudWatchLogsDeliveryError(const Aws::String &value)
void SetLatestNotificationTime(const Aws::Utils::DateTime &value)
void SetStartLoggingTime(const Aws::Utils::DateTime &value)
GetTrailStatusResult & WithLatestNotificationTime(Aws::Utils::DateTime &&value)
void SetLatestCloudWatchLogsDeliveryError(Aws::String &&value)
GetTrailStatusResult & WithLatestCloudWatchLogsDeliveryTime(Aws::Utils::DateTime &&value)
const Aws::String & GetLatestCloudWatchLogsDeliveryError() const
void SetStopLoggingTime(const Aws::Utils::DateTime &value)
AWS_CLOUDTRAIL_API GetTrailStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLatestCloudWatchLogsDeliveryTime(Aws::Utils::DateTime &&value)
void SetLatestNotificationAttemptSucceeded(const Aws::String &value)
GetTrailStatusResult & WithLatestDigestDeliveryError(const char *value)
const Aws::Utils::DateTime & GetStopLoggingTime() const
void SetLatestDeliveryAttemptSucceeded(Aws::String &&value)
GetTrailStatusResult & WithLatestNotificationError(const Aws::String &value)
GetTrailStatusResult & WithLatestDigestDeliveryError(const Aws::String &value)
GetTrailStatusResult & WithLatestNotificationAttemptTime(const char *value)
void SetLatestNotificationError(const Aws::String &value)
GetTrailStatusResult & WithRequestId(const char *value)
const Aws::Utils::DateTime & GetLatestCloudWatchLogsDeliveryTime() const
GetTrailStatusResult & WithLatestDigestDeliveryTime(Aws::Utils::DateTime &&value)
GetTrailStatusResult & WithStartLoggingTime(Aws::Utils::DateTime &&value)
const Aws::String & GetLatestNotificationAttemptSucceeded() const
GetTrailStatusResult & WithTimeLoggingStopped(Aws::String &&value)
void SetLatestDeliveryAttemptTime(const Aws::String &value)
GetTrailStatusResult & WithLatestNotificationAttemptTime(const Aws::String &value)
GetTrailStatusResult & WithLatestNotificationAttemptSucceeded(const Aws::String &value)
GetTrailStatusResult & WithStopLoggingTime(Aws::Utils::DateTime &&value)
GetTrailStatusResult & WithLatestDeliveryAttemptTime(const Aws::String &value)
GetTrailStatusResult & WithLatestDeliveryAttemptTime(Aws::String &&value)
GetTrailStatusResult & WithLatestNotificationAttemptTime(Aws::String &&value)
GetTrailStatusResult & WithTimeLoggingStopped(const Aws::String &value)
GetTrailStatusResult & WithLatestDeliveryAttemptSucceeded(Aws::String &&value)
void SetLatestNotificationAttemptTime(const Aws::String &value)
const Aws::String & GetLatestDeliveryAttemptTime() const
GetTrailStatusResult & WithLatestNotificationError(const char *value)
GetTrailStatusResult & WithLatestDeliveryTime(const Aws::Utils::DateTime &value)
const Aws::String & GetLatestDeliveryAttemptSucceeded() const
const Aws::Utils::DateTime & GetLatestNotificationTime() const
GetTrailStatusResult & WithLatestNotificationError(Aws::String &&value)
void SetLatestNotificationTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLatestDigestDeliveryTime() const
void SetLatestDeliveryAttemptSucceeded(const Aws::String &value)
void SetLatestDigestDeliveryTime(const Aws::Utils::DateTime &value)
const Aws::String & GetLatestNotificationError() const
GetTrailStatusResult & WithTimeLoggingStopped(const char *value)
GetTrailStatusResult & WithLatestCloudWatchLogsDeliveryError(const Aws::String &value)
GetTrailStatusResult & WithLatestCloudWatchLogsDeliveryError(Aws::String &&value)
void SetLatestDeliveryTime(Aws::Utils::DateTime &&value)
GetTrailStatusResult & WithLatestDeliveryAttemptTime(const char *value)
GetTrailStatusResult & WithLatestDeliveryError(const char *value)
GetTrailStatusResult & WithLatestNotificationAttemptSucceeded(const char *value)
void SetLatestDeliveryError(const Aws::String &value)
GetTrailStatusResult & WithLatestDeliveryError(Aws::String &&value)
GetTrailStatusResult & WithStopLoggingTime(const Aws::Utils::DateTime &value)
const Aws::String & GetLatestDigestDeliveryError() const
GetTrailStatusResult & WithLatestDeliveryError(const Aws::String &value)
GetTrailStatusResult & WithLatestNotificationAttemptSucceeded(Aws::String &&value)
GetTrailStatusResult & WithLatestDigestDeliveryTime(const Aws::Utils::DateTime &value)
void SetLatestNotificationAttemptSucceeded(Aws::String &&value)
GetTrailStatusResult & WithLatestCloudWatchLogsDeliveryError(const char *value)
AWS_CLOUDTRAIL_API GetTrailStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLatestDigestDeliveryTime(Aws::Utils::DateTime &&value)
void SetStopLoggingTime(Aws::Utils::DateTime &&value)
void SetLatestDigestDeliveryError(const Aws::String &value)
GetTrailStatusResult & WithLatestDeliveryTime(Aws::Utils::DateTime &&value)
GetTrailStatusResult & WithLatestDigestDeliveryError(Aws::String &&value)
GetTrailStatusResult & WithTimeLoggingStarted(const char *value)
GetTrailStatusResult & WithLatestNotificationTime(const Aws::Utils::DateTime &value)
GetTrailStatusResult & WithRequestId(Aws::String &&value)
void SetTimeLoggingStopped(const Aws::String &value)
void SetTimeLoggingStarted(const Aws::String &value)
GetTrailStatusResult & WithRequestId(const Aws::String &value)
GetTrailStatusResult & WithLatestDeliveryAttemptSucceeded(const char *value)
const Aws::String & GetLatestNotificationAttemptTime() const
GetTrailStatusResult & WithLatestCloudWatchLogsDeliveryTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStartLoggingTime() const
GetTrailStatusResult & WithStartLoggingTime(const Aws::Utils::DateTime &value)
void SetLatestDeliveryTime(const Aws::Utils::DateTime &value)
GetTrailStatusResult & WithLatestDeliveryAttemptSucceeded(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue