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

The section of the contact audio where that category rule was * detected.

See Also:

AWS * API Reference

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

The beginning offset in milliseconds where the category rule was * detected.

*/ inline int GetBeginOffsetMillis() const{ return m_beginOffsetMillis; } /** *

The beginning offset in milliseconds where the category rule was * detected.

*/ inline bool BeginOffsetMillisHasBeenSet() const { return m_beginOffsetMillisHasBeenSet; } /** *

The beginning offset in milliseconds where the category rule was * detected.

*/ inline void SetBeginOffsetMillis(int value) { m_beginOffsetMillisHasBeenSet = true; m_beginOffsetMillis = value; } /** *

The beginning offset in milliseconds where the category rule was * detected.

*/ inline PointOfInterest& WithBeginOffsetMillis(int value) { SetBeginOffsetMillis(value); return *this;} /** *

The ending offset in milliseconds where the category rule was detected.

*/ inline int GetEndOffsetMillis() const{ return m_endOffsetMillis; } /** *

The ending offset in milliseconds where the category rule was detected.

*/ inline bool EndOffsetMillisHasBeenSet() const { return m_endOffsetMillisHasBeenSet; } /** *

The ending offset in milliseconds where the category rule was detected.

*/ inline void SetEndOffsetMillis(int value) { m_endOffsetMillisHasBeenSet = true; m_endOffsetMillis = value; } /** *

The ending offset in milliseconds where the category rule was detected.

*/ inline PointOfInterest& WithEndOffsetMillis(int value) { SetEndOffsetMillis(value); return *this;} private: int m_beginOffsetMillis; bool m_beginOffsetMillisHasBeenSet = false; int m_endOffsetMillis; bool m_endOffsetMillisHasBeenSet = false; }; } // namespace Model } // namespace ConnectContactLens } // namespace Aws