/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A time range, in milliseconds, between two points in your media file. You can use You can use also If you prefer to use percentage instead of milliseconds, see
* .StartTime
and EndTime
to search a
* custom segment. For example, setting StartTime
to 10000 and
* EndTime
to 50000 only searches for your specified criteria in the
* audio contained between the 10,000 millisecond mark and the 50,000 millisecond
* mark of your media file. You must use StartTime
and
* EndTime
as a set; that is, if you include one, you must include
* both.First
to search from the start of the
* audio until the time that you specify, or Last
to search from the
* time that you specify until the end of the audio. For example, setting
* First
to 50000 only searches for your specified criteria in the
* audio contained between the start of the media file to the 50,000 millisecond
* mark. You can use First
and Last
independently of each
* other.See Also:
AWS
* API Reference
The time, in milliseconds, when Amazon Transcribe starts searching for the
* specified criteria in your audio. If you include StartTime
in your
* request, you must also include EndTime
.
The time, in milliseconds, when Amazon Transcribe starts searching for the
* specified criteria in your audio. If you include StartTime
in your
* request, you must also include EndTime
.
The time, in milliseconds, when Amazon Transcribe starts searching for the
* specified criteria in your audio. If you include StartTime
in your
* request, you must also include EndTime
.
The time, in milliseconds, when Amazon Transcribe starts searching for the
* specified criteria in your audio. If you include StartTime
in your
* request, you must also include EndTime
.
The time, in milliseconds, when Amazon Transcribe stops searching for the
* specified criteria in your audio. If you include EndTime
in your
* request, you must also include StartTime
.
The time, in milliseconds, when Amazon Transcribe stops searching for the
* specified criteria in your audio. If you include EndTime
in your
* request, you must also include StartTime
.
The time, in milliseconds, when Amazon Transcribe stops searching for the
* specified criteria in your audio. If you include EndTime
in your
* request, you must also include StartTime
.
The time, in milliseconds, when Amazon Transcribe stops searching for the
* specified criteria in your audio. If you include EndTime
in your
* request, you must also include StartTime
.
The time, in milliseconds, from the start of your media file until the * specified value. Amazon Transcribe searches for your specified criteria in this * time segment.
*/ inline long long GetFirst() const{ return m_first; } /** *The time, in milliseconds, from the start of your media file until the * specified value. Amazon Transcribe searches for your specified criteria in this * time segment.
*/ inline bool FirstHasBeenSet() const { return m_firstHasBeenSet; } /** *The time, in milliseconds, from the start of your media file until the * specified value. Amazon Transcribe searches for your specified criteria in this * time segment.
*/ inline void SetFirst(long long value) { m_firstHasBeenSet = true; m_first = value; } /** *The time, in milliseconds, from the start of your media file until the * specified value. Amazon Transcribe searches for your specified criteria in this * time segment.
*/ inline AbsoluteTimeRange& WithFirst(long long value) { SetFirst(value); return *this;} /** *The time, in milliseconds, from the specified value until the end of your * media file. Amazon Transcribe searches for your specified criteria in this time * segment.
*/ inline long long GetLast() const{ return m_last; } /** *The time, in milliseconds, from the specified value until the end of your * media file. Amazon Transcribe searches for your specified criteria in this time * segment.
*/ inline bool LastHasBeenSet() const { return m_lastHasBeenSet; } /** *The time, in milliseconds, from the specified value until the end of your * media file. Amazon Transcribe searches for your specified criteria in this time * segment.
*/ inline void SetLast(long long value) { m_lastHasBeenSet = true; m_last = value; } /** *The time, in milliseconds, from the specified value until the end of your * media file. Amazon Transcribe searches for your specified criteria in this time * segment.
*/ inline AbsoluteTimeRange& WithLast(long long value) { SetLast(value); return *this;} private: long long m_startTime; bool m_startTimeHasBeenSet = false; long long m_endTime; bool m_endTimeHasBeenSet = false; long long m_first; bool m_firstHasBeenSet = false; long long m_last; bool m_lastHasBeenSet = false; }; } // namespace Model } // namespace TranscribeService } // namespace Aws