/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Returns the objects or data listed below if successful. Otherwise, returns an
* error.See Also:
AWS
* API Reference
Whether the CloudTrail trail is currently logging Amazon Web Services API * calls.
*/ inline bool GetIsLogging() const{ return m_isLogging; } /** *Whether the CloudTrail trail is currently logging Amazon Web Services API * calls.
*/ inline void SetIsLogging(bool value) { m_isLogging = value; } /** *Whether the CloudTrail trail is currently logging Amazon Web Services API * calls.
*/ inline GetTrailStatusResult& WithIsLogging(bool value) { SetIsLogging(value); return *this;} /** *Displays any Amazon S3 error that CloudTrail encountered when attempting to * deliver log files to the designated bucket. For more information, see Error * Responses in the Amazon S3 API Reference.
This error occurs
* only when there is a problem with the destination S3 bucket, and does not occur
* for requests that time out. To resolve the issue, create a new bucket, and then
* call UpdateTrail
to specify the new bucket; or fix the existing
* objects so that CloudTrail can again write to the bucket.
Displays any Amazon S3 error that CloudTrail encountered when attempting to * deliver log files to the designated bucket. For more information, see Error * Responses in the Amazon S3 API Reference.
This error occurs
* only when there is a problem with the destination S3 bucket, and does not occur
* for requests that time out. To resolve the issue, create a new bucket, and then
* call UpdateTrail
to specify the new bucket; or fix the existing
* objects so that CloudTrail can again write to the bucket.
Displays any Amazon S3 error that CloudTrail encountered when attempting to * deliver log files to the designated bucket. For more information, see Error * Responses in the Amazon S3 API Reference.
This error occurs
* only when there is a problem with the destination S3 bucket, and does not occur
* for requests that time out. To resolve the issue, create a new bucket, and then
* call UpdateTrail
to specify the new bucket; or fix the existing
* objects so that CloudTrail can again write to the bucket.
Displays any Amazon S3 error that CloudTrail encountered when attempting to * deliver log files to the designated bucket. For more information, see Error * Responses in the Amazon S3 API Reference.
This error occurs
* only when there is a problem with the destination S3 bucket, and does not occur
* for requests that time out. To resolve the issue, create a new bucket, and then
* call UpdateTrail
to specify the new bucket; or fix the existing
* objects so that CloudTrail can again write to the bucket.
Displays any Amazon S3 error that CloudTrail encountered when attempting to * deliver log files to the designated bucket. For more information, see Error * Responses in the Amazon S3 API Reference.
This error occurs
* only when there is a problem with the destination S3 bucket, and does not occur
* for requests that time out. To resolve the issue, create a new bucket, and then
* call UpdateTrail
to specify the new bucket; or fix the existing
* objects so that CloudTrail can again write to the bucket.
Displays any Amazon S3 error that CloudTrail encountered when attempting to * deliver log files to the designated bucket. For more information, see Error * Responses in the Amazon S3 API Reference.
This error occurs
* only when there is a problem with the destination S3 bucket, and does not occur
* for requests that time out. To resolve the issue, create a new bucket, and then
* call UpdateTrail
to specify the new bucket; or fix the existing
* objects so that CloudTrail can again write to the bucket.
Displays any Amazon S3 error that CloudTrail encountered when attempting to * deliver log files to the designated bucket. For more information, see Error * Responses in the Amazon S3 API Reference.
This error occurs
* only when there is a problem with the destination S3 bucket, and does not occur
* for requests that time out. To resolve the issue, create a new bucket, and then
* call UpdateTrail
to specify the new bucket; or fix the existing
* objects so that CloudTrail can again write to the bucket.
Displays any Amazon SNS error that CloudTrail encountered when attempting to * send a notification. For more information about Amazon SNS errors, see the Amazon SNS * Developer Guide.
*/ inline const Aws::String& GetLatestNotificationError() const{ return m_latestNotificationError; } /** *Displays any Amazon SNS error that CloudTrail encountered when attempting to * send a notification. For more information about Amazon SNS errors, see the Amazon SNS * Developer Guide.
*/ inline void SetLatestNotificationError(const Aws::String& value) { m_latestNotificationError = value; } /** *Displays any Amazon SNS error that CloudTrail encountered when attempting to * send a notification. For more information about Amazon SNS errors, see the Amazon SNS * Developer Guide.
*/ inline void SetLatestNotificationError(Aws::String&& value) { m_latestNotificationError = std::move(value); } /** *Displays any Amazon SNS error that CloudTrail encountered when attempting to * send a notification. For more information about Amazon SNS errors, see the Amazon SNS * Developer Guide.
*/ inline void SetLatestNotificationError(const char* value) { m_latestNotificationError.assign(value); } /** *Displays any Amazon SNS error that CloudTrail encountered when attempting to * send a notification. For more information about Amazon SNS errors, see the Amazon SNS * Developer Guide.
*/ inline GetTrailStatusResult& WithLatestNotificationError(const Aws::String& value) { SetLatestNotificationError(value); return *this;} /** *Displays any Amazon SNS error that CloudTrail encountered when attempting to * send a notification. For more information about Amazon SNS errors, see the Amazon SNS * Developer Guide.
*/ inline GetTrailStatusResult& WithLatestNotificationError(Aws::String&& value) { SetLatestNotificationError(std::move(value)); return *this;} /** *Displays any Amazon SNS error that CloudTrail encountered when attempting to * send a notification. For more information about Amazon SNS errors, see the Amazon SNS * Developer Guide.
*/ inline GetTrailStatusResult& WithLatestNotificationError(const char* value) { SetLatestNotificationError(value); return *this;} /** *Specifies the date and time that CloudTrail last delivered log files to an * account's Amazon S3 bucket.
*/ inline const Aws::Utils::DateTime& GetLatestDeliveryTime() const{ return m_latestDeliveryTime; } /** *Specifies the date and time that CloudTrail last delivered log files to an * account's Amazon S3 bucket.
*/ inline void SetLatestDeliveryTime(const Aws::Utils::DateTime& value) { m_latestDeliveryTime = value; } /** *Specifies the date and time that CloudTrail last delivered log files to an * account's Amazon S3 bucket.
*/ inline void SetLatestDeliveryTime(Aws::Utils::DateTime&& value) { m_latestDeliveryTime = std::move(value); } /** *Specifies the date and time that CloudTrail last delivered log files to an * account's Amazon S3 bucket.
*/ inline GetTrailStatusResult& WithLatestDeliveryTime(const Aws::Utils::DateTime& value) { SetLatestDeliveryTime(value); return *this;} /** *Specifies the date and time that CloudTrail last delivered log files to an * account's Amazon S3 bucket.
*/ inline GetTrailStatusResult& WithLatestDeliveryTime(Aws::Utils::DateTime&& value) { SetLatestDeliveryTime(std::move(value)); return *this;} /** *Specifies the date and time of the most recent Amazon SNS notification that * CloudTrail has written a new log file to an account's Amazon S3 bucket.
*/ inline const Aws::Utils::DateTime& GetLatestNotificationTime() const{ return m_latestNotificationTime; } /** *Specifies the date and time of the most recent Amazon SNS notification that * CloudTrail has written a new log file to an account's Amazon S3 bucket.
*/ inline void SetLatestNotificationTime(const Aws::Utils::DateTime& value) { m_latestNotificationTime = value; } /** *Specifies the date and time of the most recent Amazon SNS notification that * CloudTrail has written a new log file to an account's Amazon S3 bucket.
*/ inline void SetLatestNotificationTime(Aws::Utils::DateTime&& value) { m_latestNotificationTime = std::move(value); } /** *Specifies the date and time of the most recent Amazon SNS notification that * CloudTrail has written a new log file to an account's Amazon S3 bucket.
*/ inline GetTrailStatusResult& WithLatestNotificationTime(const Aws::Utils::DateTime& value) { SetLatestNotificationTime(value); return *this;} /** *Specifies the date and time of the most recent Amazon SNS notification that * CloudTrail has written a new log file to an account's Amazon S3 bucket.
*/ inline GetTrailStatusResult& WithLatestNotificationTime(Aws::Utils::DateTime&& value) { SetLatestNotificationTime(std::move(value)); return *this;} /** *Specifies the most recent date and time when CloudTrail started recording API * calls for an Amazon Web Services account.
*/ inline const Aws::Utils::DateTime& GetStartLoggingTime() const{ return m_startLoggingTime; } /** *Specifies the most recent date and time when CloudTrail started recording API * calls for an Amazon Web Services account.
*/ inline void SetStartLoggingTime(const Aws::Utils::DateTime& value) { m_startLoggingTime = value; } /** *Specifies the most recent date and time when CloudTrail started recording API * calls for an Amazon Web Services account.
*/ inline void SetStartLoggingTime(Aws::Utils::DateTime&& value) { m_startLoggingTime = std::move(value); } /** *Specifies the most recent date and time when CloudTrail started recording API * calls for an Amazon Web Services account.
*/ inline GetTrailStatusResult& WithStartLoggingTime(const Aws::Utils::DateTime& value) { SetStartLoggingTime(value); return *this;} /** *Specifies the most recent date and time when CloudTrail started recording API * calls for an Amazon Web Services account.
*/ inline GetTrailStatusResult& WithStartLoggingTime(Aws::Utils::DateTime&& value) { SetStartLoggingTime(std::move(value)); return *this;} /** *Specifies the most recent date and time when CloudTrail stopped recording API * calls for an Amazon Web Services account.
*/ inline const Aws::Utils::DateTime& GetStopLoggingTime() const{ return m_stopLoggingTime; } /** *Specifies the most recent date and time when CloudTrail stopped recording API * calls for an Amazon Web Services account.
*/ inline void SetStopLoggingTime(const Aws::Utils::DateTime& value) { m_stopLoggingTime = value; } /** *Specifies the most recent date and time when CloudTrail stopped recording API * calls for an Amazon Web Services account.
*/ inline void SetStopLoggingTime(Aws::Utils::DateTime&& value) { m_stopLoggingTime = std::move(value); } /** *Specifies the most recent date and time when CloudTrail stopped recording API * calls for an Amazon Web Services account.
*/ inline GetTrailStatusResult& WithStopLoggingTime(const Aws::Utils::DateTime& value) { SetStopLoggingTime(value); return *this;} /** *Specifies the most recent date and time when CloudTrail stopped recording API * calls for an Amazon Web Services account.
*/ inline GetTrailStatusResult& WithStopLoggingTime(Aws::Utils::DateTime&& value) { SetStopLoggingTime(std::move(value)); return *this;} /** *Displays any CloudWatch Logs error that CloudTrail encountered when * attempting to deliver logs to CloudWatch Logs.
*/ inline const Aws::String& GetLatestCloudWatchLogsDeliveryError() const{ return m_latestCloudWatchLogsDeliveryError; } /** *Displays any CloudWatch Logs error that CloudTrail encountered when * attempting to deliver logs to CloudWatch Logs.
*/ inline void SetLatestCloudWatchLogsDeliveryError(const Aws::String& value) { m_latestCloudWatchLogsDeliveryError = value; } /** *Displays any CloudWatch Logs error that CloudTrail encountered when * attempting to deliver logs to CloudWatch Logs.
*/ inline void SetLatestCloudWatchLogsDeliveryError(Aws::String&& value) { m_latestCloudWatchLogsDeliveryError = std::move(value); } /** *Displays any CloudWatch Logs error that CloudTrail encountered when * attempting to deliver logs to CloudWatch Logs.
*/ inline void SetLatestCloudWatchLogsDeliveryError(const char* value) { m_latestCloudWatchLogsDeliveryError.assign(value); } /** *Displays any CloudWatch Logs error that CloudTrail encountered when * attempting to deliver logs to CloudWatch Logs.
*/ inline GetTrailStatusResult& WithLatestCloudWatchLogsDeliveryError(const Aws::String& value) { SetLatestCloudWatchLogsDeliveryError(value); return *this;} /** *Displays any CloudWatch Logs error that CloudTrail encountered when * attempting to deliver logs to CloudWatch Logs.
*/ inline GetTrailStatusResult& WithLatestCloudWatchLogsDeliveryError(Aws::String&& value) { SetLatestCloudWatchLogsDeliveryError(std::move(value)); return *this;} /** *Displays any CloudWatch Logs error that CloudTrail encountered when * attempting to deliver logs to CloudWatch Logs.
*/ inline GetTrailStatusResult& WithLatestCloudWatchLogsDeliveryError(const char* value) { SetLatestCloudWatchLogsDeliveryError(value); return *this;} /** *Displays the most recent date and time when CloudTrail delivered logs to * CloudWatch Logs.
*/ inline const Aws::Utils::DateTime& GetLatestCloudWatchLogsDeliveryTime() const{ return m_latestCloudWatchLogsDeliveryTime; } /** *Displays the most recent date and time when CloudTrail delivered logs to * CloudWatch Logs.
*/ inline void SetLatestCloudWatchLogsDeliveryTime(const Aws::Utils::DateTime& value) { m_latestCloudWatchLogsDeliveryTime = value; } /** *Displays the most recent date and time when CloudTrail delivered logs to * CloudWatch Logs.
*/ inline void SetLatestCloudWatchLogsDeliveryTime(Aws::Utils::DateTime&& value) { m_latestCloudWatchLogsDeliveryTime = std::move(value); } /** *Displays the most recent date and time when CloudTrail delivered logs to * CloudWatch Logs.
*/ inline GetTrailStatusResult& WithLatestCloudWatchLogsDeliveryTime(const Aws::Utils::DateTime& value) { SetLatestCloudWatchLogsDeliveryTime(value); return *this;} /** *Displays the most recent date and time when CloudTrail delivered logs to * CloudWatch Logs.
*/ inline GetTrailStatusResult& WithLatestCloudWatchLogsDeliveryTime(Aws::Utils::DateTime&& value) { SetLatestCloudWatchLogsDeliveryTime(std::move(value)); return *this;} /** *Specifies the date and time that CloudTrail last delivered a digest file to * an account's Amazon S3 bucket.
*/ inline const Aws::Utils::DateTime& GetLatestDigestDeliveryTime() const{ return m_latestDigestDeliveryTime; } /** *Specifies the date and time that CloudTrail last delivered a digest file to * an account's Amazon S3 bucket.
*/ inline void SetLatestDigestDeliveryTime(const Aws::Utils::DateTime& value) { m_latestDigestDeliveryTime = value; } /** *Specifies the date and time that CloudTrail last delivered a digest file to * an account's Amazon S3 bucket.
*/ inline void SetLatestDigestDeliveryTime(Aws::Utils::DateTime&& value) { m_latestDigestDeliveryTime = std::move(value); } /** *Specifies the date and time that CloudTrail last delivered a digest file to * an account's Amazon S3 bucket.
*/ inline GetTrailStatusResult& WithLatestDigestDeliveryTime(const Aws::Utils::DateTime& value) { SetLatestDigestDeliveryTime(value); return *this;} /** *Specifies the date and time that CloudTrail last delivered a digest file to * an account's Amazon S3 bucket.
*/ inline GetTrailStatusResult& WithLatestDigestDeliveryTime(Aws::Utils::DateTime&& value) { SetLatestDigestDeliveryTime(std::move(value)); return *this;} /** *Displays any Amazon S3 error that CloudTrail encountered when attempting to * deliver a digest file to the designated bucket. For more information, see Error * Responses in the Amazon S3 API Reference.
This error occurs
* only when there is a problem with the destination S3 bucket, and does not occur
* for requests that time out. To resolve the issue, create a new bucket, and then
* call UpdateTrail
to specify the new bucket; or fix the existing
* objects so that CloudTrail can again write to the bucket.
Displays any Amazon S3 error that CloudTrail encountered when attempting to * deliver a digest file to the designated bucket. For more information, see Error * Responses in the Amazon S3 API Reference.
This error occurs
* only when there is a problem with the destination S3 bucket, and does not occur
* for requests that time out. To resolve the issue, create a new bucket, and then
* call UpdateTrail
to specify the new bucket; or fix the existing
* objects so that CloudTrail can again write to the bucket.
Displays any Amazon S3 error that CloudTrail encountered when attempting to * deliver a digest file to the designated bucket. For more information, see Error * Responses in the Amazon S3 API Reference.
This error occurs
* only when there is a problem with the destination S3 bucket, and does not occur
* for requests that time out. To resolve the issue, create a new bucket, and then
* call UpdateTrail
to specify the new bucket; or fix the existing
* objects so that CloudTrail can again write to the bucket.
Displays any Amazon S3 error that CloudTrail encountered when attempting to * deliver a digest file to the designated bucket. For more information, see Error * Responses in the Amazon S3 API Reference.
This error occurs
* only when there is a problem with the destination S3 bucket, and does not occur
* for requests that time out. To resolve the issue, create a new bucket, and then
* call UpdateTrail
to specify the new bucket; or fix the existing
* objects so that CloudTrail can again write to the bucket.
Displays any Amazon S3 error that CloudTrail encountered when attempting to * deliver a digest file to the designated bucket. For more information, see Error * Responses in the Amazon S3 API Reference.
This error occurs
* only when there is a problem with the destination S3 bucket, and does not occur
* for requests that time out. To resolve the issue, create a new bucket, and then
* call UpdateTrail
to specify the new bucket; or fix the existing
* objects so that CloudTrail can again write to the bucket.
Displays any Amazon S3 error that CloudTrail encountered when attempting to * deliver a digest file to the designated bucket. For more information, see Error * Responses in the Amazon S3 API Reference.
This error occurs
* only when there is a problem with the destination S3 bucket, and does not occur
* for requests that time out. To resolve the issue, create a new bucket, and then
* call UpdateTrail
to specify the new bucket; or fix the existing
* objects so that CloudTrail can again write to the bucket.
Displays any Amazon S3 error that CloudTrail encountered when attempting to * deliver a digest file to the designated bucket. For more information, see Error * Responses in the Amazon S3 API Reference.
This error occurs
* only when there is a problem with the destination S3 bucket, and does not occur
* for requests that time out. To resolve the issue, create a new bucket, and then
* call UpdateTrail
to specify the new bucket; or fix the existing
* objects so that CloudTrail can again write to the bucket.
This field is no longer in use.
*/ inline const Aws::String& GetLatestDeliveryAttemptTime() const{ return m_latestDeliveryAttemptTime; } /** *This field is no longer in use.
*/ inline void SetLatestDeliveryAttemptTime(const Aws::String& value) { m_latestDeliveryAttemptTime = value; } /** *This field is no longer in use.
*/ inline void SetLatestDeliveryAttemptTime(Aws::String&& value) { m_latestDeliveryAttemptTime = std::move(value); } /** *This field is no longer in use.
*/ inline void SetLatestDeliveryAttemptTime(const char* value) { m_latestDeliveryAttemptTime.assign(value); } /** *This field is no longer in use.
*/ inline GetTrailStatusResult& WithLatestDeliveryAttemptTime(const Aws::String& value) { SetLatestDeliveryAttemptTime(value); return *this;} /** *This field is no longer in use.
*/ inline GetTrailStatusResult& WithLatestDeliveryAttemptTime(Aws::String&& value) { SetLatestDeliveryAttemptTime(std::move(value)); return *this;} /** *This field is no longer in use.
*/ inline GetTrailStatusResult& WithLatestDeliveryAttemptTime(const char* value) { SetLatestDeliveryAttemptTime(value); return *this;} /** *This field is no longer in use.
*/ inline const Aws::String& GetLatestNotificationAttemptTime() const{ return m_latestNotificationAttemptTime; } /** *This field is no longer in use.
*/ inline void SetLatestNotificationAttemptTime(const Aws::String& value) { m_latestNotificationAttemptTime = value; } /** *This field is no longer in use.
*/ inline void SetLatestNotificationAttemptTime(Aws::String&& value) { m_latestNotificationAttemptTime = std::move(value); } /** *This field is no longer in use.
*/ inline void SetLatestNotificationAttemptTime(const char* value) { m_latestNotificationAttemptTime.assign(value); } /** *This field is no longer in use.
*/ inline GetTrailStatusResult& WithLatestNotificationAttemptTime(const Aws::String& value) { SetLatestNotificationAttemptTime(value); return *this;} /** *This field is no longer in use.
*/ inline GetTrailStatusResult& WithLatestNotificationAttemptTime(Aws::String&& value) { SetLatestNotificationAttemptTime(std::move(value)); return *this;} /** *This field is no longer in use.
*/ inline GetTrailStatusResult& WithLatestNotificationAttemptTime(const char* value) { SetLatestNotificationAttemptTime(value); return *this;} /** *This field is no longer in use.
*/ inline const Aws::String& GetLatestNotificationAttemptSucceeded() const{ return m_latestNotificationAttemptSucceeded; } /** *This field is no longer in use.
*/ inline void SetLatestNotificationAttemptSucceeded(const Aws::String& value) { m_latestNotificationAttemptSucceeded = value; } /** *This field is no longer in use.
*/ inline void SetLatestNotificationAttemptSucceeded(Aws::String&& value) { m_latestNotificationAttemptSucceeded = std::move(value); } /** *This field is no longer in use.
*/ inline void SetLatestNotificationAttemptSucceeded(const char* value) { m_latestNotificationAttemptSucceeded.assign(value); } /** *This field is no longer in use.
*/ inline GetTrailStatusResult& WithLatestNotificationAttemptSucceeded(const Aws::String& value) { SetLatestNotificationAttemptSucceeded(value); return *this;} /** *This field is no longer in use.
*/ inline GetTrailStatusResult& WithLatestNotificationAttemptSucceeded(Aws::String&& value) { SetLatestNotificationAttemptSucceeded(std::move(value)); return *this;} /** *This field is no longer in use.
*/ inline GetTrailStatusResult& WithLatestNotificationAttemptSucceeded(const char* value) { SetLatestNotificationAttemptSucceeded(value); return *this;} /** *This field is no longer in use.
*/ inline const Aws::String& GetLatestDeliveryAttemptSucceeded() const{ return m_latestDeliveryAttemptSucceeded; } /** *This field is no longer in use.
*/ inline void SetLatestDeliveryAttemptSucceeded(const Aws::String& value) { m_latestDeliveryAttemptSucceeded = value; } /** *This field is no longer in use.
*/ inline void SetLatestDeliveryAttemptSucceeded(Aws::String&& value) { m_latestDeliveryAttemptSucceeded = std::move(value); } /** *This field is no longer in use.
*/ inline void SetLatestDeliveryAttemptSucceeded(const char* value) { m_latestDeliveryAttemptSucceeded.assign(value); } /** *This field is no longer in use.
*/ inline GetTrailStatusResult& WithLatestDeliveryAttemptSucceeded(const Aws::String& value) { SetLatestDeliveryAttemptSucceeded(value); return *this;} /** *This field is no longer in use.
*/ inline GetTrailStatusResult& WithLatestDeliveryAttemptSucceeded(Aws::String&& value) { SetLatestDeliveryAttemptSucceeded(std::move(value)); return *this;} /** *This field is no longer in use.
*/ inline GetTrailStatusResult& WithLatestDeliveryAttemptSucceeded(const char* value) { SetLatestDeliveryAttemptSucceeded(value); return *this;} /** *This field is no longer in use.
*/ inline const Aws::String& GetTimeLoggingStarted() const{ return m_timeLoggingStarted; } /** *This field is no longer in use.
*/ inline void SetTimeLoggingStarted(const Aws::String& value) { m_timeLoggingStarted = value; } /** *This field is no longer in use.
*/ inline void SetTimeLoggingStarted(Aws::String&& value) { m_timeLoggingStarted = std::move(value); } /** *This field is no longer in use.
*/ inline void SetTimeLoggingStarted(const char* value) { m_timeLoggingStarted.assign(value); } /** *This field is no longer in use.
*/ inline GetTrailStatusResult& WithTimeLoggingStarted(const Aws::String& value) { SetTimeLoggingStarted(value); return *this;} /** *This field is no longer in use.
*/ inline GetTrailStatusResult& WithTimeLoggingStarted(Aws::String&& value) { SetTimeLoggingStarted(std::move(value)); return *this;} /** *This field is no longer in use.
*/ inline GetTrailStatusResult& WithTimeLoggingStarted(const char* value) { SetTimeLoggingStarted(value); return *this;} /** *This field is no longer in use.
*/ inline const Aws::String& GetTimeLoggingStopped() const{ return m_timeLoggingStopped; } /** *This field is no longer in use.
*/ inline void SetTimeLoggingStopped(const Aws::String& value) { m_timeLoggingStopped = value; } /** *This field is no longer in use.
*/ inline void SetTimeLoggingStopped(Aws::String&& value) { m_timeLoggingStopped = std::move(value); } /** *This field is no longer in use.
*/ inline void SetTimeLoggingStopped(const char* value) { m_timeLoggingStopped.assign(value); } /** *This field is no longer in use.
*/ inline GetTrailStatusResult& WithTimeLoggingStopped(const Aws::String& value) { SetTimeLoggingStopped(value); return *this;} /** *This field is no longer in use.
*/ inline GetTrailStatusResult& WithTimeLoggingStopped(Aws::String&& value) { SetTimeLoggingStopped(std::move(value)); return *this;} /** *This field is no longer in use.
*/ inline GetTrailStatusResult& WithTimeLoggingStopped(const char* value) { SetTimeLoggingStopped(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetTrailStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetTrailStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetTrailStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: bool m_isLogging; Aws::String m_latestDeliveryError; Aws::String m_latestNotificationError; Aws::Utils::DateTime m_latestDeliveryTime; Aws::Utils::DateTime m_latestNotificationTime; Aws::Utils::DateTime m_startLoggingTime; Aws::Utils::DateTime m_stopLoggingTime; Aws::String m_latestCloudWatchLogsDeliveryError; Aws::Utils::DateTime m_latestCloudWatchLogsDeliveryTime; Aws::Utils::DateTime m_latestDigestDeliveryTime; Aws::String m_latestDigestDeliveryError; Aws::String m_latestDeliveryAttemptTime; Aws::String m_latestNotificationAttemptTime; Aws::String m_latestNotificationAttemptSucceeded; Aws::String m_latestDeliveryAttemptSucceeded; Aws::String m_timeLoggingStarted; Aws::String m_timeLoggingStopped; Aws::String m_requestId; }; } // namespace Model } // namespace CloudTrail } // namespace Aws