7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetCloudWatchLogsLogGroupArn(
const char* value) { m_cloudWatchLogsLogGroupArnHasBeenSet =
true; m_cloudWatchLogsLogGroupArn.assign(value); }
63 inline void SetCloudWatchLogsRoleArn(
const char* value) { m_cloudWatchLogsRoleArnHasBeenSet =
true; m_cloudWatchLogsRoleArn.assign(value); }
87 inline void SetHomeRegion(
const char* value) { m_homeRegionHasBeenSet =
true; m_homeRegion.assign(value); }
111 inline void SetIsMultiRegionTrail(
bool value) { m_isMultiRegionTrailHasBeenSet =
true; m_isMultiRegionTrail = value; }
122 inline void SetIsOrganizationTrail(
bool value) { m_isOrganizationTrailHasBeenSet =
true; m_isOrganizationTrail = value; }
134 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
158 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
172 inline void SetS3BucketName(
const char* value) { m_s3BucketNameHasBeenSet =
true; m_s3BucketName.assign(value); }
187 inline void SetS3KeyPrefix(
const char* value) { m_s3KeyPrefixHasBeenSet =
true; m_s3KeyPrefix.assign(value); }
202 inline void SetSnsTopicArn(
const char* value) { m_snsTopicArnHasBeenSet =
true; m_snsTopicArn.assign(value); }
217 inline void SetSnsTopicName(
const char* value) { m_snsTopicNameHasBeenSet =
true; m_snsTopicName.assign(value); }
231 inline void SetTrailArn(
const char* value) { m_trailArnHasBeenSet =
true; m_trailArn.assign(value); }
239 bool m_cloudWatchLogsLogGroupArnHasBeenSet =
false;
242 bool m_cloudWatchLogsRoleArnHasBeenSet =
false;
244 bool m_hasCustomEventSelectors;
245 bool m_hasCustomEventSelectorsHasBeenSet =
false;
248 bool m_homeRegionHasBeenSet =
false;
250 bool m_includeGlobalServiceEvents;
251 bool m_includeGlobalServiceEventsHasBeenSet =
false;
253 bool m_isMultiRegionTrail;
254 bool m_isMultiRegionTrailHasBeenSet =
false;
256 bool m_isOrganizationTrail;
257 bool m_isOrganizationTrailHasBeenSet =
false;
260 bool m_kmsKeyIdHasBeenSet =
false;
262 bool m_logFileValidationEnabled;
263 bool m_logFileValidationEnabledHasBeenSet =
false;
266 bool m_nameHasBeenSet =
false;
269 bool m_s3BucketNameHasBeenSet =
false;
272 bool m_s3KeyPrefixHasBeenSet =
false;
275 bool m_snsTopicArnHasBeenSet =
false;
278 bool m_snsTopicNameHasBeenSet =
false;
281 bool m_trailArnHasBeenSet =
false;
void SetTrailArn(Aws::String &&value)
void SetKmsKeyId(const char *value)
bool S3KeyPrefixHasBeenSet() const
void SetS3KeyPrefix(const char *value)
AwsCloudTrailTrailDetails & WithS3BucketName(const Aws::String &value)
void SetSnsTopicName(Aws::String &&value)
AwsCloudTrailTrailDetails & WithSnsTopicArn(const Aws::String &value)
AwsCloudTrailTrailDetails & WithCloudWatchLogsRoleArn(const Aws::String &value)
AwsCloudTrailTrailDetails & WithCloudWatchLogsRoleArn(const char *value)
bool TrailArnHasBeenSet() const
bool SnsTopicArnHasBeenSet() const
void SetCloudWatchLogsRoleArn(const Aws::String &value)
void SetKmsKeyId(Aws::String &&value)
void SetS3KeyPrefix(Aws::String &&value)
AwsCloudTrailTrailDetails & WithHasCustomEventSelectors(bool value)
AwsCloudTrailTrailDetails & WithS3BucketName(Aws::String &&value)
AWS_SECURITYHUB_API AwsCloudTrailTrailDetails()
AwsCloudTrailTrailDetails & WithHomeRegion(const char *value)
AwsCloudTrailTrailDetails & WithSnsTopicName(Aws::String &&value)
const Aws::String & GetS3KeyPrefix() const
void SetTrailArn(const Aws::String &value)
AwsCloudTrailTrailDetails & WithS3KeyPrefix(Aws::String &&value)
bool GetIsOrganizationTrail() const
void SetIsOrganizationTrail(bool value)
bool LogFileValidationEnabledHasBeenSet() const
void SetName(const Aws::String &value)
const Aws::String & GetKmsKeyId() const
void SetS3KeyPrefix(const Aws::String &value)
void SetHasCustomEventSelectors(bool value)
AwsCloudTrailTrailDetails & WithHomeRegion(const Aws::String &value)
AwsCloudTrailTrailDetails & WithSnsTopicName(const char *value)
bool CloudWatchLogsLogGroupArnHasBeenSet() const
void SetS3BucketName(const Aws::String &value)
void SetS3BucketName(const char *value)
AwsCloudTrailTrailDetails & WithCloudWatchLogsLogGroupArn(const char *value)
bool SnsTopicNameHasBeenSet() const
bool IsOrganizationTrailHasBeenSet() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSnsTopicArn(Aws::String &&value)
AwsCloudTrailTrailDetails & WithIncludeGlobalServiceEvents(bool value)
AwsCloudTrailTrailDetails & WithTrailArn(const char *value)
bool HasCustomEventSelectorsHasBeenSet() const
void SetS3BucketName(Aws::String &&value)
AwsCloudTrailTrailDetails & WithS3KeyPrefix(const char *value)
AwsCloudTrailTrailDetails & WithSnsTopicName(const Aws::String &value)
bool NameHasBeenSet() const
AwsCloudTrailTrailDetails & WithIsOrganizationTrail(bool value)
const Aws::String & GetCloudWatchLogsLogGroupArn() const
void SetName(Aws::String &&value)
bool GetHasCustomEventSelectors() const
const Aws::String & GetHomeRegion() const
void SetSnsTopicArn(const Aws::String &value)
AwsCloudTrailTrailDetails & WithIsMultiRegionTrail(bool value)
AwsCloudTrailTrailDetails & WithTrailArn(Aws::String &&value)
void SetKmsKeyId(const Aws::String &value)
void SetSnsTopicName(const char *value)
const Aws::String & GetTrailArn() const
AWS_SECURITYHUB_API AwsCloudTrailTrailDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCloudWatchLogsLogGroupArn(const Aws::String &value)
void SetCloudWatchLogsLogGroupArn(Aws::String &&value)
const Aws::String & GetCloudWatchLogsRoleArn() const
void SetSnsTopicName(const Aws::String &value)
AwsCloudTrailTrailDetails & WithCloudWatchLogsLogGroupArn(Aws::String &&value)
AwsCloudTrailTrailDetails & WithName(const char *value)
AwsCloudTrailTrailDetails & WithCloudWatchLogsLogGroupArn(const Aws::String &value)
void SetCloudWatchLogsRoleArn(const char *value)
void SetIncludeGlobalServiceEvents(bool value)
AwsCloudTrailTrailDetails & WithKmsKeyId(const Aws::String &value)
bool HomeRegionHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
AwsCloudTrailTrailDetails & WithS3BucketName(const char *value)
bool CloudWatchLogsRoleArnHasBeenSet() const
void SetIsMultiRegionTrail(bool value)
AwsCloudTrailTrailDetails & WithSnsTopicArn(const char *value)
AwsCloudTrailTrailDetails & WithS3KeyPrefix(const Aws::String &value)
AWS_SECURITYHUB_API AwsCloudTrailTrailDetails(Aws::Utils::Json::JsonView jsonValue)
void SetHomeRegion(const Aws::String &value)
void SetSnsTopicArn(const char *value)
const Aws::String & GetSnsTopicArn() const
AwsCloudTrailTrailDetails & WithKmsKeyId(const char *value)
bool GetIsMultiRegionTrail() const
void SetCloudWatchLogsLogGroupArn(const char *value)
AwsCloudTrailTrailDetails & WithName(Aws::String &&value)
bool IncludeGlobalServiceEventsHasBeenSet() const
void SetHomeRegion(const char *value)
bool GetIncludeGlobalServiceEvents() const
AwsCloudTrailTrailDetails & WithHomeRegion(Aws::String &&value)
AwsCloudTrailTrailDetails & WithCloudWatchLogsRoleArn(Aws::String &&value)
AwsCloudTrailTrailDetails & WithLogFileValidationEnabled(bool value)
AwsCloudTrailTrailDetails & WithSnsTopicArn(Aws::String &&value)
AwsCloudTrailTrailDetails & WithName(const Aws::String &value)
bool IsMultiRegionTrailHasBeenSet() const
const Aws::String & GetSnsTopicName() const
const Aws::String & GetName() const
void SetLogFileValidationEnabled(bool value)
const Aws::String & GetS3BucketName() const
void SetHomeRegion(Aws::String &&value)
bool S3BucketNameHasBeenSet() const
void SetName(const char *value)
AwsCloudTrailTrailDetails & WithTrailArn(const Aws::String &value)
void SetTrailArn(const char *value)
bool GetLogFileValidationEnabled() const
void SetCloudWatchLogsRoleArn(Aws::String &&value)
AwsCloudTrailTrailDetails & WithKmsKeyId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue