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

Contains server-side performance information for a command. Amazon QLDB * captures timing information between the times when it receives the request and * when it sends the corresponding response.

See Also:

AWS * API Reference

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

The amount of time that QLDB spent on processing the command, measured in * milliseconds.

*/ inline long long GetProcessingTimeMilliseconds() const{ return m_processingTimeMilliseconds; } /** *

The amount of time that QLDB spent on processing the command, measured in * milliseconds.

*/ inline bool ProcessingTimeMillisecondsHasBeenSet() const { return m_processingTimeMillisecondsHasBeenSet; } /** *

The amount of time that QLDB spent on processing the command, measured in * milliseconds.

*/ inline void SetProcessingTimeMilliseconds(long long value) { m_processingTimeMillisecondsHasBeenSet = true; m_processingTimeMilliseconds = value; } /** *

The amount of time that QLDB spent on processing the command, measured in * milliseconds.

*/ inline TimingInformation& WithProcessingTimeMilliseconds(long long value) { SetProcessingTimeMilliseconds(value); return *this;} private: long long m_processingTimeMilliseconds; bool m_processingTimeMillisecondsHasBeenSet = false; }; } // namespace Model } // namespace QLDBSession } // namespace Aws