/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that represents an access log file.See Also:
AWS
* API Reference
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.
The Envoy process must * have write permissions to the path that you specify here. Otherwise, * Envoy fails to bootstrap properly.
*/ 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.
The Envoy process must * have write permissions to the path that you specify here. Otherwise, * Envoy fails to bootstrap properly.
*/ 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.
The Envoy process must * have write permissions to the path that you specify here. Otherwise, * Envoy fails to bootstrap properly.
*/ 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.
The Envoy process must * have write permissions to the path that you specify here. Otherwise, * Envoy fails to bootstrap properly.
*/ 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.
The Envoy process must * have write permissions to the path that you specify here. Otherwise, * Envoy fails to bootstrap properly.
*/ 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.
The Envoy process must * have write permissions to the path that you specify here. Otherwise, * Envoy fails to bootstrap properly.
*/ inline FileAccessLog& 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.
The Envoy process must * have write permissions to the path that you specify here. Otherwise, * Envoy fails to bootstrap properly.
*/ inline FileAccessLog& 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.
The Envoy process must * have write permissions to the path that you specify here. Otherwise, * Envoy fails to bootstrap properly.
*/ inline FileAccessLog& WithPath(const char* value) { SetPath(value); return *this;} private: Aws::String m_path; bool m_pathHasBeenSet; }; } // namespace Model } // namespace AppMesh } // namespace Aws