/** * 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 { /** *

Details about log delivery.

See Also:

AWS * API Reference

*/ class LogDelivery { public: AWS_KAFKACONNECT_API LogDelivery(); AWS_KAFKACONNECT_API LogDelivery(Aws::Utils::Json::JsonView jsonValue); AWS_KAFKACONNECT_API LogDelivery& 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 WorkerLogDelivery& 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 WorkerLogDelivery& 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(WorkerLogDelivery&& 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 LogDelivery& WithWorkerLogDelivery(const WorkerLogDelivery& value) { SetWorkerLogDelivery(value); return *this;} /** *

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

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