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

An object that represents an access log file.

See Also:

AWS * API Reference

*/ class AWS_APPMESH_API VirtualGatewayFileAccessLog { public: VirtualGatewayFileAccessLog(); VirtualGatewayFileAccessLog(Aws::Utils::Json::JsonView jsonValue); VirtualGatewayFileAccessLog& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** *

The file path to write access logs to. You can use /dev/stdout * to send access logs to standard out and configure your Envoy container * to use a log driver, such as awslogs, to export the * access logs to a log storage service such as Amazon CloudWatch Logs. * You can also specify a path in the Envoy container's file system to write * the files to disk.

*/ inline const Aws::String& GetPath() const{ return m_path; } /** *

The file path to write access logs to. You can use /dev/stdout * to send access logs to standard out and configure your Envoy container * to use a log driver, such as awslogs, to export the * access logs to a log storage service such as Amazon CloudWatch Logs. * You can also specify a path in the Envoy container's file system to write * the files to disk.

*/ inline bool PathHasBeenSet() const { return m_pathHasBeenSet; } /** *

The file path to write access logs to. You can use /dev/stdout * to send access logs to standard out and configure your Envoy container * to use a log driver, such as awslogs, to export the * access logs to a log storage service such as Amazon CloudWatch Logs. * You can also specify a path in the Envoy container's file system to write * the files to disk.

*/ inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; } /** *

The file path to write access logs to. You can use /dev/stdout * to send access logs to standard out and configure your Envoy container * to use a log driver, such as awslogs, to export the * access logs to a log storage service such as Amazon CloudWatch Logs. * You can also specify a path in the Envoy container's file system to write * the files to disk.

*/ inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); } /** *

The file path to write access logs to. You can use /dev/stdout * to send access logs to standard out and configure your Envoy container * to use a log driver, such as awslogs, to export the * access logs to a log storage service such as Amazon CloudWatch Logs. * You can also specify a path in the Envoy container's file system to write * the files to disk.

*/ inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); } /** *

The file path to write access logs to. You can use /dev/stdout * to send access logs to standard out and configure your Envoy container * to use a log driver, such as awslogs, to export the * access logs to a log storage service such as Amazon CloudWatch Logs. * You can also specify a path in the Envoy container's file system to write * the files to disk.

*/ inline VirtualGatewayFileAccessLog& WithPath(const Aws::String& value) { SetPath(value); return *this;} /** *

The file path to write access logs to. You can use /dev/stdout * to send access logs to standard out and configure your Envoy container * to use a log driver, such as awslogs, to export the * access logs to a log storage service such as Amazon CloudWatch Logs. * You can also specify a path in the Envoy container's file system to write * the files to disk.

*/ inline VirtualGatewayFileAccessLog& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;} /** *

The file path to write access logs to. You can use /dev/stdout * to send access logs to standard out and configure your Envoy container * to use a log driver, such as awslogs, to export the * access logs to a log storage service such as Amazon CloudWatch Logs. * You can also specify a path in the Envoy container's file system to write * the files to disk.

*/ inline VirtualGatewayFileAccessLog& WithPath(const char* value) { SetPath(value); return *this;} private: Aws::String m_path; bool m_pathHasBeenSet; }; } // namespace Model } // namespace AppMesh } // namespace Aws