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

Contains the timestamps of matched categories.

See Also:

AWS * API Reference

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

Contains the timestamp ranges (start time through end time) of matched * categories and rules.

*/ inline const Aws::Vector& GetTimestampRanges() const{ return m_timestampRanges; } /** *

Contains the timestamp ranges (start time through end time) of matched * categories and rules.

*/ inline bool TimestampRangesHasBeenSet() const { return m_timestampRangesHasBeenSet; } /** *

Contains the timestamp ranges (start time through end time) of matched * categories and rules.

*/ inline void SetTimestampRanges(const Aws::Vector& value) { m_timestampRangesHasBeenSet = true; m_timestampRanges = value; } /** *

Contains the timestamp ranges (start time through end time) of matched * categories and rules.

*/ inline void SetTimestampRanges(Aws::Vector&& value) { m_timestampRangesHasBeenSet = true; m_timestampRanges = std::move(value); } /** *

Contains the timestamp ranges (start time through end time) of matched * categories and rules.

*/ inline PointsOfInterest& WithTimestampRanges(const Aws::Vector& value) { SetTimestampRanges(value); return *this;} /** *

Contains the timestamp ranges (start time through end time) of matched * categories and rules.

*/ inline PointsOfInterest& WithTimestampRanges(Aws::Vector&& value) { SetTimestampRanges(std::move(value)); return *this;} /** *

Contains the timestamp ranges (start time through end time) of matched * categories and rules.

*/ inline PointsOfInterest& AddTimestampRanges(const TimestampRange& value) { m_timestampRangesHasBeenSet = true; m_timestampRanges.push_back(value); return *this; } /** *

Contains the timestamp ranges (start time through end time) of matched * categories and rules.

*/ inline PointsOfInterest& AddTimestampRanges(TimestampRange&& value) { m_timestampRangesHasBeenSet = true; m_timestampRanges.push_back(std::move(value)); return *this; } private: Aws::Vector m_timestampRanges; bool m_timestampRangesHasBeenSet = false; }; } // namespace Model } // namespace TranscribeStreamingService } // namespace Aws