7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
66 inline void SetS3BucketName(
const char* value) { m_s3BucketNameHasBeenSet =
true; m_s3BucketName.assign(value); }
83 inline void SetS3KeyPrefix(
const char* value) { m_s3KeyPrefixHasBeenSet =
true; m_s3KeyPrefix.assign(value); }
99 inline void SetSnsTopicARN(
const char* value) { m_snsTopicARNHasBeenSet =
true; m_snsTopicARN.assign(value); }
123 inline void SetIsMultiRegionTrail(
bool value) { m_isMultiRegionTrailHasBeenSet =
true; m_isMultiRegionTrail = value; }
135 inline void SetHomeRegion(
const char* value) { m_homeRegionHasBeenSet =
true; m_homeRegion.assign(value); }
151 inline void SetTrailARN(
const char* value) { m_trailARNHasBeenSet =
true; m_trailARN.assign(value); }
176 inline void SetCloudWatchLogsLogGroupArn(
const char* value) { m_cloudWatchLogsLogGroupArnHasBeenSet =
true; m_cloudWatchLogsLogGroupArn.assign(value); }
191 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 SetHasInsightSelectors(
bool value) { m_hasInsightSelectorsHasBeenSet =
true; m_hasInsightSelectors = value; }
241 inline void SetIsOrganizationTrail(
bool value) { m_isOrganizationTrailHasBeenSet =
true; m_isOrganizationTrail = value; }
247 bool m_nameHasBeenSet =
false;
250 bool m_s3BucketNameHasBeenSet =
false;
253 bool m_s3KeyPrefixHasBeenSet =
false;
256 bool m_snsTopicARNHasBeenSet =
false;
258 bool m_includeGlobalServiceEvents;
259 bool m_includeGlobalServiceEventsHasBeenSet =
false;
261 bool m_isMultiRegionTrail;
262 bool m_isMultiRegionTrailHasBeenSet =
false;
265 bool m_homeRegionHasBeenSet =
false;
268 bool m_trailARNHasBeenSet =
false;
270 bool m_logFileValidationEnabled;
271 bool m_logFileValidationEnabledHasBeenSet =
false;
274 bool m_cloudWatchLogsLogGroupArnHasBeenSet =
false;
277 bool m_cloudWatchLogsRoleArnHasBeenSet =
false;
280 bool m_kmsKeyIdHasBeenSet =
false;
282 bool m_hasCustomEventSelectors;
283 bool m_hasCustomEventSelectorsHasBeenSet =
false;
285 bool m_hasInsightSelectors;
286 bool m_hasInsightSelectorsHasBeenSet =
false;
288 bool m_isOrganizationTrail;
289 bool m_isOrganizationTrailHasBeenSet =
false;
void SetS3BucketName(const Aws::String &value)
void SetS3BucketName(Aws::String &&value)
void SetIsMultiRegionTrail(bool value)
bool HasCustomEventSelectorsHasBeenSet() const
Trail & WithIsMultiRegionTrail(bool value)
bool CloudWatchLogsLogGroupArnHasBeenSet() const
Trail & WithS3BucketName(const char *value)
const Aws::String & GetHomeRegion() const
void SetS3KeyPrefix(Aws::String &&value)
bool GetIsOrganizationTrail() const
void SetCloudWatchLogsLogGroupArn(Aws::String &&value)
Trail & WithSnsTopicARN(Aws::String &&value)
const Aws::String & GetName() const
void SetTrailARN(const char *value)
bool HomeRegionHasBeenSet() const
Trail & WithTrailARN(Aws::String &&value)
Trail & WithHomeRegion(Aws::String &&value)
void SetIsOrganizationTrail(bool value)
void SetS3KeyPrefix(const char *value)
Trail & WithHasInsightSelectors(bool value)
Trail & WithSnsTopicARN(const char *value)
const Aws::String & GetKmsKeyId() const
Trail & WithS3BucketName(const Aws::String &value)
AWS_CLOUDTRAIL_API Trail & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCloudWatchLogsRoleArn() const
bool KmsKeyIdHasBeenSet() const
bool GetHasCustomEventSelectors() const
Trail & WithTrailARN(const char *value)
Trail & WithS3BucketName(Aws::String &&value)
bool IncludeGlobalServiceEventsHasBeenSet() const
const Aws::String & GetTrailARN() const
void SetCloudWatchLogsRoleArn(Aws::String &&value)
Trail & WithLogFileValidationEnabled(bool value)
Trail & WithCloudWatchLogsRoleArn(const char *value)
Trail & WithCloudWatchLogsLogGroupArn(const char *value)
Trail & WithTrailARN(const Aws::String &value)
Trail & WithS3KeyPrefix(Aws::String &&value)
Trail & WithName(const Aws::String &value)
const Aws::String & GetSnsTopicARN() const
bool HasInsightSelectorsHasBeenSet() const
void SetHasCustomEventSelectors(bool value)
Trail & WithKmsKeyId(const Aws::String &value)
Trail & WithHomeRegion(const Aws::String &value)
void SetName(const char *value)
const Aws::String & GetCloudWatchLogsLogGroupArn() const
void SetSnsTopicARN(const Aws::String &value)
bool GetHasInsightSelectors() const
bool GetLogFileValidationEnabled() const
void SetS3KeyPrefix(const Aws::String &value)
void SetName(const Aws::String &value)
Trail & WithCloudWatchLogsRoleArn(Aws::String &&value)
void SetKmsKeyId(Aws::String &&value)
Trail & WithCloudWatchLogsLogGroupArn(Aws::String &&value)
Trail & WithName(Aws::String &&value)
void SetLogFileValidationEnabled(bool value)
Trail & WithKmsKeyId(Aws::String &&value)
Trail & WithIncludeGlobalServiceEvents(bool value)
void SetKmsKeyId(const Aws::String &value)
void SetSnsTopicARN(Aws::String &&value)
bool LogFileValidationEnabledHasBeenSet() const
bool NameHasBeenSet() const
Trail & WithS3KeyPrefix(const Aws::String &value)
void SetTrailARN(Aws::String &&value)
Trail & WithIsOrganizationTrail(bool value)
void SetKmsKeyId(const char *value)
bool S3KeyPrefixHasBeenSet() const
Trail & WithHasCustomEventSelectors(bool value)
void SetHomeRegion(const char *value)
Trail & WithS3KeyPrefix(const char *value)
void SetHomeRegion(const Aws::String &value)
void SetCloudWatchLogsRoleArn(const Aws::String &value)
void SetSnsTopicARN(const char *value)
void SetName(Aws::String &&value)
Trail & WithName(const char *value)
void SetHasInsightSelectors(bool value)
AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const
Trail & WithCloudWatchLogsLogGroupArn(const Aws::String &value)
bool SnsTopicARNHasBeenSet() const
bool IsMultiRegionTrailHasBeenSet() const
Trail & WithCloudWatchLogsRoleArn(const Aws::String &value)
const Aws::String & GetS3KeyPrefix() const
void SetCloudWatchLogsLogGroupArn(const char *value)
Trail & WithSnsTopicARN(const Aws::String &value)
bool S3BucketNameHasBeenSet() const
void SetCloudWatchLogsRoleArn(const char *value)
bool GetIncludeGlobalServiceEvents() const
Trail & WithHomeRegion(const char *value)
const Aws::String & GetS3BucketName() const
void SetCloudWatchLogsLogGroupArn(const Aws::String &value)
void SetIncludeGlobalServiceEvents(bool value)
void SetTrailARN(const Aws::String &value)
void SetHomeRegion(Aws::String &&value)
AWS_CLOUDTRAIL_API Trail(Aws::Utils::Json::JsonView jsonValue)
Trail & WithKmsKeyId(const char *value)
bool CloudWatchLogsRoleArnHasBeenSet() const
void SetS3BucketName(const char *value)
bool IsOrganizationTrailHasBeenSet() const
bool GetIsMultiRegionTrail() const
bool TrailARNHasBeenSet() const
AWS_CLOUDTRAIL_API Trail()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue