/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ConnectCases { namespace Model { /** *

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

See Also:

AWS * API Reference

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

Details of what case data is published through the case event stream.

*/ inline const CaseEventIncludedData& GetCaseData() const{ return m_caseData; } /** *

Details of what case data is published through the case event stream.

*/ inline bool CaseDataHasBeenSet() const { return m_caseDataHasBeenSet; } /** *

Details of what case data is published through the case event stream.

*/ inline void SetCaseData(const CaseEventIncludedData& value) { m_caseDataHasBeenSet = true; m_caseData = value; } /** *

Details of what case data is published through the case event stream.

*/ inline void SetCaseData(CaseEventIncludedData&& value) { m_caseDataHasBeenSet = true; m_caseData = std::move(value); } /** *

Details of what case data is published through the case event stream.

*/ inline EventIncludedData& WithCaseData(const CaseEventIncludedData& value) { SetCaseData(value); return *this;} /** *

Details of what case data is published through the case event stream.

*/ inline EventIncludedData& WithCaseData(CaseEventIncludedData&& value) { SetCaseData(std::move(value)); return *this;} /** *

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

*/ inline const RelatedItemEventIncludedData& GetRelatedItemData() const{ return m_relatedItemData; } /** *

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

*/ inline bool RelatedItemDataHasBeenSet() const { return m_relatedItemDataHasBeenSet; } /** *

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

*/ inline void SetRelatedItemData(const RelatedItemEventIncludedData& value) { m_relatedItemDataHasBeenSet = true; m_relatedItemData = value; } /** *

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

*/ inline void SetRelatedItemData(RelatedItemEventIncludedData&& value) { m_relatedItemDataHasBeenSet = true; m_relatedItemData = std::move(value); } /** *

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

*/ inline EventIncludedData& WithRelatedItemData(const RelatedItemEventIncludedData& value) { SetRelatedItemData(value); return *this;} /** *

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

*/ inline EventIncludedData& WithRelatedItemData(RelatedItemEventIncludedData&& value) { SetRelatedItemData(std::move(value)); return *this;} private: CaseEventIncludedData m_caseData; bool m_caseDataHasBeenSet = false; RelatedItemEventIncludedData m_relatedItemData; bool m_relatedItemDataHasBeenSet = false; }; } // namespace Model } // namespace ConnectCases } // namespace Aws