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

See Also:

AWS API * Reference

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

The access log configuration for a virtual node.

*/ inline const AccessLog& GetAccessLog() const{ return m_accessLog; } /** *

The access log configuration for a virtual node.

*/ inline bool AccessLogHasBeenSet() const { return m_accessLogHasBeenSet; } /** *

The access log configuration for a virtual node.

*/ inline void SetAccessLog(const AccessLog& value) { m_accessLogHasBeenSet = true; m_accessLog = value; } /** *

The access log configuration for a virtual node.

*/ inline void SetAccessLog(AccessLog&& value) { m_accessLogHasBeenSet = true; m_accessLog = std::move(value); } /** *

The access log configuration for a virtual node.

*/ inline Logging& WithAccessLog(const AccessLog& value) { SetAccessLog(value); return *this;} /** *

The access log configuration for a virtual node.

*/ inline Logging& WithAccessLog(AccessLog&& value) { SetAccessLog(std::move(value)); return *this;} private: AccessLog m_accessLog; bool m_accessLogHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws