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

Provides timing details for the job.

See Also:

AWS * API Reference

*/ class JobTimers { public: AWS_S3CONTROL_API JobTimers(); AWS_S3CONTROL_API JobTimers(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_S3CONTROL_API JobTimers& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** *

Indicates the elapsed time in seconds the job has been in the Active job * state.

*/ inline long long GetElapsedTimeInActiveSeconds() const{ return m_elapsedTimeInActiveSeconds; } /** *

Indicates the elapsed time in seconds the job has been in the Active job * state.

*/ inline bool ElapsedTimeInActiveSecondsHasBeenSet() const { return m_elapsedTimeInActiveSecondsHasBeenSet; } /** *

Indicates the elapsed time in seconds the job has been in the Active job * state.

*/ inline void SetElapsedTimeInActiveSeconds(long long value) { m_elapsedTimeInActiveSecondsHasBeenSet = true; m_elapsedTimeInActiveSeconds = value; } /** *

Indicates the elapsed time in seconds the job has been in the Active job * state.

*/ inline JobTimers& WithElapsedTimeInActiveSeconds(long long value) { SetElapsedTimeInActiveSeconds(value); return *this;} private: long long m_elapsedTimeInActiveSeconds; bool m_elapsedTimeInActiveSecondsHasBeenSet = false; }; } // namespace Model } // namespace S3Control } // namespace Aws