/**
* 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 commit transaction
* request.See Also:
AWS
* API Reference
The status of the commit operation.
*/ inline const Aws::String& GetTransactionStatus() const{ return m_transactionStatus; } /** *The status of the commit operation.
*/ inline void SetTransactionStatus(const Aws::String& value) { m_transactionStatus = value; } /** *The status of the commit operation.
*/ inline void SetTransactionStatus(Aws::String&& value) { m_transactionStatus = std::move(value); } /** *The status of the commit operation.
*/ inline void SetTransactionStatus(const char* value) { m_transactionStatus.assign(value); } /** *The status of the commit operation.
*/ inline CommitTransactionResult& WithTransactionStatus(const Aws::String& value) { SetTransactionStatus(value); return *this;} /** *The status of the commit operation.
*/ inline CommitTransactionResult& WithTransactionStatus(Aws::String&& value) { SetTransactionStatus(std::move(value)); return *this;} /** *The status of the commit operation.
*/ inline CommitTransactionResult& WithTransactionStatus(const char* value) { SetTransactionStatus(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 CommitTransactionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CommitTransactionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CommitTransactionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_transactionStatus; Aws::String m_requestId; }; } // namespace Model } // namespace RDSDataService } // namespace Aws