/** * 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 the access logging information for a virtual * node.

See Also:

AWS * API Reference

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

The file object to send virtual node access logs to.

*/ inline const FileAccessLog& GetFile() const{ return m_file; } /** *

The file object to send virtual node access logs to.

*/ inline bool FileHasBeenSet() const { return m_fileHasBeenSet; } /** *

The file object to send virtual node access logs to.

*/ inline void SetFile(const FileAccessLog& value) { m_fileHasBeenSet = true; m_file = value; } /** *

The file object to send virtual node access logs to.

*/ inline void SetFile(FileAccessLog&& value) { m_fileHasBeenSet = true; m_file = std::move(value); } /** *

The file object to send virtual node access logs to.

*/ inline AccessLog& WithFile(const FileAccessLog& value) { SetFile(value); return *this;} /** *

The file object to send virtual node access logs to.

*/ inline AccessLog& WithFile(FileAccessLog&& value) { SetFile(std::move(value)); return *this;} private: FileAccessLog m_file; bool m_fileHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws