/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the details of the committed transaction.See Also:
* AWS
* API Reference
The transaction ID of the committed transaction.
*/ inline const Aws::String& GetTransactionId() const{ return m_transactionId; } /** *The transaction ID of the committed transaction.
*/ inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; } /** *The transaction ID of the committed transaction.
*/ inline void SetTransactionId(const Aws::String& value) { m_transactionIdHasBeenSet = true; m_transactionId = value; } /** *The transaction ID of the committed transaction.
*/ inline void SetTransactionId(Aws::String&& value) { m_transactionIdHasBeenSet = true; m_transactionId = std::move(value); } /** *The transaction ID of the committed transaction.
*/ inline void SetTransactionId(const char* value) { m_transactionIdHasBeenSet = true; m_transactionId.assign(value); } /** *The transaction ID of the committed transaction.
*/ inline CommitTransactionResult& WithTransactionId(const Aws::String& value) { SetTransactionId(value); return *this;} /** *The transaction ID of the committed transaction.
*/ inline CommitTransactionResult& WithTransactionId(Aws::String&& value) { SetTransactionId(std::move(value)); return *this;} /** *The transaction ID of the committed transaction.
*/ inline CommitTransactionResult& WithTransactionId(const char* value) { SetTransactionId(value); return *this;} /** *The commit digest of the committed transaction.
*/ inline const Aws::Utils::ByteBuffer& GetCommitDigest() const{ return m_commitDigest; } /** *The commit digest of the committed transaction.
*/ inline bool CommitDigestHasBeenSet() const { return m_commitDigestHasBeenSet; } /** *The commit digest of the committed transaction.
*/ inline void SetCommitDigest(const Aws::Utils::ByteBuffer& value) { m_commitDigestHasBeenSet = true; m_commitDigest = value; } /** *The commit digest of the committed transaction.
*/ inline void SetCommitDigest(Aws::Utils::ByteBuffer&& value) { m_commitDigestHasBeenSet = true; m_commitDigest = std::move(value); } /** *The commit digest of the committed transaction.
*/ inline CommitTransactionResult& WithCommitDigest(const Aws::Utils::ByteBuffer& value) { SetCommitDigest(value); return *this;} /** *The commit digest of the committed transaction.
*/ inline CommitTransactionResult& WithCommitDigest(Aws::Utils::ByteBuffer&& value) { SetCommitDigest(std::move(value)); return *this;} private: Aws::String m_transactionId; bool m_transactionIdHasBeenSet; Aws::Utils::ByteBuffer m_commitDigest; bool m_commitDigestHasBeenSet; }; } // namespace Model } // namespace QLDBSession } // namespace Aws