/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies when to stop processing the stream. You can specify a maximum
* amount of time to process the video. See Also:
AWS
* API Reference
Specifies the maximum amount of time in seconds that you want the stream to * be processed. The largest amount of time is 2 minutes. The default is 10 * seconds.
*/ inline long long GetMaxDurationInSeconds() const{ return m_maxDurationInSeconds; } /** *Specifies the maximum amount of time in seconds that you want the stream to * be processed. The largest amount of time is 2 minutes. The default is 10 * seconds.
*/ inline bool MaxDurationInSecondsHasBeenSet() const { return m_maxDurationInSecondsHasBeenSet; } /** *Specifies the maximum amount of time in seconds that you want the stream to * be processed. The largest amount of time is 2 minutes. The default is 10 * seconds.
*/ inline void SetMaxDurationInSeconds(long long value) { m_maxDurationInSecondsHasBeenSet = true; m_maxDurationInSeconds = value; } /** *Specifies the maximum amount of time in seconds that you want the stream to * be processed. The largest amount of time is 2 minutes. The default is 10 * seconds.
*/ inline StreamProcessingStopSelector& WithMaxDurationInSeconds(long long value) { SetMaxDurationInSeconds(value); return *this;} private: long long m_maxDurationInSeconds; bool m_maxDurationInSecondsHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws