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

Details about the timing of a job.

See Also:

AWS * API Reference

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

The time the job was submitted to Elastic Transcoder, in epoch * milliseconds.

*/ inline long long GetSubmitTimeMillis() const{ return m_submitTimeMillis; } /** *

The time the job was submitted to Elastic Transcoder, in epoch * milliseconds.

*/ inline bool SubmitTimeMillisHasBeenSet() const { return m_submitTimeMillisHasBeenSet; } /** *

The time the job was submitted to Elastic Transcoder, in epoch * milliseconds.

*/ inline void SetSubmitTimeMillis(long long value) { m_submitTimeMillisHasBeenSet = true; m_submitTimeMillis = value; } /** *

The time the job was submitted to Elastic Transcoder, in epoch * milliseconds.

*/ inline Timing& WithSubmitTimeMillis(long long value) { SetSubmitTimeMillis(value); return *this;} /** *

The time the job began transcoding, in epoch milliseconds.

*/ inline long long GetStartTimeMillis() const{ return m_startTimeMillis; } /** *

The time the job began transcoding, in epoch milliseconds.

*/ inline bool StartTimeMillisHasBeenSet() const { return m_startTimeMillisHasBeenSet; } /** *

The time the job began transcoding, in epoch milliseconds.

*/ inline void SetStartTimeMillis(long long value) { m_startTimeMillisHasBeenSet = true; m_startTimeMillis = value; } /** *

The time the job began transcoding, in epoch milliseconds.

*/ inline Timing& WithStartTimeMillis(long long value) { SetStartTimeMillis(value); return *this;} /** *

The time the job finished transcoding, in epoch milliseconds.

*/ inline long long GetFinishTimeMillis() const{ return m_finishTimeMillis; } /** *

The time the job finished transcoding, in epoch milliseconds.

*/ inline bool FinishTimeMillisHasBeenSet() const { return m_finishTimeMillisHasBeenSet; } /** *

The time the job finished transcoding, in epoch milliseconds.

*/ inline void SetFinishTimeMillis(long long value) { m_finishTimeMillisHasBeenSet = true; m_finishTimeMillis = value; } /** *

The time the job finished transcoding, in epoch milliseconds.

*/ inline Timing& WithFinishTimeMillis(long long value) { SetFinishTimeMillis(value); return *this;} private: long long m_submitTimeMillis; bool m_submitTimeMillisHasBeenSet = false; long long m_startTimeMillis; bool m_startTimeMillisHasBeenSet = false; long long m_finishTimeMillis; bool m_finishTimeMillisHasBeenSet = false; }; } // namespace Model } // namespace ElasticTranscoder } // namespace Aws