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

Contains the details of the ended session.

See Also:

AWS * API Reference

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

Contains server-side performance information for the command.

*/ inline const TimingInformation& GetTimingInformation() const{ return m_timingInformation; } /** *

Contains server-side performance information for the command.

*/ inline bool TimingInformationHasBeenSet() const { return m_timingInformationHasBeenSet; } /** *

Contains server-side performance information for the command.

*/ inline void SetTimingInformation(const TimingInformation& value) { m_timingInformationHasBeenSet = true; m_timingInformation = value; } /** *

Contains server-side performance information for the command.

*/ inline void SetTimingInformation(TimingInformation&& value) { m_timingInformationHasBeenSet = true; m_timingInformation = std::move(value); } /** *

Contains server-side performance information for the command.

*/ inline EndSessionResult& WithTimingInformation(const TimingInformation& value) { SetTimingInformation(value); return *this;} /** *

Contains server-side performance information for the command.

*/ inline EndSessionResult& WithTimingInformation(TimingInformation&& value) { SetTimingInformation(std::move(value)); return *this;} private: TimingInformation m_timingInformation; bool m_timingInformationHasBeenSet = false; }; } // namespace Model } // namespace QLDBSession } // namespace Aws