84 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
152 inline void SetS3BucketName(
const char* value) { m_s3BucketNameHasBeenSet =
true; m_s3BucketName.assign(value); }
208 inline void SetS3KeyPrefix(
const char* value) { m_s3KeyPrefixHasBeenSet =
true; m_s3KeyPrefix.assign(value); }
256 inline void SetSnsTopicName(
const char* value) { m_snsTopicNameHasBeenSet =
true; m_snsTopicName.assign(value); }
304 inline void SetIsMultiRegionTrail(
bool value) { m_isMultiRegionTrailHasBeenSet =
true; m_isMultiRegionTrail = value; }
377 inline void SetCloudWatchLogsLogGroupArn(
const char* value) { m_cloudWatchLogsLogGroupArnHasBeenSet =
true; m_cloudWatchLogsLogGroupArn.assign(value); }
422 inline void SetCloudWatchLogsRoleArn(
const char* value) { m_cloudWatchLogsRoleArnHasBeenSet =
true; m_cloudWatchLogsRoleArn.assign(value); }
484 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
521 bool m_nameHasBeenSet;
523 bool m_s3BucketNameHasBeenSet;
525 bool m_s3KeyPrefixHasBeenSet;
527 bool m_snsTopicNameHasBeenSet;
528 bool m_includeGlobalServiceEvents;
529 bool m_includeGlobalServiceEventsHasBeenSet;
530 bool m_isMultiRegionTrail;
531 bool m_isMultiRegionTrailHasBeenSet;
532 bool m_enableLogFileValidation;
533 bool m_enableLogFileValidationHasBeenSet;
535 bool m_cloudWatchLogsLogGroupArnHasBeenSet;
537 bool m_cloudWatchLogsRoleArnHasBeenSet;
539 bool m_kmsKeyIdHasBeenSet;
void SetName(const Aws::String &value)
void SetKmsKeyId(const Aws::String &value)
const Aws::String & GetKmsKeyId() const
void SetIsMultiRegionTrail(bool value)
CreateTrailRequest & WithCloudWatchLogsLogGroupArn(const Aws::String &value)
CreateTrailRequest & WithSnsTopicName(const char *value)
CreateTrailRequest & WithCloudWatchLogsRoleArn(const Aws::String &value)
void SetSnsTopicName(const Aws::String &value)
void SetSnsTopicName(Aws::String &&value)
CreateTrailRequest & WithCloudWatchLogsRoleArn(const char *value)
void SetName(const char *value)
void SetS3BucketName(const char *value)
void SetS3BucketName(const Aws::String &value)
void SetCloudWatchLogsRoleArn(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
CreateTrailRequest & WithCloudWatchLogsRoleArn(Aws::String &&value)
const Aws::String & GetCloudWatchLogsRoleArn() const
void SetKmsKeyId(Aws::String &&value)
CreateTrailRequest & WithS3BucketName(const char *value)
void SetCloudWatchLogsRoleArn(const char *value)
CreateTrailRequest & WithName(Aws::String &&value)
const Aws::String & GetSnsTopicName() const
CreateTrailRequest & WithIsMultiRegionTrail(bool value)
CreateTrailRequest & WithName(const Aws::String &value)
void SetCloudWatchLogsLogGroupArn(const char *value)
void SetEnableLogFileValidation(bool value)
const Aws::String & GetName() const
const Aws::String & GetS3KeyPrefix() const
CreateTrailRequest & WithKmsKeyId(const Aws::String &value)
CreateTrailRequest & WithS3BucketName(Aws::String &&value)
CreateTrailRequest & WithS3KeyPrefix(Aws::String &&value)
CreateTrailRequest & WithS3KeyPrefix(const Aws::String &value)
void SetS3KeyPrefix(const Aws::String &value)
CreateTrailRequest & WithIncludeGlobalServiceEvents(bool value)
void SetCloudWatchLogsLogGroupArn(const Aws::String &value)
void SetKmsKeyId(const char *value)
CreateTrailRequest & WithName(const char *value)
void SetCloudWatchLogsRoleArn(Aws::String &&value)
CreateTrailRequest & WithSnsTopicName(Aws::String &&value)
bool GetIncludeGlobalServiceEvents() const
CreateTrailRequest & WithS3KeyPrefix(const char *value)
void SetS3KeyPrefix(const char *value)
void SetName(Aws::String &&value)
void SetSnsTopicName(const char *value)
const Aws::String & GetS3BucketName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
CreateTrailRequest & WithSnsTopicName(const Aws::String &value)
const Aws::String & GetCloudWatchLogsLogGroupArn() const
#define AWS_CLOUDTRAIL_API
bool GetIsMultiRegionTrail() const
void SetCloudWatchLogsLogGroupArn(Aws::String &&value)
CreateTrailRequest & WithKmsKeyId(const char *value)
CreateTrailRequest & WithEnableLogFileValidation(bool value)
void SetS3BucketName(Aws::String &&value)
CreateTrailRequest & WithCloudWatchLogsLogGroupArn(Aws::String &&value)
CreateTrailRequest & WithKmsKeyId(Aws::String &&value)
CreateTrailRequest & WithS3BucketName(const Aws::String &value)
CreateTrailRequest & WithCloudWatchLogsLogGroupArn(const char *value)
void SetS3KeyPrefix(Aws::String &&value)
void SetIncludeGlobalServiceEvents(bool value)
bool GetEnableLogFileValidation() const
JSON (JavaScript Object Notation).