/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Settings that determine when a clip begins and how long it
* lasts.See Also:
AWS
* API Reference
The place in the input file where you want a clip to start. The format can be * either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a * second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, * Elastic Transcoder starts at the beginning of the input file.
*/ inline const Aws::String& GetStartTime() const{ return m_startTime; } /** *The place in the input file where you want a clip to start. The format can be * either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a * second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, * Elastic Transcoder starts at the beginning of the input file.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *The place in the input file where you want a clip to start. The format can be * either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a * second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, * Elastic Transcoder starts at the beginning of the input file.
*/ inline void SetStartTime(const Aws::String& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *The place in the input file where you want a clip to start. The format can be * either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a * second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, * Elastic Transcoder starts at the beginning of the input file.
*/ inline void SetStartTime(Aws::String&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *The place in the input file where you want a clip to start. The format can be * either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a * second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, * Elastic Transcoder starts at the beginning of the input file.
*/ inline void SetStartTime(const char* value) { m_startTimeHasBeenSet = true; m_startTime.assign(value); } /** *The place in the input file where you want a clip to start. The format can be * either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a * second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, * Elastic Transcoder starts at the beginning of the input file.
*/ inline TimeSpan& WithStartTime(const Aws::String& value) { SetStartTime(value); return *this;} /** *The place in the input file where you want a clip to start. The format can be * either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a * second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, * Elastic Transcoder starts at the beginning of the input file.
*/ inline TimeSpan& WithStartTime(Aws::String&& value) { SetStartTime(std::move(value)); return *this;} /** *The place in the input file where you want a clip to start. The format can be * either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a * second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, * Elastic Transcoder starts at the beginning of the input file.
*/ inline TimeSpan& WithStartTime(const char* value) { SetStartTime(value); return *this;} /** *The duration of the clip. The format can be either HH:mm:ss.SSS (maximum * value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum * value: 86399.999). If you don't specify a value, Elastic Transcoder creates an * output file from StartTime to the end of the file.
If you specify a value * longer than the duration of the input file, Elastic Transcoder transcodes the * file and returns a warning message.
*/ inline const Aws::String& GetDuration() const{ return m_duration; } /** *The duration of the clip. The format can be either HH:mm:ss.SSS (maximum * value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum * value: 86399.999). If you don't specify a value, Elastic Transcoder creates an * output file from StartTime to the end of the file.
If you specify a value * longer than the duration of the input file, Elastic Transcoder transcodes the * file and returns a warning message.
*/ inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; } /** *The duration of the clip. The format can be either HH:mm:ss.SSS (maximum * value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum * value: 86399.999). If you don't specify a value, Elastic Transcoder creates an * output file from StartTime to the end of the file.
If you specify a value * longer than the duration of the input file, Elastic Transcoder transcodes the * file and returns a warning message.
*/ inline void SetDuration(const Aws::String& value) { m_durationHasBeenSet = true; m_duration = value; } /** *The duration of the clip. The format can be either HH:mm:ss.SSS (maximum * value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum * value: 86399.999). If you don't specify a value, Elastic Transcoder creates an * output file from StartTime to the end of the file.
If you specify a value * longer than the duration of the input file, Elastic Transcoder transcodes the * file and returns a warning message.
*/ inline void SetDuration(Aws::String&& value) { m_durationHasBeenSet = true; m_duration = std::move(value); } /** *The duration of the clip. The format can be either HH:mm:ss.SSS (maximum * value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum * value: 86399.999). If you don't specify a value, Elastic Transcoder creates an * output file from StartTime to the end of the file.
If you specify a value * longer than the duration of the input file, Elastic Transcoder transcodes the * file and returns a warning message.
*/ inline void SetDuration(const char* value) { m_durationHasBeenSet = true; m_duration.assign(value); } /** *The duration of the clip. The format can be either HH:mm:ss.SSS (maximum * value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum * value: 86399.999). If you don't specify a value, Elastic Transcoder creates an * output file from StartTime to the end of the file.
If you specify a value * longer than the duration of the input file, Elastic Transcoder transcodes the * file and returns a warning message.
*/ inline TimeSpan& WithDuration(const Aws::String& value) { SetDuration(value); return *this;} /** *The duration of the clip. The format can be either HH:mm:ss.SSS (maximum * value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum * value: 86399.999). If you don't specify a value, Elastic Transcoder creates an * output file from StartTime to the end of the file.
If you specify a value * longer than the duration of the input file, Elastic Transcoder transcodes the * file and returns a warning message.
*/ inline TimeSpan& WithDuration(Aws::String&& value) { SetDuration(std::move(value)); return *this;} /** *The duration of the clip. The format can be either HH:mm:ss.SSS (maximum * value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum * value: 86399.999). If you don't specify a value, Elastic Transcoder creates an * output file from StartTime to the end of the file.
If you specify a value * longer than the duration of the input file, Elastic Transcoder transcodes the * file and returns a warning message.
*/ inline TimeSpan& WithDuration(const char* value) { SetDuration(value); return *this;} private: Aws::String m_startTime; bool m_startTimeHasBeenSet = false; Aws::String m_duration; bool m_durationHasBeenSet = false; }; } // namespace Model } // namespace ElasticTranscoder } // namespace Aws