/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace EC2 { namespace Model { /** *

Options for logging VPN tunnel activity.

See Also:

AWS * API Reference

*/ class VpnTunnelLogOptionsSpecification { public: AWS_EC2_API VpnTunnelLogOptionsSpecification(); AWS_EC2_API VpnTunnelLogOptionsSpecification(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API VpnTunnelLogOptionsSpecification& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

Options for sending VPN tunnel logs to CloudWatch.

*/ inline const CloudWatchLogOptionsSpecification& GetCloudWatchLogOptions() const{ return m_cloudWatchLogOptions; } /** *

Options for sending VPN tunnel logs to CloudWatch.

*/ inline bool CloudWatchLogOptionsHasBeenSet() const { return m_cloudWatchLogOptionsHasBeenSet; } /** *

Options for sending VPN tunnel logs to CloudWatch.

*/ inline void SetCloudWatchLogOptions(const CloudWatchLogOptionsSpecification& value) { m_cloudWatchLogOptionsHasBeenSet = true; m_cloudWatchLogOptions = value; } /** *

Options for sending VPN tunnel logs to CloudWatch.

*/ inline void SetCloudWatchLogOptions(CloudWatchLogOptionsSpecification&& value) { m_cloudWatchLogOptionsHasBeenSet = true; m_cloudWatchLogOptions = std::move(value); } /** *

Options for sending VPN tunnel logs to CloudWatch.

*/ inline VpnTunnelLogOptionsSpecification& WithCloudWatchLogOptions(const CloudWatchLogOptionsSpecification& value) { SetCloudWatchLogOptions(value); return *this;} /** *

Options for sending VPN tunnel logs to CloudWatch.

*/ inline VpnTunnelLogOptionsSpecification& WithCloudWatchLogOptions(CloudWatchLogOptionsSpecification&& value) { SetCloudWatchLogOptions(std::move(value)); return *this;} private: CloudWatchLogOptionsSpecification m_cloudWatchLogOptions; bool m_cloudWatchLogOptionsHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws