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>
49 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
60 template<
typename CloudwatchLogGroupT = Aws::String>
61 void SetCloudwatchLogGroup(CloudwatchLogGroupT&& value) { m_cloudwatchLogGroupHasBeenSet =
true; m_cloudwatchLogGroup = std::forward<CloudwatchLogGroupT>(value); }
62 template<
typename CloudwatchLogGroupT = Aws::String>
73 template<
typename CloudwatchLogStreamT = Aws::String>
74 void SetCloudwatchLogStream(CloudwatchLogStreamT&& value) { m_cloudwatchLogStreamHasBeenSet =
true; m_cloudwatchLogStream = std::forward<CloudwatchLogStreamT>(value); }
75 template<
typename CloudwatchLogStreamT = Aws::String>
80 bool m_enabled{
false};
81 bool m_enabledHasBeenSet =
false;
84 bool m_cloudwatchLogGroupHasBeenSet =
false;
87 bool m_cloudwatchLogStreamHasBeenSet =
false;
AWS_EC2_API ConnectionLogOptions()=default
AWS_EC2_API ConnectionLogOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool CloudwatchLogStreamHasBeenSet() const
const Aws::String & GetCloudwatchLogStream() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetCloudwatchLogStream(CloudwatchLogStreamT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetCloudwatchLogGroup(CloudwatchLogGroupT &&value)
void SetEnabled(bool value)
ConnectionLogOptions & WithCloudwatchLogGroup(CloudwatchLogGroupT &&value)
bool CloudwatchLogGroupHasBeenSet() const
AWS_EC2_API ConnectionLogOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
ConnectionLogOptions & WithCloudwatchLogStream(CloudwatchLogStreamT &&value)
bool EnabledHasBeenSet() const
const Aws::String & GetCloudwatchLogGroup() const
ConnectionLogOptions & WithEnabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream