7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
13template<
typename RESULT_TYPE>
14class AmazonWebServiceResult;
48 inline void SetName(
const char* value) { m_name.assign(value); }
78 inline void SetS3KeyPrefix(
const char* value) { m_s3KeyPrefix.assign(value); }
93 inline void SetSnsTopicARN(
const char* value) { m_snsTopicARN.assign(value); }
127 inline void SetTrailARN(
const char* value) { m_trailARN.assign(value); }
180 inline void SetKmsKeyId(
const char* value) { m_kmsKeyId.assign(value); }
200 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
215 bool m_includeGlobalServiceEvents;
217 bool m_isMultiRegionTrail;
221 bool m_logFileValidationEnabled;
229 bool m_isOrganizationTrail;
void SetS3KeyPrefix(const char *value)
CreateTrailResult & WithKmsKeyId(const Aws::String &value)
CreateTrailResult & WithSnsTopicARN(const Aws::String &value)
CreateTrailResult & WithS3BucketName(const char *value)
CreateTrailResult & WithCloudWatchLogsLogGroupArn(const Aws::String &value)
CreateTrailResult & WithS3KeyPrefix(const Aws::String &value)
CreateTrailResult & WithIncludeGlobalServiceEvents(bool value)
void SetCloudWatchLogsRoleArn(const Aws::String &value)
void SetS3KeyPrefix(Aws::String &&value)
CreateTrailResult & WithName(const char *value)
const Aws::String & GetTrailARN() const
CreateTrailResult & WithLogFileValidationEnabled(bool value)
void SetS3BucketName(const Aws::String &value)
void SetCloudWatchLogsRoleArn(const char *value)
CreateTrailResult & WithS3KeyPrefix(const char *value)
const Aws::String & GetRequestId() const
const Aws::String & GetS3KeyPrefix() const
AWS_CLOUDTRAIL_API CreateTrailResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCloudWatchLogsLogGroupArn(const Aws::String &value)
void SetSnsTopicARN(const Aws::String &value)
CreateTrailResult & WithKmsKeyId(Aws::String &&value)
void SetSnsTopicARN(Aws::String &&value)
void SetLogFileValidationEnabled(bool value)
void SetIncludeGlobalServiceEvents(bool value)
const Aws::String & GetKmsKeyId() const
void SetRequestId(Aws::String &&value)
CreateTrailResult & WithName(const Aws::String &value)
void SetS3BucketName(Aws::String &&value)
CreateTrailResult & WithCloudWatchLogsRoleArn(const Aws::String &value)
void SetName(Aws::String &&value)
CreateTrailResult & WithRequestId(const Aws::String &value)
void SetS3KeyPrefix(const Aws::String &value)
void SetSnsTopicARN(const char *value)
void SetTrailARN(Aws::String &&value)
CreateTrailResult & WithCloudWatchLogsRoleArn(Aws::String &&value)
void SetIsOrganizationTrail(bool value)
bool GetIsMultiRegionTrail() const
bool GetIsOrganizationTrail() const
CreateTrailResult & WithRequestId(Aws::String &&value)
const Aws::String & GetName() const
CreateTrailResult & WithCloudWatchLogsLogGroupArn(const char *value)
void SetTrailARN(const Aws::String &value)
CreateTrailResult & WithS3BucketName(const Aws::String &value)
CreateTrailResult & WithIsMultiRegionTrail(bool value)
void SetTrailARN(const char *value)
CreateTrailResult & WithName(Aws::String &&value)
CreateTrailResult & WithTrailARN(const char *value)
AWS_CLOUDTRAIL_API CreateTrailResult()
CreateTrailResult & WithIsOrganizationTrail(bool value)
CreateTrailResult & WithSnsTopicARN(Aws::String &&value)
AWS_CLOUDTRAIL_API CreateTrailResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetIsMultiRegionTrail(bool value)
CreateTrailResult & WithSnsTopicARN(const char *value)
void SetRequestId(const Aws::String &value)
bool GetIncludeGlobalServiceEvents() const
void SetS3BucketName(const char *value)
void SetKmsKeyId(Aws::String &&value)
void SetName(const char *value)
void SetKmsKeyId(const Aws::String &value)
CreateTrailResult & WithS3BucketName(Aws::String &&value)
CreateTrailResult & WithCloudWatchLogsLogGroupArn(Aws::String &&value)
CreateTrailResult & WithKmsKeyId(const char *value)
void SetCloudWatchLogsLogGroupArn(Aws::String &&value)
void SetCloudWatchLogsRoleArn(Aws::String &&value)
void SetRequestId(const char *value)
CreateTrailResult & WithTrailARN(const Aws::String &value)
const Aws::String & GetS3BucketName() const
const Aws::String & GetSnsTopicARN() const
const Aws::String & GetCloudWatchLogsRoleArn() const
bool GetLogFileValidationEnabled() const
CreateTrailResult & WithS3KeyPrefix(Aws::String &&value)
const Aws::String & GetCloudWatchLogsLogGroupArn() const
void SetName(const Aws::String &value)
void SetCloudWatchLogsLogGroupArn(const char *value)
CreateTrailResult & WithTrailARN(Aws::String &&value)
CreateTrailResult & WithCloudWatchLogsRoleArn(const char *value)
void SetKmsKeyId(const char *value)
CreateTrailResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue