/** * 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 imagebuilder { namespace Model { /** *

Logging configuration defines where Image Builder uploads your * logs.

See Also:

AWS * API Reference

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

The Amazon S3 logging configuration.

*/ inline const S3Logs& GetS3Logs() const{ return m_s3Logs; } /** *

The Amazon S3 logging configuration.

*/ inline bool S3LogsHasBeenSet() const { return m_s3LogsHasBeenSet; } /** *

The Amazon S3 logging configuration.

*/ inline void SetS3Logs(const S3Logs& value) { m_s3LogsHasBeenSet = true; m_s3Logs = value; } /** *

The Amazon S3 logging configuration.

*/ inline void SetS3Logs(S3Logs&& value) { m_s3LogsHasBeenSet = true; m_s3Logs = std::move(value); } /** *

The Amazon S3 logging configuration.

*/ inline Logging& WithS3Logs(const S3Logs& value) { SetS3Logs(value); return *this;} /** *

The Amazon S3 logging configuration.

*/ inline Logging& WithS3Logs(S3Logs&& value) { SetS3Logs(std::move(value)); return *this;} private: S3Logs m_s3Logs; bool m_s3LogsHasBeenSet = false; }; } // namespace Model } // namespace imagebuilder } // namespace Aws