7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/VerifiedAccessLogS3Destination.h>
10#include <aws/ec2/model/VerifiedAccessLogCloudWatchLogsDestination.h>
11#include <aws/ec2/model/VerifiedAccessLogKinesisDataFirehoseDestination.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
89 inline void SetLogVersion(
const char* value) { m_logVersionHasBeenSet =
true; m_logVersion.assign(value); }
101 inline void SetIncludeTrustContext(
bool value) { m_includeTrustContextHasBeenSet =
true; m_includeTrustContext = value; }
107 bool m_s3HasBeenSet =
false;
110 bool m_cloudWatchLogsHasBeenSet =
false;
113 bool m_kinesisDataFirehoseHasBeenSet =
false;
116 bool m_logVersionHasBeenSet =
false;
118 bool m_includeTrustContext;
119 bool m_includeTrustContextHasBeenSet =
false;
VerifiedAccessLogs & WithS3(const VerifiedAccessLogS3Destination &value)
VerifiedAccessLogs & WithKinesisDataFirehose(const VerifiedAccessLogKinesisDataFirehoseDestination &value)
bool LogVersionHasBeenSet() const
void SetLogVersion(Aws::String &&value)
void SetS3(const VerifiedAccessLogS3Destination &value)
VerifiedAccessLogs & WithKinesisDataFirehose(VerifiedAccessLogKinesisDataFirehoseDestination &&value)
const VerifiedAccessLogS3Destination & GetS3() const
bool GetIncludeTrustContext() const
void SetKinesisDataFirehose(VerifiedAccessLogKinesisDataFirehoseDestination &&value)
AWS_EC2_API VerifiedAccessLogs()
void SetCloudWatchLogs(VerifiedAccessLogCloudWatchLogsDestination &&value)
bool CloudWatchLogsHasBeenSet() const
VerifiedAccessLogs & WithS3(VerifiedAccessLogS3Destination &&value)
void SetLogVersion(const char *value)
VerifiedAccessLogs & WithCloudWatchLogs(VerifiedAccessLogCloudWatchLogsDestination &&value)
const VerifiedAccessLogCloudWatchLogsDestination & GetCloudWatchLogs() const
void SetS3(VerifiedAccessLogS3Destination &&value)
void SetCloudWatchLogs(const VerifiedAccessLogCloudWatchLogsDestination &value)
bool KinesisDataFirehoseHasBeenSet() const
VerifiedAccessLogs & WithLogVersion(const char *value)
bool S3HasBeenSet() const
AWS_EC2_API VerifiedAccessLogs(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
VerifiedAccessLogs & WithLogVersion(const Aws::String &value)
void SetLogVersion(const Aws::String &value)
bool IncludeTrustContextHasBeenSet() const
void SetIncludeTrustContext(bool value)
void SetKinesisDataFirehose(const VerifiedAccessLogKinesisDataFirehoseDestination &value)
VerifiedAccessLogs & WithLogVersion(Aws::String &&value)
const VerifiedAccessLogKinesisDataFirehoseDestination & GetKinesisDataFirehose() const
VerifiedAccessLogs & WithIncludeTrustContext(bool value)
const Aws::String & GetLogVersion() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API VerifiedAccessLogs & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
VerifiedAccessLogs & WithCloudWatchLogs(const VerifiedAccessLogCloudWatchLogsDestination &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream