7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/CloudTrailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/cloudtrail/model/Tag.h>
57 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
74 inline void SetS3BucketName(
const char* value) { m_s3BucketNameHasBeenSet =
true; m_s3BucketName.assign(value); }
91 inline void SetS3KeyPrefix(
const char* value) { m_s3KeyPrefixHasBeenSet =
true; m_s3KeyPrefix.assign(value); }
106 inline void SetSnsTopicName(
const char* value) { m_snsTopicNameHasBeenSet =
true; m_snsTopicName.assign(value); }
132 inline void SetIsMultiRegionTrail(
bool value) { m_isMultiRegionTrailHasBeenSet =
true; m_isMultiRegionTrail = value; }
165 inline void SetCloudWatchLogsLogGroupArn(
const char* value) { m_cloudWatchLogsLogGroupArnHasBeenSet =
true; m_cloudWatchLogsLogGroupArn.assign(value); }
180 inline void SetCloudWatchLogsRoleArn(
const char* value) { m_cloudWatchLogsRoleArnHasBeenSet =
true; m_cloudWatchLogsRoleArn.assign(value); }
206 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
222 inline void SetIsOrganizationTrail(
bool value) { m_isOrganizationTrailHasBeenSet =
true; m_isOrganizationTrail = value; }
240 bool m_nameHasBeenSet =
false;
243 bool m_s3BucketNameHasBeenSet =
false;
246 bool m_s3KeyPrefixHasBeenSet =
false;
249 bool m_snsTopicNameHasBeenSet =
false;
251 bool m_includeGlobalServiceEvents;
252 bool m_includeGlobalServiceEventsHasBeenSet =
false;
254 bool m_isMultiRegionTrail;
255 bool m_isMultiRegionTrailHasBeenSet =
false;
257 bool m_enableLogFileValidation;
258 bool m_enableLogFileValidationHasBeenSet =
false;
261 bool m_cloudWatchLogsLogGroupArnHasBeenSet =
false;
264 bool m_cloudWatchLogsRoleArnHasBeenSet =
false;
267 bool m_kmsKeyIdHasBeenSet =
false;
269 bool m_isOrganizationTrail;
270 bool m_isOrganizationTrailHasBeenSet =
false;
273 bool m_tagsListHasBeenSet =
false;
CreateTrailRequest & WithEnableLogFileValidation(bool value)
void SetSnsTopicName(const char *value)
bool SnsTopicNameHasBeenSet() const
bool GetIsOrganizationTrail() const
bool CloudWatchLogsLogGroupArnHasBeenSet() const
bool IsOrganizationTrailHasBeenSet() const
void SetKmsKeyId(Aws::String &&value)
void SetName(const Aws::String &value)
CreateTrailRequest & WithCloudWatchLogsLogGroupArn(const char *value)
void SetSnsTopicName(Aws::String &&value)
void SetCloudWatchLogsLogGroupArn(const char *value)
const Aws::String & GetKmsKeyId() const
bool GetIsMultiRegionTrail() const
AWS_CLOUDTRAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateTrailRequest & WithS3KeyPrefix(const Aws::String &value)
bool S3KeyPrefixHasBeenSet() const
bool S3BucketNameHasBeenSet() const
CreateTrailRequest & WithCloudWatchLogsRoleArn(const Aws::String &value)
CreateTrailRequest & WithKmsKeyId(Aws::String &&value)
void SetTagsList(const Aws::Vector< Tag > &value)
void SetIsMultiRegionTrail(bool value)
CreateTrailRequest & WithKmsKeyId(const char *value)
void SetCloudWatchLogsLogGroupArn(const Aws::String &value)
void SetName(Aws::String &&value)
const Aws::Vector< Tag > & GetTagsList() const
CreateTrailRequest & WithS3KeyPrefix(Aws::String &&value)
CreateTrailRequest & WithIsOrganizationTrail(bool value)
CreateTrailRequest & WithCloudWatchLogsRoleArn(const char *value)
CreateTrailRequest & WithS3BucketName(const char *value)
CreateTrailRequest & WithCloudWatchLogsRoleArn(Aws::String &&value)
CreateTrailRequest & WithCloudWatchLogsLogGroupArn(Aws::String &&value)
CreateTrailRequest & WithS3KeyPrefix(const char *value)
const Aws::String & GetName() const
bool CloudWatchLogsRoleArnHasBeenSet() const
void SetS3BucketName(Aws::String &&value)
CreateTrailRequest & WithSnsTopicName(const char *value)
void SetEnableLogFileValidation(bool value)
void SetCloudWatchLogsRoleArn(const char *value)
CreateTrailRequest & WithIncludeGlobalServiceEvents(bool value)
bool KmsKeyIdHasBeenSet() const
CreateTrailRequest & AddTagsList(Tag &&value)
AWS_CLOUDTRAIL_API CreateTrailRequest()
CreateTrailRequest & WithTagsList(Aws::Vector< Tag > &&value)
CreateTrailRequest & WithTagsList(const Aws::Vector< Tag > &value)
bool GetIncludeGlobalServiceEvents() const
void SetSnsTopicName(const Aws::String &value)
AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override
void SetIsOrganizationTrail(bool value)
bool NameHasBeenSet() const
bool EnableLogFileValidationHasBeenSet() const
void SetS3BucketName(const Aws::String &value)
CreateTrailRequest & WithKmsKeyId(const Aws::String &value)
bool GetEnableLogFileValidation() const
CreateTrailRequest & WithIsMultiRegionTrail(bool value)
CreateTrailRequest & WithName(Aws::String &&value)
CreateTrailRequest & WithCloudWatchLogsLogGroupArn(const Aws::String &value)
void SetS3BucketName(const char *value)
void SetTagsList(Aws::Vector< Tag > &&value)
bool TagsListHasBeenSet() const
const Aws::String & GetCloudWatchLogsRoleArn() const
CreateTrailRequest & WithS3BucketName(Aws::String &&value)
const Aws::String & GetS3KeyPrefix() const
CreateTrailRequest & AddTagsList(const Tag &value)
void SetCloudWatchLogsRoleArn(Aws::String &&value)
void SetKmsKeyId(const char *value)
CreateTrailRequest & WithName(const Aws::String &value)
bool IncludeGlobalServiceEventsHasBeenSet() const
void SetS3KeyPrefix(const char *value)
const Aws::String & GetCloudWatchLogsLogGroupArn() const
void SetCloudWatchLogsLogGroupArn(Aws::String &&value)
void SetIncludeGlobalServiceEvents(bool value)
CreateTrailRequest & WithName(const char *value)
void SetKmsKeyId(const Aws::String &value)
CreateTrailRequest & WithS3BucketName(const Aws::String &value)
bool IsMultiRegionTrailHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetName(const char *value)
void SetS3KeyPrefix(Aws::String &&value)
void SetS3KeyPrefix(const Aws::String &value)
const Aws::String & GetS3BucketName() const
void SetCloudWatchLogsRoleArn(const Aws::String &value)
const Aws::String & GetSnsTopicName() const
CreateTrailRequest & WithSnsTopicName(const Aws::String &value)
CreateTrailRequest & WithSnsTopicName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector