7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
48 inline void SetIsLogging(
bool value) { m_isLoggingHasBeenSet =
true; m_isLogging = value; }
65 template<
typename LatestDeliveryErrorT = Aws::String>
66 void SetLatestDeliveryError(LatestDeliveryErrorT&& value) { m_latestDeliveryErrorHasBeenSet =
true; m_latestDeliveryError = std::forward<LatestDeliveryErrorT>(value); }
67 template<
typename LatestDeliveryErrorT = Aws::String>
79 template<
typename LatestNotificationErrorT = Aws::String>
80 void SetLatestNotificationError(LatestNotificationErrorT&& value) { m_latestNotificationErrorHasBeenSet =
true; m_latestNotificationError = std::forward<LatestNotificationErrorT>(value); }
81 template<
typename LatestNotificationErrorT = Aws::String>
91 template<
typename LatestDeliveryTimeT = Aws::Utils::DateTime>
92 void SetLatestDeliveryTime(LatestDeliveryTimeT&& value) { m_latestDeliveryTimeHasBeenSet =
true; m_latestDeliveryTime = std::forward<LatestDeliveryTimeT>(value); }
93 template<
typename LatestDeliveryTimeT = Aws::Utils::DateTime>
103 template<
typename LatestNotificationTimeT = Aws::Utils::DateTime>
104 void SetLatestNotificationTime(LatestNotificationTimeT&& value) { m_latestNotificationTimeHasBeenSet =
true; m_latestNotificationTime = std::forward<LatestNotificationTimeT>(value); }
105 template<
typename LatestNotificationTimeT = Aws::Utils::DateTime>
115 template<
typename StartLoggingTimeT = Aws::Utils::DateTime>
116 void SetStartLoggingTime(StartLoggingTimeT&& value) { m_startLoggingTimeHasBeenSet =
true; m_startLoggingTime = std::forward<StartLoggingTimeT>(value); }
117 template<
typename StartLoggingTimeT = Aws::Utils::DateTime>
127 template<
typename StopLoggingTimeT = Aws::Utils::DateTime>
128 void SetStopLoggingTime(StopLoggingTimeT&& value) { m_stopLoggingTimeHasBeenSet =
true; m_stopLoggingTime = std::forward<StopLoggingTimeT>(value); }
129 template<
typename StopLoggingTimeT = Aws::Utils::DateTime>
139 template<
typename LatestCloudWatchLogsDeliveryErrorT = Aws::String>
140 void SetLatestCloudWatchLogsDeliveryError(LatestCloudWatchLogsDeliveryErrorT&& value) { m_latestCloudWatchLogsDeliveryErrorHasBeenSet =
true; m_latestCloudWatchLogsDeliveryError = std::forward<LatestCloudWatchLogsDeliveryErrorT>(value); }
141 template<
typename LatestCloudWatchLogsDeliveryErrorT = Aws::String>
151 template<
typename LatestCloudWatchLogsDeliveryTimeT = Aws::Utils::DateTime>
152 void SetLatestCloudWatchLogsDeliveryTime(LatestCloudWatchLogsDeliveryTimeT&& value) { m_latestCloudWatchLogsDeliveryTimeHasBeenSet =
true; m_latestCloudWatchLogsDeliveryTime = std::forward<LatestCloudWatchLogsDeliveryTimeT>(value); }
153 template<
typename LatestCloudWatchLogsDeliveryTimeT = Aws::Utils::DateTime>
163 template<
typename LatestDigestDeliveryTimeT = Aws::Utils::DateTime>
164 void SetLatestDigestDeliveryTime(LatestDigestDeliveryTimeT&& value) { m_latestDigestDeliveryTimeHasBeenSet =
true; m_latestDigestDeliveryTime = std::forward<LatestDigestDeliveryTimeT>(value); }
165 template<
typename LatestDigestDeliveryTimeT = Aws::Utils::DateTime>
182 template<
typename LatestDigestDeliveryErrorT = Aws::String>
183 void SetLatestDigestDeliveryError(LatestDigestDeliveryErrorT&& value) { m_latestDigestDeliveryErrorHasBeenSet =
true; m_latestDigestDeliveryError = std::forward<LatestDigestDeliveryErrorT>(value); }
184 template<
typename LatestDigestDeliveryErrorT = Aws::String>
193 template<
typename LatestDeliveryAttemptTimeT = Aws::String>
194 void SetLatestDeliveryAttemptTime(LatestDeliveryAttemptTimeT&& value) { m_latestDeliveryAttemptTimeHasBeenSet =
true; m_latestDeliveryAttemptTime = std::forward<LatestDeliveryAttemptTimeT>(value); }
195 template<
typename LatestDeliveryAttemptTimeT = Aws::String>
204 template<
typename LatestNotificationAttemptTimeT = Aws::String>
205 void SetLatestNotificationAttemptTime(LatestNotificationAttemptTimeT&& value) { m_latestNotificationAttemptTimeHasBeenSet =
true; m_latestNotificationAttemptTime = std::forward<LatestNotificationAttemptTimeT>(value); }
206 template<
typename LatestNotificationAttemptTimeT = Aws::String>
215 template<
typename LatestNotificationAttemptSucceededT = Aws::String>
216 void SetLatestNotificationAttemptSucceeded(LatestNotificationAttemptSucceededT&& value) { m_latestNotificationAttemptSucceededHasBeenSet =
true; m_latestNotificationAttemptSucceeded = std::forward<LatestNotificationAttemptSucceededT>(value); }
217 template<
typename LatestNotificationAttemptSucceededT = Aws::String>
226 template<
typename LatestDeliveryAttemptSucceededT = Aws::String>
227 void SetLatestDeliveryAttemptSucceeded(LatestDeliveryAttemptSucceededT&& value) { m_latestDeliveryAttemptSucceededHasBeenSet =
true; m_latestDeliveryAttemptSucceeded = std::forward<LatestDeliveryAttemptSucceededT>(value); }
228 template<
typename LatestDeliveryAttemptSucceededT = Aws::String>
237 template<
typename TimeLoggingStartedT = Aws::String>
238 void SetTimeLoggingStarted(TimeLoggingStartedT&& value) { m_timeLoggingStartedHasBeenSet =
true; m_timeLoggingStarted = std::forward<TimeLoggingStartedT>(value); }
239 template<
typename TimeLoggingStartedT = Aws::String>
248 template<
typename TimeLoggingStoppedT = Aws::String>
249 void SetTimeLoggingStopped(TimeLoggingStoppedT&& value) { m_timeLoggingStoppedHasBeenSet =
true; m_timeLoggingStopped = std::forward<TimeLoggingStoppedT>(value); }
250 template<
typename TimeLoggingStoppedT = Aws::String>
257 template<
typename RequestIdT = Aws::String>
258 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
259 template<
typename RequestIdT = Aws::String>
264 bool m_isLogging{
false};
265 bool m_isLoggingHasBeenSet =
false;
268 bool m_latestDeliveryErrorHasBeenSet =
false;
271 bool m_latestNotificationErrorHasBeenSet =
false;
274 bool m_latestDeliveryTimeHasBeenSet =
false;
277 bool m_latestNotificationTimeHasBeenSet =
false;
280 bool m_startLoggingTimeHasBeenSet =
false;
283 bool m_stopLoggingTimeHasBeenSet =
false;
286 bool m_latestCloudWatchLogsDeliveryErrorHasBeenSet =
false;
289 bool m_latestCloudWatchLogsDeliveryTimeHasBeenSet =
false;
292 bool m_latestDigestDeliveryTimeHasBeenSet =
false;
295 bool m_latestDigestDeliveryErrorHasBeenSet =
false;
298 bool m_latestDeliveryAttemptTimeHasBeenSet =
false;
301 bool m_latestNotificationAttemptTimeHasBeenSet =
false;
304 bool m_latestNotificationAttemptSucceededHasBeenSet =
false;
307 bool m_latestDeliveryAttemptSucceededHasBeenSet =
false;
310 bool m_timeLoggingStartedHasBeenSet =
false;
313 bool m_timeLoggingStoppedHasBeenSet =
false;
316 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