/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The response elements represent the output of a request to start a SQL
* transaction.See Also:
AWS
* API Reference
The transaction ID of the transaction started by the call.
*/ inline const Aws::String& GetTransactionId() const{ return m_transactionId; } /** *The transaction ID of the transaction started by the call.
*/ inline void SetTransactionId(const Aws::String& value) { m_transactionId = value; } /** *The transaction ID of the transaction started by the call.
*/ inline void SetTransactionId(Aws::String&& value) { m_transactionId = std::move(value); } /** *The transaction ID of the transaction started by the call.
*/ inline void SetTransactionId(const char* value) { m_transactionId.assign(value); } /** *The transaction ID of the transaction started by the call.
*/ inline BeginTransactionResult& WithTransactionId(const Aws::String& value) { SetTransactionId(value); return *this;} /** *The transaction ID of the transaction started by the call.
*/ inline BeginTransactionResult& WithTransactionId(Aws::String&& value) { SetTransactionId(std::move(value)); return *this;} /** *The transaction ID of the transaction started by the call.
*/ inline BeginTransactionResult& WithTransactionId(const char* value) { SetTransactionId(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline BeginTransactionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BeginTransactionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BeginTransactionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_transactionId; Aws::String m_requestId; }; } // namespace Model } // namespace RDSDataService } // namespace Aws