/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the details of the started transaction.See Also:
* AWS
* API Reference
The transaction ID of the started transaction.
*/ inline const Aws::String& GetTransactionId() const{ return m_transactionId; } /** *The transaction ID of the started transaction.
*/ inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; } /** *The transaction ID of the started transaction.
*/ inline void SetTransactionId(const Aws::String& value) { m_transactionIdHasBeenSet = true; m_transactionId = value; } /** *The transaction ID of the started transaction.
*/ inline void SetTransactionId(Aws::String&& value) { m_transactionIdHasBeenSet = true; m_transactionId = std::move(value); } /** *The transaction ID of the started transaction.
*/ inline void SetTransactionId(const char* value) { m_transactionIdHasBeenSet = true; m_transactionId.assign(value); } /** *The transaction ID of the started transaction.
*/ inline StartTransactionResult& WithTransactionId(const Aws::String& value) { SetTransactionId(value); return *this;} /** *The transaction ID of the started transaction.
*/ inline StartTransactionResult& WithTransactionId(Aws::String&& value) { SetTransactionId(std::move(value)); return *this;} /** *The transaction ID of the started transaction.
*/ inline StartTransactionResult& WithTransactionId(const char* value) { SetTransactionId(value); return *this;} /** *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 StartTransactionResult& WithTimingInformation(const TimingInformation& value) { SetTimingInformation(value); return *this;} /** *Contains server-side performance information for the command.
*/ inline StartTransactionResult& WithTimingInformation(TimingInformation&& value) { SetTimingInformation(std::move(value)); return *this;} private: Aws::String m_transactionId; bool m_transactionIdHasBeenSet = false; TimingInformation m_timingInformation; bool m_timingInformationHasBeenSet = false; }; } // namespace Model } // namespace QLDBSession } // namespace Aws