/** * 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 data is published through the case event * stream.

See Also:

AWS * API Reference

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

List of field identifiers.

*/ inline const Aws::Vector& GetFields() const{ return m_fields; } /** *

List of field identifiers.

*/ inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; } /** *

List of field identifiers.

*/ inline void SetFields(const Aws::Vector& value) { m_fieldsHasBeenSet = true; m_fields = value; } /** *

List of field identifiers.

*/ inline void SetFields(Aws::Vector&& value) { m_fieldsHasBeenSet = true; m_fields = std::move(value); } /** *

List of field identifiers.

*/ inline CaseEventIncludedData& WithFields(const Aws::Vector& value) { SetFields(value); return *this;} /** *

List of field identifiers.

*/ inline CaseEventIncludedData& WithFields(Aws::Vector&& value) { SetFields(std::move(value)); return *this;} /** *

List of field identifiers.

*/ inline CaseEventIncludedData& AddFields(const FieldIdentifier& value) { m_fieldsHasBeenSet = true; m_fields.push_back(value); return *this; } /** *

List of field identifiers.

*/ inline CaseEventIncludedData& AddFields(FieldIdentifier&& value) { m_fieldsHasBeenSet = true; m_fields.push_back(std::move(value)); return *this; } private: Aws::Vector m_fields; bool m_fieldsHasBeenSet = false; }; } // namespace Model } // namespace ConnectCases } // namespace Aws