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; }
62 template<
typename LogGroupArnT = Aws::String>
63 void SetLogGroupArn(LogGroupArnT&& value) { m_logGroupArnHasBeenSet =
true; m_logGroupArn = std::forward<LogGroupArnT>(value); }
64 template<
typename LogGroupArnT = Aws::String>
75 template<
typename LogOutputFormatT = Aws::String>
76 void SetLogOutputFormat(LogOutputFormatT&& value) { m_logOutputFormatHasBeenSet =
true; m_logOutputFormat = std::forward<LogOutputFormatT>(value); }
77 template<
typename LogOutputFormatT = Aws::String>
82 bool m_logEnabled{
false};
83 bool m_logEnabledHasBeenSet =
false;
86 bool m_logGroupArnHasBeenSet =
false;
89 bool m_logOutputFormatHasBeenSet =
false;
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool LogGroupArnHasBeenSet() const
AWS_EC2_API CloudWatchLogOptionsSpecification()=default
const Aws::String & GetLogGroupArn() const
CloudWatchLogOptionsSpecification & WithLogGroupArn(LogGroupArnT &&value)
CloudWatchLogOptionsSpecification & WithLogOutputFormat(LogOutputFormatT &&value)
CloudWatchLogOptionsSpecification & WithLogEnabled(bool value)
void SetLogGroupArn(LogGroupArnT &&value)
const Aws::String & GetLogOutputFormat() const
AWS_EC2_API CloudWatchLogOptionsSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
bool LogEnabledHasBeenSet() const
void SetLogEnabled(bool value)
void SetLogOutputFormat(LogOutputFormatT &&value)
AWS_EC2_API CloudWatchLogOptionsSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool LogOutputFormatHasBeenSet() const
bool GetLogEnabled() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream