7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
51 inline void SetLogEnabled(
bool value) { m_logEnabledHasBeenSet =
true; m_logEnabled = value; }
64 inline void SetLogGroupArn(
const char* value) { m_logGroupArnHasBeenSet =
true; m_logGroupArn.assign(value); }
79 inline void SetLogOutputFormat(
const char* value) { m_logOutputFormatHasBeenSet =
true; m_logOutputFormat.assign(value); }
87 bool m_logEnabledHasBeenSet =
false;
90 bool m_logGroupArnHasBeenSet =
false;
93 bool m_logOutputFormatHasBeenSet =
false;
CloudWatchLogOptions & WithLogEnabled(bool value)
void SetLogEnabled(bool value)
CloudWatchLogOptions & WithLogOutputFormat(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API CloudWatchLogOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool LogGroupArnHasBeenSet() const
CloudWatchLogOptions & WithLogOutputFormat(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetLogGroupArn(const Aws::String &value)
CloudWatchLogOptions & WithLogOutputFormat(const char *value)
AWS_EC2_API CloudWatchLogOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
CloudWatchLogOptions & WithLogGroupArn(const char *value)
void SetLogGroupArn(Aws::String &&value)
bool GetLogEnabled() const
CloudWatchLogOptions & WithLogGroupArn(const Aws::String &value)
void SetLogGroupArn(const char *value)
bool LogEnabledHasBeenSet() const
const Aws::String & GetLogGroupArn() const
AWS_EC2_API CloudWatchLogOptions()
const Aws::String & GetLogOutputFormat() const
bool LogOutputFormatHasBeenSet() const
void SetLogOutputFormat(Aws::String &&value)
void SetLogOutputFormat(const char *value)
void SetLogOutputFormat(const Aws::String &value)
CloudWatchLogOptions & WithLogGroupArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream