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

Provides information about the category rule that was matched.

See * Also:

AWS * API Reference

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

The section of audio where the category rule was detected.

*/ inline const Aws::Vector& GetPointsOfInterest() const{ return m_pointsOfInterest; } /** *

The section of audio where the category rule was detected.

*/ inline bool PointsOfInterestHasBeenSet() const { return m_pointsOfInterestHasBeenSet; } /** *

The section of audio where the category rule was detected.

*/ inline void SetPointsOfInterest(const Aws::Vector& value) { m_pointsOfInterestHasBeenSet = true; m_pointsOfInterest = value; } /** *

The section of audio where the category rule was detected.

*/ inline void SetPointsOfInterest(Aws::Vector&& value) { m_pointsOfInterestHasBeenSet = true; m_pointsOfInterest = std::move(value); } /** *

The section of audio where the category rule was detected.

*/ inline CategoryDetails& WithPointsOfInterest(const Aws::Vector& value) { SetPointsOfInterest(value); return *this;} /** *

The section of audio where the category rule was detected.

*/ inline CategoryDetails& WithPointsOfInterest(Aws::Vector&& value) { SetPointsOfInterest(std::move(value)); return *this;} /** *

The section of audio where the category rule was detected.

*/ inline CategoryDetails& AddPointsOfInterest(const PointOfInterest& value) { m_pointsOfInterestHasBeenSet = true; m_pointsOfInterest.push_back(value); return *this; } /** *

The section of audio where the category rule was detected.

*/ inline CategoryDetails& AddPointsOfInterest(PointOfInterest&& value) { m_pointsOfInterestHasBeenSet = true; m_pointsOfInterest.push_back(std::move(value)); return *this; } private: Aws::Vector m_pointsOfInterest; bool m_pointsOfInterestHasBeenSet = false; }; } // namespace Model } // namespace ConnectContactLens } // namespace Aws