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

The description of the log delivery settings.

See Also:

AWS * API Reference

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

The workers can send worker logs to different destination types. This * configuration specifies the details of these destinations.

*/ inline const WorkerLogDeliveryDescription& GetWorkerLogDelivery() const{ return m_workerLogDelivery; } /** *

The workers can send worker logs to different destination types. This * configuration specifies the details of these destinations.

*/ inline bool WorkerLogDeliveryHasBeenSet() const { return m_workerLogDeliveryHasBeenSet; } /** *

The workers can send worker logs to different destination types. This * configuration specifies the details of these destinations.

*/ inline void SetWorkerLogDelivery(const WorkerLogDeliveryDescription& value) { m_workerLogDeliveryHasBeenSet = true; m_workerLogDelivery = value; } /** *

The workers can send worker logs to different destination types. This * configuration specifies the details of these destinations.

*/ inline void SetWorkerLogDelivery(WorkerLogDeliveryDescription&& value) { m_workerLogDeliveryHasBeenSet = true; m_workerLogDelivery = std::move(value); } /** *

The workers can send worker logs to different destination types. This * configuration specifies the details of these destinations.

*/ inline LogDeliveryDescription& WithWorkerLogDelivery(const WorkerLogDeliveryDescription& value) { SetWorkerLogDelivery(value); return *this;} /** *

The workers can send worker logs to different destination types. This * configuration specifies the details of these destinations.

*/ inline LogDeliveryDescription& WithWorkerLogDelivery(WorkerLogDeliveryDescription&& value) { SetWorkerLogDelivery(std::move(value)); return *this;} private: WorkerLogDeliveryDescription m_workerLogDelivery; bool m_workerLogDeliveryHasBeenSet = false; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws