7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/CloudTrailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
58 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
75 inline void SetS3BucketName(
const char* value) { m_s3BucketNameHasBeenSet =
true; m_s3BucketName.assign(value); }
92 inline void SetS3KeyPrefix(
const char* value) { m_s3KeyPrefixHasBeenSet =
true; m_s3KeyPrefix.assign(value); }
107 inline void SetSnsTopicName(
const char* value) { m_snsTopicNameHasBeenSet =
true; m_snsTopicName.assign(value); }
136 inline void SetIsMultiRegionTrail(
bool value) { m_isMultiRegionTrailHasBeenSet =
true; m_isMultiRegionTrail = value; }
169 inline void SetCloudWatchLogsLogGroupArn(
const char* value) { m_cloudWatchLogsLogGroupArnHasBeenSet =
true; m_cloudWatchLogsLogGroupArn.assign(value); }
184 inline void SetCloudWatchLogsRoleArn(
const char* value) { m_cloudWatchLogsRoleArnHasBeenSet =
true; m_cloudWatchLogsRoleArn.assign(value); }
208 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
231 inline void SetIsOrganizationTrail(
bool value) { m_isOrganizationTrailHasBeenSet =
true; m_isOrganizationTrail = value; }
237 bool m_nameHasBeenSet =
false;
240 bool m_s3BucketNameHasBeenSet =
false;
243 bool m_s3KeyPrefixHasBeenSet =
false;
246 bool m_snsTopicNameHasBeenSet =
false;
248 bool m_includeGlobalServiceEvents;
249 bool m_includeGlobalServiceEventsHasBeenSet =
false;
251 bool m_isMultiRegionTrail;
252 bool m_isMultiRegionTrailHasBeenSet =
false;
254 bool m_enableLogFileValidation;
255 bool m_enableLogFileValidationHasBeenSet =
false;
258 bool m_cloudWatchLogsLogGroupArnHasBeenSet =
false;
261 bool m_cloudWatchLogsRoleArnHasBeenSet =
false;
264 bool m_kmsKeyIdHasBeenSet =
false;
266 bool m_isOrganizationTrail;
267 bool m_isOrganizationTrailHasBeenSet =
false;
UpdateTrailRequest & WithName(Aws::String &&value)
void SetSnsTopicName(const Aws::String &value)
void SetCloudWatchLogsRoleArn(Aws::String &&value)
bool NameHasBeenSet() const
AWS_CLOUDTRAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetSnsTopicName() const
bool CloudWatchLogsLogGroupArnHasBeenSet() const
const Aws::String & GetCloudWatchLogsRoleArn() const
void SetIsMultiRegionTrail(bool value)
void SetCloudWatchLogsLogGroupArn(const Aws::String &value)
bool KmsKeyIdHasBeenSet() const
void SetS3KeyPrefix(Aws::String &&value)
bool GetIsMultiRegionTrail() const
const Aws::String & GetS3BucketName() const
void SetS3KeyPrefix(const Aws::String &value)
bool CloudWatchLogsRoleArnHasBeenSet() const
void SetName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateTrailRequest & WithIncludeGlobalServiceEvents(bool value)
UpdateTrailRequest & WithCloudWatchLogsLogGroupArn(const Aws::String &value)
void SetCloudWatchLogsRoleArn(const Aws::String &value)
UpdateTrailRequest & WithCloudWatchLogsLogGroupArn(Aws::String &&value)
void SetKmsKeyId(const char *value)
void SetIncludeGlobalServiceEvents(bool value)
const Aws::String & GetS3KeyPrefix() const
UpdateTrailRequest & WithCloudWatchLogsRoleArn(const char *value)
void SetEnableLogFileValidation(bool value)
bool IsOrganizationTrailHasBeenSet() const
bool GetEnableLogFileValidation() const
void SetS3BucketName(const char *value)
void SetName(const char *value)
const Aws::String & GetCloudWatchLogsLogGroupArn() const
AWS_CLOUDTRAIL_API UpdateTrailRequest()
AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override
void SetName(Aws::String &&value)
UpdateTrailRequest & WithCloudWatchLogsRoleArn(const Aws::String &value)
bool EnableLogFileValidationHasBeenSet() const
bool SnsTopicNameHasBeenSet() const
void SetSnsTopicName(Aws::String &&value)
bool GetIncludeGlobalServiceEvents() const
void SetS3BucketName(Aws::String &&value)
bool S3KeyPrefixHasBeenSet() const
UpdateTrailRequest & WithS3BucketName(const Aws::String &value)
void SetCloudWatchLogsRoleArn(const char *value)
UpdateTrailRequest & WithCloudWatchLogsRoleArn(Aws::String &&value)
bool GetIsOrganizationTrail() const
const Aws::String & GetName() const
const Aws::String & GetKmsKeyId() const
UpdateTrailRequest & WithCloudWatchLogsLogGroupArn(const char *value)
UpdateTrailRequest & WithSnsTopicName(const char *value)
UpdateTrailRequest & WithIsOrganizationTrail(bool value)
void SetKmsKeyId(Aws::String &&value)
UpdateTrailRequest & WithName(const char *value)
void SetKmsKeyId(const Aws::String &value)
void SetS3KeyPrefix(const char *value)
void SetSnsTopicName(const char *value)
UpdateTrailRequest & WithS3BucketName(Aws::String &&value)
UpdateTrailRequest & WithS3KeyPrefix(Aws::String &&value)
UpdateTrailRequest & WithName(const Aws::String &value)
void SetCloudWatchLogsLogGroupArn(const char *value)
UpdateTrailRequest & WithS3BucketName(const char *value)
UpdateTrailRequest & WithSnsTopicName(const Aws::String &value)
UpdateTrailRequest & WithKmsKeyId(Aws::String &&value)
void SetS3BucketName(const Aws::String &value)
bool IncludeGlobalServiceEventsHasBeenSet() const
bool IsMultiRegionTrailHasBeenSet() const
UpdateTrailRequest & WithKmsKeyId(const Aws::String &value)
UpdateTrailRequest & WithKmsKeyId(const char *value)
void SetIsOrganizationTrail(bool value)
UpdateTrailRequest & WithS3KeyPrefix(const char *value)
UpdateTrailRequest & WithIsMultiRegionTrail(bool value)
void SetCloudWatchLogsLogGroupArn(Aws::String &&value)
UpdateTrailRequest & WithSnsTopicName(Aws::String &&value)
bool S3BucketNameHasBeenSet() const
UpdateTrailRequest & WithEnableLogFileValidation(bool value)
UpdateTrailRequest & WithS3KeyPrefix(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String