7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
40 template <
typename CloudWatchLogsLogGroupArnT = Aws::String>
42 m_cloudWatchLogsLogGroupArnHasBeenSet =
true;
43 m_cloudWatchLogsLogGroupArn = std::forward<CloudWatchLogsLogGroupArnT>(value);
45 template <
typename CloudWatchLogsLogGroupArnT = Aws::String>
59 template <
typename CloudWatchLogsRoleArnT = Aws::String>
61 m_cloudWatchLogsRoleArnHasBeenSet =
true;
62 m_cloudWatchLogsRoleArn = std::forward<CloudWatchLogsRoleArnT>(value);
64 template <
typename CloudWatchLogsRoleArnT = Aws::String>
78 m_hasCustomEventSelectorsHasBeenSet =
true;
79 m_hasCustomEventSelectors = value;
93 template <
typename HomeRegionT = Aws::String>
95 m_homeRegionHasBeenSet =
true;
96 m_homeRegion = std::forward<HomeRegionT>(value);
98 template <
typename HomeRegionT = Aws::String>
113 m_includeGlobalServiceEventsHasBeenSet =
true;
114 m_includeGlobalServiceEvents = value;
130 m_isMultiRegionTrailHasBeenSet =
true;
131 m_isMultiRegionTrail = value;
147 m_isOrganizationTrailHasBeenSet =
true;
148 m_isOrganizationTrail = value;
162 template <
typename KmsKeyIdT = Aws::String>
164 m_kmsKeyIdHasBeenSet =
true;
165 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
167 template <
typename KmsKeyIdT = Aws::String>
181 m_logFileValidationEnabledHasBeenSet =
true;
182 m_logFileValidationEnabled = value;
196 template <
typename NameT = Aws::String>
198 m_nameHasBeenSet =
true;
199 m_name = std::forward<NameT>(value);
201 template <
typename NameT = Aws::String>
203 SetName(std::forward<NameT>(value));
214 template <
typename S3BucketNameT = Aws::String>
216 m_s3BucketNameHasBeenSet =
true;
217 m_s3BucketName = std::forward<S3BucketNameT>(value);
219 template <
typename S3BucketNameT = Aws::String>
233 template <
typename S3KeyPrefixT = Aws::String>
235 m_s3KeyPrefixHasBeenSet =
true;
236 m_s3KeyPrefix = std::forward<S3KeyPrefixT>(value);
238 template <
typename S3KeyPrefixT = Aws::String>
252 template <
typename SnsTopicArnT = Aws::String>
254 m_snsTopicArnHasBeenSet =
true;
255 m_snsTopicArn = std::forward<SnsTopicArnT>(value);
257 template <
typename SnsTopicArnT = Aws::String>
271 template <
typename SnsTopicNameT = Aws::String>
273 m_snsTopicNameHasBeenSet =
true;
274 m_snsTopicName = std::forward<SnsTopicNameT>(value);
276 template <
typename SnsTopicNameT = Aws::String>
289 template <
typename TrailArnT = Aws::String>
291 m_trailArnHasBeenSet =
true;
292 m_trailArn = std::forward<TrailArnT>(value);
294 template <
typename TrailArnT = Aws::String>
305 bool m_hasCustomEventSelectors{
false};
309 bool m_includeGlobalServiceEvents{
false};
311 bool m_isMultiRegionTrail{
false};
313 bool m_isOrganizationTrail{
false};
317 bool m_logFileValidationEnabled{
false};
330 bool m_cloudWatchLogsLogGroupArnHasBeenSet =
false;
331 bool m_cloudWatchLogsRoleArnHasBeenSet =
false;
332 bool m_hasCustomEventSelectorsHasBeenSet =
false;
333 bool m_homeRegionHasBeenSet =
false;
334 bool m_includeGlobalServiceEventsHasBeenSet =
false;
335 bool m_isMultiRegionTrailHasBeenSet =
false;
336 bool m_isOrganizationTrailHasBeenSet =
false;
337 bool m_kmsKeyIdHasBeenSet =
false;
338 bool m_logFileValidationEnabledHasBeenSet =
false;
339 bool m_nameHasBeenSet =
false;
340 bool m_s3BucketNameHasBeenSet =
false;
341 bool m_s3KeyPrefixHasBeenSet =
false;
342 bool m_snsTopicArnHasBeenSet =
false;
343 bool m_snsTopicNameHasBeenSet =
false;
344 bool m_trailArnHasBeenSet =
false;
bool S3KeyPrefixHasBeenSet() const
void SetS3BucketName(S3BucketNameT &&value)
AwsCloudTrailTrailDetails & WithKmsKeyId(KmsKeyIdT &&value)
bool TrailArnHasBeenSet() const
bool SnsTopicArnHasBeenSet() const
void SetHomeRegion(HomeRegionT &&value)
void SetName(NameT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
AwsCloudTrailTrailDetails & WithHasCustomEventSelectors(bool value)
const Aws::String & GetS3KeyPrefix() const
bool GetIsOrganizationTrail() const
void SetIsOrganizationTrail(bool value)
bool LogFileValidationEnabledHasBeenSet() const
const Aws::String & GetKmsKeyId() const
void SetHasCustomEventSelectors(bool value)
void SetSnsTopicName(SnsTopicNameT &&value)
bool CloudWatchLogsLogGroupArnHasBeenSet() const
AwsCloudTrailTrailDetails & WithSnsTopicName(SnsTopicNameT &&value)
bool SnsTopicNameHasBeenSet() const
bool IsOrganizationTrailHasBeenSet() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsCloudTrailTrailDetails()=default
AwsCloudTrailTrailDetails & WithIncludeGlobalServiceEvents(bool value)
AwsCloudTrailTrailDetails & WithName(NameT &&value)
bool HasCustomEventSelectorsHasBeenSet() const
AwsCloudTrailTrailDetails & WithHomeRegion(HomeRegionT &&value)
AwsCloudTrailTrailDetails & WithCloudWatchLogsLogGroupArn(CloudWatchLogsLogGroupArnT &&value)
bool NameHasBeenSet() const
AwsCloudTrailTrailDetails & WithIsOrganizationTrail(bool value)
const Aws::String & GetCloudWatchLogsLogGroupArn() const
void SetCloudWatchLogsLogGroupArn(CloudWatchLogsLogGroupArnT &&value)
AwsCloudTrailTrailDetails & WithS3KeyPrefix(S3KeyPrefixT &&value)
bool GetHasCustomEventSelectors() const
const Aws::String & GetHomeRegion() const
AwsCloudTrailTrailDetails & WithIsMultiRegionTrail(bool value)
const Aws::String & GetTrailArn() const
AWS_SECURITYHUB_API AwsCloudTrailTrailDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsCloudTrailTrailDetails & WithSnsTopicArn(SnsTopicArnT &&value)
void SetCloudWatchLogsRoleArn(CloudWatchLogsRoleArnT &&value)
const Aws::String & GetCloudWatchLogsRoleArn() const
AwsCloudTrailTrailDetails & WithTrailArn(TrailArnT &&value)
void SetIncludeGlobalServiceEvents(bool value)
bool HomeRegionHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
bool CloudWatchLogsRoleArnHasBeenSet() const
void SetIsMultiRegionTrail(bool value)
AWS_SECURITYHUB_API AwsCloudTrailTrailDetails(Aws::Utils::Json::JsonView jsonValue)
void SetS3KeyPrefix(S3KeyPrefixT &&value)
const Aws::String & GetSnsTopicArn() const
void SetSnsTopicArn(SnsTopicArnT &&value)
bool GetIsMultiRegionTrail() const
bool IncludeGlobalServiceEventsHasBeenSet() const
bool GetIncludeGlobalServiceEvents() const
AwsCloudTrailTrailDetails & WithLogFileValidationEnabled(bool value)
bool IsMultiRegionTrailHasBeenSet() const
void SetTrailArn(TrailArnT &&value)
const Aws::String & GetSnsTopicName() const
const Aws::String & GetName() const
AwsCloudTrailTrailDetails & WithCloudWatchLogsRoleArn(CloudWatchLogsRoleArnT &&value)
void SetLogFileValidationEnabled(bool value)
const Aws::String & GetS3BucketName() const
bool S3BucketNameHasBeenSet() const
AwsCloudTrailTrailDetails & WithS3BucketName(S3BucketNameT &&value)
bool GetLogFileValidationEnabled() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue