7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
46 m_logEnabledHasBeenSet =
true;
62 template <
typename LogGroupArnT = Aws::String>
64 m_logGroupArnHasBeenSet =
true;
65 m_logGroupArn = std::forward<LogGroupArnT>(value);
67 template <
typename LogGroupArnT = Aws::String>
81 template <
typename LogOutputFormatT = Aws::String>
83 m_logOutputFormatHasBeenSet =
true;
84 m_logOutputFormat = std::forward<LogOutputFormatT>(value);
86 template <
typename LogOutputFormatT = Aws::String>
102 m_bgpLogEnabledHasBeenSet =
true;
103 m_bgpLogEnabled = value;
118 template <
typename BgpLogGroupArnT = Aws::String>
120 m_bgpLogGroupArnHasBeenSet =
true;
121 m_bgpLogGroupArn = std::forward<BgpLogGroupArnT>(value);
123 template <
typename BgpLogGroupArnT = Aws::String>
138 template <
typename BgpLogOutputFormatT = Aws::String>
140 m_bgpLogOutputFormatHasBeenSet =
true;
141 m_bgpLogOutputFormat = std::forward<BgpLogOutputFormatT>(value);
143 template <
typename BgpLogOutputFormatT = Aws::String>
150 bool m_logEnabled{
false};
156 bool m_bgpLogEnabled{
false};
161 bool m_logEnabledHasBeenSet =
false;
162 bool m_logGroupArnHasBeenSet =
false;
163 bool m_logOutputFormatHasBeenSet =
false;
164 bool m_bgpLogEnabledHasBeenSet =
false;
165 bool m_bgpLogGroupArnHasBeenSet =
false;
166 bool m_bgpLogOutputFormatHasBeenSet =
false;
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool LogGroupArnHasBeenSet() const
CloudWatchLogOptionsSpecification & WithBgpLogGroupArn(BgpLogGroupArnT &&value)
AWS_EC2_API CloudWatchLogOptionsSpecification()=default
const Aws::String & GetLogGroupArn() const
CloudWatchLogOptionsSpecification & WithLogGroupArn(LogGroupArnT &&value)
void SetBgpLogGroupArn(BgpLogGroupArnT &&value)
CloudWatchLogOptionsSpecification & WithLogOutputFormat(LogOutputFormatT &&value)
CloudWatchLogOptionsSpecification & WithLogEnabled(bool value)
const Aws::String & GetBgpLogOutputFormat() const
void SetLogGroupArn(LogGroupArnT &&value)
const Aws::String & GetLogOutputFormat() const
CloudWatchLogOptionsSpecification & WithBgpLogOutputFormat(BgpLogOutputFormatT &&value)
AWS_EC2_API CloudWatchLogOptionsSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
bool BgpLogEnabledHasBeenSet() const
const Aws::String & GetBgpLogGroupArn() const
bool BgpLogOutputFormatHasBeenSet() const
bool LogEnabledHasBeenSet() const
void SetBgpLogEnabled(bool value)
void SetLogEnabled(bool value)
void SetLogOutputFormat(LogOutputFormatT &&value)
AWS_EC2_API CloudWatchLogOptionsSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CloudWatchLogOptionsSpecification & WithBgpLogEnabled(bool value)
bool GetBgpLogEnabled() const
void SetBgpLogOutputFormat(BgpLogOutputFormatT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool BgpLogGroupArnHasBeenSet() 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