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

Configuration to enable EventBridge case event delivery and determine what * data is delivered.

See Also:

AWS * API Reference

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

Indicates whether the to broadcast case event data to the customer.

*/ inline bool GetEnabled() const{ return m_enabled; } /** *

Indicates whether the to broadcast case event data to the customer.

*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *

Indicates whether the to broadcast case event data to the customer.

*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *

Indicates whether the to broadcast case event data to the customer.

*/ inline EventBridgeConfiguration& WithEnabled(bool value) { SetEnabled(value); return *this;} /** *

Details of what case and related item data is published through the case * event stream.

*/ inline const EventIncludedData& GetIncludedData() const{ return m_includedData; } /** *

Details of what case and related item data is published through the case * event stream.

*/ inline bool IncludedDataHasBeenSet() const { return m_includedDataHasBeenSet; } /** *

Details of what case and related item data is published through the case * event stream.

*/ inline void SetIncludedData(const EventIncludedData& value) { m_includedDataHasBeenSet = true; m_includedData = value; } /** *

Details of what case and related item data is published through the case * event stream.

*/ inline void SetIncludedData(EventIncludedData&& value) { m_includedDataHasBeenSet = true; m_includedData = std::move(value); } /** *

Details of what case and related item data is published through the case * event stream.

*/ inline EventBridgeConfiguration& WithIncludedData(const EventIncludedData& value) { SetIncludedData(value); return *this;} /** *

Details of what case and related item data is published through the case * event stream.

*/ inline EventBridgeConfiguration& WithIncludedData(EventIncludedData&& value) { SetIncludedData(std::move(value)); return *this;} private: bool m_enabled; bool m_enabledHasBeenSet = false; EventIncludedData m_includedData; bool m_includedDataHasBeenSet = false; }; } // namespace Model } // namespace ConnectCases } // namespace Aws