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

Contains statistics about the execution of the protected query.

See * Also:

AWS * API Reference

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

The duration of the Protected Query, from creation until query * completion.

*/ inline long long GetTotalDurationInMillis() const{ return m_totalDurationInMillis; } /** *

The duration of the Protected Query, from creation until query * completion.

*/ inline bool TotalDurationInMillisHasBeenSet() const { return m_totalDurationInMillisHasBeenSet; } /** *

The duration of the Protected Query, from creation until query * completion.

*/ inline void SetTotalDurationInMillis(long long value) { m_totalDurationInMillisHasBeenSet = true; m_totalDurationInMillis = value; } /** *

The duration of the Protected Query, from creation until query * completion.

*/ inline ProtectedQueryStatistics& WithTotalDurationInMillis(long long value) { SetTotalDurationInMillis(value); return *this;} private: long long m_totalDurationInMillis; bool m_totalDurationInMillisHasBeenSet = false; }; } // namespace Model } // namespace CleanRooms } // namespace Aws