7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
44 m_isLoggingHasBeenSet =
true;
66 template <
typename LatestDeliveryErrorT = Aws::String>
68 m_latestDeliveryErrorHasBeenSet =
true;
69 m_latestDeliveryError = std::forward<LatestDeliveryErrorT>(value);
71 template <
typename LatestDeliveryErrorT = Aws::String>
86 template <
typename LatestNotificationErrorT = Aws::String>
88 m_latestNotificationErrorHasBeenSet =
true;
89 m_latestNotificationError = std::forward<LatestNotificationErrorT>(value);
91 template <
typename LatestNotificationErrorT = Aws::String>
104 template <
typename LatestDeliveryTimeT = Aws::Utils::DateTime>
106 m_latestDeliveryTimeHasBeenSet =
true;
107 m_latestDeliveryTime = std::forward<LatestDeliveryTimeT>(value);
109 template <
typename LatestDeliveryTimeT = Aws::Utils::DateTime>
122 template <
typename LatestNotificationTimeT = Aws::Utils::DateTime>
124 m_latestNotificationTimeHasBeenSet =
true;
125 m_latestNotificationTime = std::forward<LatestNotificationTimeT>(value);
127 template <
typename LatestNotificationTimeT = Aws::Utils::DateTime>
140 template <
typename StartLoggingTimeT = Aws::Utils::DateTime>
142 m_startLoggingTimeHasBeenSet =
true;
143 m_startLoggingTime = std::forward<StartLoggingTimeT>(value);
145 template <
typename StartLoggingTimeT = Aws::Utils::DateTime>
158 template <
typename StopLoggingTimeT = Aws::Utils::DateTime>
160 m_stopLoggingTimeHasBeenSet =
true;
161 m_stopLoggingTime = std::forward<StopLoggingTimeT>(value);
163 template <
typename StopLoggingTimeT = Aws::Utils::DateTime>
176 template <
typename LatestCloudWatchLogsDeliveryErrorT = Aws::String>
178 m_latestCloudWatchLogsDeliveryErrorHasBeenSet =
true;
179 m_latestCloudWatchLogsDeliveryError = std::forward<LatestCloudWatchLogsDeliveryErrorT>(value);
181 template <
typename LatestCloudWatchLogsDeliveryErrorT = Aws::String>
194 template <
typename LatestCloudWatchLogsDeliveryTimeT = Aws::Utils::DateTime>
196 m_latestCloudWatchLogsDeliveryTimeHasBeenSet =
true;
197 m_latestCloudWatchLogsDeliveryTime = std::forward<LatestCloudWatchLogsDeliveryTimeT>(value);
199 template <
typename LatestCloudWatchLogsDeliveryTimeT = Aws::Utils::DateTime>
212 template <
typename LatestDigestDeliveryTimeT = Aws::Utils::DateTime>
214 m_latestDigestDeliveryTimeHasBeenSet =
true;
215 m_latestDigestDeliveryTime = std::forward<LatestDigestDeliveryTimeT>(value);
217 template <
typename LatestDigestDeliveryTimeT = Aws::Utils::DateTime>
237 template <
typename LatestDigestDeliveryErrorT = Aws::String>
239 m_latestDigestDeliveryErrorHasBeenSet =
true;
240 m_latestDigestDeliveryError = std::forward<LatestDigestDeliveryErrorT>(value);
242 template <
typename LatestDigestDeliveryErrorT = Aws::String>
254 template <
typename LatestDeliveryAttemptTimeT = Aws::String>
256 m_latestDeliveryAttemptTimeHasBeenSet =
true;
257 m_latestDeliveryAttemptTime = std::forward<LatestDeliveryAttemptTimeT>(value);
259 template <
typename LatestDeliveryAttemptTimeT = Aws::String>
271 template <
typename LatestNotificationAttemptTimeT = Aws::String>
273 m_latestNotificationAttemptTimeHasBeenSet =
true;
274 m_latestNotificationAttemptTime = std::forward<LatestNotificationAttemptTimeT>(value);
276 template <
typename LatestNotificationAttemptTimeT = Aws::String>
288 template <
typename LatestNotificationAttemptSucceededT = Aws::String>
290 m_latestNotificationAttemptSucceededHasBeenSet =
true;
291 m_latestNotificationAttemptSucceeded = std::forward<LatestNotificationAttemptSucceededT>(value);
293 template <
typename LatestNotificationAttemptSucceededT = Aws::String>
305 template <
typename LatestDeliveryAttemptSucceededT = Aws::String>
307 m_latestDeliveryAttemptSucceededHasBeenSet =
true;
308 m_latestDeliveryAttemptSucceeded = std::forward<LatestDeliveryAttemptSucceededT>(value);
310 template <
typename LatestDeliveryAttemptSucceededT = Aws::String>
322 template <
typename TimeLoggingStartedT = Aws::String>
324 m_timeLoggingStartedHasBeenSet =
true;
325 m_timeLoggingStarted = std::forward<TimeLoggingStartedT>(value);
327 template <
typename TimeLoggingStartedT = Aws::String>
339 template <
typename TimeLoggingStoppedT = Aws::String>
341 m_timeLoggingStoppedHasBeenSet =
true;
342 m_timeLoggingStopped = std::forward<TimeLoggingStoppedT>(value);
344 template <
typename TimeLoggingStoppedT = Aws::String>
354 template <
typename RequestIdT = Aws::String>
356 m_requestIdHasBeenSet =
true;
357 m_requestId = std::forward<RequestIdT>(value);
359 template <
typename RequestIdT = Aws::String>
368 bool m_isLogging{
false};
404 bool m_isLoggingHasBeenSet =
false;
405 bool m_latestDeliveryErrorHasBeenSet =
false;
406 bool m_latestNotificationErrorHasBeenSet =
false;
407 bool m_latestDeliveryTimeHasBeenSet =
false;
408 bool m_latestNotificationTimeHasBeenSet =
false;
409 bool m_startLoggingTimeHasBeenSet =
false;
410 bool m_stopLoggingTimeHasBeenSet =
false;
411 bool m_latestCloudWatchLogsDeliveryErrorHasBeenSet =
false;
412 bool m_latestCloudWatchLogsDeliveryTimeHasBeenSet =
false;
413 bool m_latestDigestDeliveryTimeHasBeenSet =
false;
414 bool m_latestDigestDeliveryErrorHasBeenSet =
false;
415 bool m_latestDeliveryAttemptTimeHasBeenSet =
false;
416 bool m_latestNotificationAttemptTimeHasBeenSet =
false;
417 bool m_latestNotificationAttemptSucceededHasBeenSet =
false;
418 bool m_latestDeliveryAttemptSucceededHasBeenSet =
false;
419 bool m_timeLoggingStartedHasBeenSet =
false;
420 bool m_timeLoggingStoppedHasBeenSet =
false;
421 bool m_requestIdHasBeenSet =
false;
const Aws::Utils::DateTime & GetLatestDeliveryTime() const
GetTrailStatusResult & WithIsLogging(bool value)
GetTrailStatusResult & WithLatestDigestDeliveryError(LatestDigestDeliveryErrorT &&value)
void SetStartLoggingTime(StartLoggingTimeT &&value)
const Aws::String & GetLatestCloudWatchLogsDeliveryError() const
GetTrailStatusResult & WithLatestDeliveryError(LatestDeliveryErrorT &&value)
AWS_CLOUDTRAIL_API GetTrailStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTrailStatusResult & WithLatestCloudWatchLogsDeliveryError(LatestCloudWatchLogsDeliveryErrorT &&value)
void SetTimeLoggingStopped(TimeLoggingStoppedT &&value)
const Aws::Utils::DateTime & GetStopLoggingTime() const
GetTrailStatusResult & WithLatestDeliveryAttemptTime(LatestDeliveryAttemptTimeT &&value)
GetTrailStatusResult & WithLatestDeliveryAttemptSucceeded(LatestDeliveryAttemptSucceededT &&value)
GetTrailStatusResult & WithTimeLoggingStarted(TimeLoggingStartedT &&value)
void SetLatestDigestDeliveryError(LatestDigestDeliveryErrorT &&value)
void SetLatestNotificationAttemptSucceeded(LatestNotificationAttemptSucceededT &&value)
const Aws::Utils::DateTime & GetLatestCloudWatchLogsDeliveryTime() const
GetTrailStatusResult & WithStopLoggingTime(StopLoggingTimeT &&value)
const Aws::String & GetLatestNotificationAttemptSucceeded() const
GetTrailStatusResult & WithLatestCloudWatchLogsDeliveryTime(LatestCloudWatchLogsDeliveryTimeT &&value)
GetTrailStatusResult & WithRequestId(RequestIdT &&value)
void SetLatestNotificationError(LatestNotificationErrorT &&value)
AWS_CLOUDTRAIL_API GetTrailStatusResult()=default
const Aws::String & GetTimeLoggingStopped() const
GetTrailStatusResult & WithLatestNotificationAttemptTime(LatestNotificationAttemptTimeT &&value)
GetTrailStatusResult & WithTimeLoggingStopped(TimeLoggingStoppedT &&value)
const Aws::String & GetLatestDeliveryAttemptTime() const
void SetLatestDigestDeliveryTime(LatestDigestDeliveryTimeT &&value)
const Aws::String & GetLatestDeliveryAttemptSucceeded() const
const Aws::Utils::DateTime & GetLatestNotificationTime() const
void SetLatestNotificationTime(LatestNotificationTimeT &&value)
const Aws::Utils::DateTime & GetLatestDigestDeliveryTime() const
GetTrailStatusResult & WithLatestDeliveryTime(LatestDeliveryTimeT &&value)
const Aws::String & GetTimeLoggingStarted() const
void SetLatestDeliveryAttemptTime(LatestDeliveryAttemptTimeT &&value)
void SetStopLoggingTime(StopLoggingTimeT &&value)
const Aws::String & GetLatestNotificationError() const
void SetLatestDeliveryError(LatestDeliveryErrorT &&value)
void SetLatestDeliveryAttemptSucceeded(LatestDeliveryAttemptSucceededT &&value)
bool GetIsLogging() const
const Aws::String & GetLatestDigestDeliveryError() const
GetTrailStatusResult & WithLatestNotificationAttemptSucceeded(LatestNotificationAttemptSucceededT &&value)
void SetRequestId(RequestIdT &&value)
void SetIsLogging(bool value)
AWS_CLOUDTRAIL_API GetTrailStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTrailStatusResult & WithLatestDigestDeliveryTime(LatestDigestDeliveryTimeT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetLatestDeliveryError() const
void SetLatestCloudWatchLogsDeliveryError(LatestCloudWatchLogsDeliveryErrorT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetTimeLoggingStarted(TimeLoggingStartedT &&value)
const Aws::String & GetLatestNotificationAttemptTime() const
void SetLatestDeliveryTime(LatestDeliveryTimeT &&value)
GetTrailStatusResult & WithLatestNotificationError(LatestNotificationErrorT &&value)
void SetLatestCloudWatchLogsDeliveryTime(LatestCloudWatchLogsDeliveryTimeT &&value)
GetTrailStatusResult & WithLatestNotificationTime(LatestNotificationTimeT &&value)
const Aws::Utils::DateTime & GetStartLoggingTime() const
void SetLatestNotificationAttemptTime(LatestNotificationAttemptTimeT &&value)
GetTrailStatusResult & WithStartLoggingTime(StartLoggingTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue