7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
43 m_isLoggingHasBeenSet =
true;
65 template <
typename LatestDeliveryErrorT = Aws::String>
67 m_latestDeliveryErrorHasBeenSet =
true;
68 m_latestDeliveryError = std::forward<LatestDeliveryErrorT>(value);
70 template <
typename LatestDeliveryErrorT = Aws::String>
85 template <
typename LatestNotificationErrorT = Aws::String>
87 m_latestNotificationErrorHasBeenSet =
true;
88 m_latestNotificationError = std::forward<LatestNotificationErrorT>(value);
90 template <
typename LatestNotificationErrorT = Aws::String>
103 template <
typename LatestDeliveryTimeT = Aws::Utils::DateTime>
105 m_latestDeliveryTimeHasBeenSet =
true;
106 m_latestDeliveryTime = std::forward<LatestDeliveryTimeT>(value);
108 template <
typename LatestDeliveryTimeT = Aws::Utils::DateTime>
121 template <
typename LatestNotificationTimeT = Aws::Utils::DateTime>
123 m_latestNotificationTimeHasBeenSet =
true;
124 m_latestNotificationTime = std::forward<LatestNotificationTimeT>(value);
126 template <
typename LatestNotificationTimeT = Aws::Utils::DateTime>
139 template <
typename StartLoggingTimeT = Aws::Utils::DateTime>
141 m_startLoggingTimeHasBeenSet =
true;
142 m_startLoggingTime = std::forward<StartLoggingTimeT>(value);
144 template <
typename StartLoggingTimeT = Aws::Utils::DateTime>
157 template <
typename StopLoggingTimeT = Aws::Utils::DateTime>
159 m_stopLoggingTimeHasBeenSet =
true;
160 m_stopLoggingTime = std::forward<StopLoggingTimeT>(value);
162 template <
typename StopLoggingTimeT = Aws::Utils::DateTime>
175 template <
typename LatestCloudWatchLogsDeliveryErrorT = Aws::String>
177 m_latestCloudWatchLogsDeliveryErrorHasBeenSet =
true;
178 m_latestCloudWatchLogsDeliveryError = std::forward<LatestCloudWatchLogsDeliveryErrorT>(value);
180 template <
typename LatestCloudWatchLogsDeliveryErrorT = Aws::String>
193 template <
typename LatestCloudWatchLogsDeliveryTimeT = Aws::Utils::DateTime>
195 m_latestCloudWatchLogsDeliveryTimeHasBeenSet =
true;
196 m_latestCloudWatchLogsDeliveryTime = std::forward<LatestCloudWatchLogsDeliveryTimeT>(value);
198 template <
typename LatestCloudWatchLogsDeliveryTimeT = Aws::Utils::DateTime>
211 template <
typename LatestDigestDeliveryTimeT = Aws::Utils::DateTime>
213 m_latestDigestDeliveryTimeHasBeenSet =
true;
214 m_latestDigestDeliveryTime = std::forward<LatestDigestDeliveryTimeT>(value);
216 template <
typename LatestDigestDeliveryTimeT = Aws::Utils::DateTime>
236 template <
typename LatestDigestDeliveryErrorT = Aws::String>
238 m_latestDigestDeliveryErrorHasBeenSet =
true;
239 m_latestDigestDeliveryError = std::forward<LatestDigestDeliveryErrorT>(value);
241 template <
typename LatestDigestDeliveryErrorT = Aws::String>
253 template <
typename LatestDeliveryAttemptTimeT = Aws::String>
255 m_latestDeliveryAttemptTimeHasBeenSet =
true;
256 m_latestDeliveryAttemptTime = std::forward<LatestDeliveryAttemptTimeT>(value);
258 template <
typename LatestDeliveryAttemptTimeT = Aws::String>
270 template <
typename LatestNotificationAttemptTimeT = Aws::String>
272 m_latestNotificationAttemptTimeHasBeenSet =
true;
273 m_latestNotificationAttemptTime = std::forward<LatestNotificationAttemptTimeT>(value);
275 template <
typename LatestNotificationAttemptTimeT = Aws::String>
287 template <
typename LatestNotificationAttemptSucceededT = Aws::String>
289 m_latestNotificationAttemptSucceededHasBeenSet =
true;
290 m_latestNotificationAttemptSucceeded = std::forward<LatestNotificationAttemptSucceededT>(value);
292 template <
typename LatestNotificationAttemptSucceededT = Aws::String>
304 template <
typename LatestDeliveryAttemptSucceededT = Aws::String>
306 m_latestDeliveryAttemptSucceededHasBeenSet =
true;
307 m_latestDeliveryAttemptSucceeded = std::forward<LatestDeliveryAttemptSucceededT>(value);
309 template <
typename LatestDeliveryAttemptSucceededT = Aws::String>
321 template <
typename TimeLoggingStartedT = Aws::String>
323 m_timeLoggingStartedHasBeenSet =
true;
324 m_timeLoggingStarted = std::forward<TimeLoggingStartedT>(value);
326 template <
typename TimeLoggingStartedT = Aws::String>
338 template <
typename TimeLoggingStoppedT = Aws::String>
340 m_timeLoggingStoppedHasBeenSet =
true;
341 m_timeLoggingStopped = std::forward<TimeLoggingStoppedT>(value);
343 template <
typename TimeLoggingStoppedT = Aws::String>
353 template <
typename RequestIdT = Aws::String>
355 m_requestIdHasBeenSet =
true;
356 m_requestId = std::forward<RequestIdT>(value);
358 template <
typename RequestIdT = Aws::String>
365 bool m_isLogging{
false};
366 bool m_isLoggingHasBeenSet =
false;
369 bool m_latestDeliveryErrorHasBeenSet =
false;
372 bool m_latestNotificationErrorHasBeenSet =
false;
375 bool m_latestDeliveryTimeHasBeenSet =
false;
378 bool m_latestNotificationTimeHasBeenSet =
false;
381 bool m_startLoggingTimeHasBeenSet =
false;
384 bool m_stopLoggingTimeHasBeenSet =
false;
387 bool m_latestCloudWatchLogsDeliveryErrorHasBeenSet =
false;
390 bool m_latestCloudWatchLogsDeliveryTimeHasBeenSet =
false;
393 bool m_latestDigestDeliveryTimeHasBeenSet =
false;
396 bool m_latestDigestDeliveryErrorHasBeenSet =
false;
399 bool m_latestDeliveryAttemptTimeHasBeenSet =
false;
402 bool m_latestNotificationAttemptTimeHasBeenSet =
false;
405 bool m_latestNotificationAttemptSucceededHasBeenSet =
false;
408 bool m_latestDeliveryAttemptSucceededHasBeenSet =
false;
411 bool m_timeLoggingStartedHasBeenSet =
false;
414 bool m_timeLoggingStoppedHasBeenSet =
false;
417 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)
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