7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
59 template <
typename S3BucketNameT = Aws::String>
61 m_s3BucketNameHasBeenSet =
true;
62 m_s3BucketName = std::forward<S3BucketNameT>(value);
64 template <
typename S3BucketNameT = Aws::String>
79 template <
typename S3KeyPrefixT = Aws::String>
81 m_s3KeyPrefixHasBeenSet =
true;
82 m_s3KeyPrefix = std::forward<S3KeyPrefixT>(value);
84 template <
typename S3KeyPrefixT = Aws::String>
98 template <
typename SnsTopicARNT = Aws::String>
100 m_snsTopicARNHasBeenSet =
true;
101 m_snsTopicARN = std::forward<SnsTopicARNT>(value);
103 template <
typename SnsTopicARNT = Aws::String>
117 m_includeGlobalServiceEventsHasBeenSet =
true;
118 m_includeGlobalServiceEvents = value;
132 m_isMultiRegionTrailHasBeenSet =
true;
133 m_isMultiRegionTrail = value;
148 template <
typename TrailARNT = Aws::String>
150 m_trailARNHasBeenSet =
true;
151 m_trailARN = std::forward<TrailARNT>(value);
153 template <
typename TrailARNT = Aws::String>
166 m_logFileValidationEnabledHasBeenSet =
true;
167 m_logFileValidationEnabled = value;
181 template <
typename CloudWatchLogsLogGroupArnT = Aws::String>
183 m_cloudWatchLogsLogGroupArnHasBeenSet =
true;
184 m_cloudWatchLogsLogGroupArn = std::forward<CloudWatchLogsLogGroupArnT>(value);
186 template <
typename CloudWatchLogsLogGroupArnT = Aws::String>
199 template <
typename CloudWatchLogsRoleArnT = Aws::String>
201 m_cloudWatchLogsRoleArnHasBeenSet =
true;
202 m_cloudWatchLogsRoleArn = std::forward<CloudWatchLogsRoleArnT>(value);
204 template <
typename CloudWatchLogsRoleArnT = Aws::String>
220 template <
typename KmsKeyIdT = Aws::String>
222 m_kmsKeyIdHasBeenSet =
true;
223 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
225 template <
typename KmsKeyIdT = Aws::String>
238 m_isOrganizationTrailHasBeenSet =
true;
239 m_isOrganizationTrail = value;
250 template <
typename RequestIdT = Aws::String>
252 m_requestIdHasBeenSet =
true;
253 m_requestId = std::forward<RequestIdT>(value);
255 template <
typename RequestIdT = Aws::String>
272 bool m_includeGlobalServiceEvents{
false};
274 bool m_isMultiRegionTrail{
false};
278 bool m_logFileValidationEnabled{
false};
286 bool m_isOrganizationTrail{
false};
290 bool m_nameHasBeenSet =
false;
291 bool m_s3BucketNameHasBeenSet =
false;
292 bool m_s3KeyPrefixHasBeenSet =
false;
293 bool m_snsTopicARNHasBeenSet =
false;
294 bool m_includeGlobalServiceEventsHasBeenSet =
false;
295 bool m_isMultiRegionTrailHasBeenSet =
false;
296 bool m_trailARNHasBeenSet =
false;
297 bool m_logFileValidationEnabledHasBeenSet =
false;
298 bool m_cloudWatchLogsLogGroupArnHasBeenSet =
false;
299 bool m_cloudWatchLogsRoleArnHasBeenSet =
false;
300 bool m_kmsKeyIdHasBeenSet =
false;
301 bool m_isOrganizationTrailHasBeenSet =
false;
302 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
void SetIsMultiRegionTrail(bool value)
const Aws::String & GetSnsTopicARN() const
const Aws::String & GetS3BucketName() const
const Aws::String & GetCloudWatchLogsLogGroupArn() const
AWS_CLOUDTRAIL_API UpdateTrailResult()=default
UpdateTrailResult & WithSnsTopicARN(SnsTopicARNT &&value)
AWS_CLOUDTRAIL_API UpdateTrailResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetS3BucketName(S3BucketNameT &&value)
void SetCloudWatchLogsLogGroupArn(CloudWatchLogsLogGroupArnT &&value)
void SetIncludeGlobalServiceEvents(bool value)
bool GetLogFileValidationEnabled() const
const Aws::String & GetS3KeyPrefix() const
UpdateTrailResult & WithTrailARN(TrailARNT &&value)
UpdateTrailResult & WithCloudWatchLogsRoleArn(CloudWatchLogsRoleArnT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
void SetSnsTopicARN(SnsTopicARNT &&value)
const Aws::String & GetCloudWatchLogsRoleArn() const
UpdateTrailResult & WithS3BucketName(S3BucketNameT &&value)
UpdateTrailResult & WithIncludeGlobalServiceEvents(bool value)
bool GetIncludeGlobalServiceEvents() const
const Aws::String & GetRequestId() const
const Aws::String & GetTrailARN() const
bool GetIsOrganizationTrail() const
UpdateTrailResult & WithName(NameT &&value)
bool GetIsMultiRegionTrail() const
UpdateTrailResult & WithKmsKeyId(KmsKeyIdT &&value)
UpdateTrailResult & WithIsMultiRegionTrail(bool value)
void SetCloudWatchLogsRoleArn(CloudWatchLogsRoleArnT &&value)
void SetLogFileValidationEnabled(bool value)
UpdateTrailResult & WithCloudWatchLogsLogGroupArn(CloudWatchLogsLogGroupArnT &&value)
void SetName(NameT &&value)
UpdateTrailResult & WithRequestId(RequestIdT &&value)
AWS_CLOUDTRAIL_API UpdateTrailResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetKmsKeyId() const
UpdateTrailResult & WithIsOrganizationTrail(bool value)
void SetTrailARN(TrailARNT &&value)
UpdateTrailResult & WithLogFileValidationEnabled(bool value)
const Aws::String & GetName() const
void SetS3KeyPrefix(S3KeyPrefixT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetIsOrganizationTrail(bool value)
UpdateTrailResult & WithS3KeyPrefix(S3KeyPrefixT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue