/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies a request to execute a statement.See Also:
AWS
* API Reference
Specifies the transaction ID of the request.
*/ inline const Aws::String& GetTransactionId() const{ return m_transactionId; } /** *Specifies the transaction ID of the request.
*/ inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; } /** *Specifies the transaction ID of the request.
*/ inline void SetTransactionId(const Aws::String& value) { m_transactionIdHasBeenSet = true; m_transactionId = value; } /** *Specifies the transaction ID of the request.
*/ inline void SetTransactionId(Aws::String&& value) { m_transactionIdHasBeenSet = true; m_transactionId = std::move(value); } /** *Specifies the transaction ID of the request.
*/ inline void SetTransactionId(const char* value) { m_transactionIdHasBeenSet = true; m_transactionId.assign(value); } /** *Specifies the transaction ID of the request.
*/ inline ExecuteStatementRequest& WithTransactionId(const Aws::String& value) { SetTransactionId(value); return *this;} /** *Specifies the transaction ID of the request.
*/ inline ExecuteStatementRequest& WithTransactionId(Aws::String&& value) { SetTransactionId(std::move(value)); return *this;} /** *Specifies the transaction ID of the request.
*/ inline ExecuteStatementRequest& WithTransactionId(const char* value) { SetTransactionId(value); return *this;} /** *Specifies the statement of the request.
*/ inline const Aws::String& GetStatement() const{ return m_statement; } /** *Specifies the statement of the request.
*/ inline bool StatementHasBeenSet() const { return m_statementHasBeenSet; } /** *Specifies the statement of the request.
*/ inline void SetStatement(const Aws::String& value) { m_statementHasBeenSet = true; m_statement = value; } /** *Specifies the statement of the request.
*/ inline void SetStatement(Aws::String&& value) { m_statementHasBeenSet = true; m_statement = std::move(value); } /** *Specifies the statement of the request.
*/ inline void SetStatement(const char* value) { m_statementHasBeenSet = true; m_statement.assign(value); } /** *Specifies the statement of the request.
*/ inline ExecuteStatementRequest& WithStatement(const Aws::String& value) { SetStatement(value); return *this;} /** *Specifies the statement of the request.
*/ inline ExecuteStatementRequest& WithStatement(Aws::String&& value) { SetStatement(std::move(value)); return *this;} /** *Specifies the statement of the request.
*/ inline ExecuteStatementRequest& WithStatement(const char* value) { SetStatement(value); return *this;} /** *Specifies the parameters for the parameterized statement in the request.
*/ inline const Aws::VectorSpecifies the parameters for the parameterized statement in the request.
*/ inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } /** *Specifies the parameters for the parameterized statement in the request.
*/ inline void SetParameters(const Aws::VectorSpecifies the parameters for the parameterized statement in the request.
*/ inline void SetParameters(Aws::VectorSpecifies the parameters for the parameterized statement in the request.
*/ inline ExecuteStatementRequest& WithParameters(const Aws::VectorSpecifies the parameters for the parameterized statement in the request.
*/ inline ExecuteStatementRequest& WithParameters(Aws::VectorSpecifies the parameters for the parameterized statement in the request.
*/ inline ExecuteStatementRequest& AddParameters(const ValueHolder& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; } /** *Specifies the parameters for the parameterized statement in the request.
*/ inline ExecuteStatementRequest& AddParameters(ValueHolder&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; } private: Aws::String m_transactionId; bool m_transactionIdHasBeenSet = false; Aws::String m_statement; bool m_statementHasBeenSet = false; Aws::Vector