/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A PartiQL batch statement request. See Also:
AWS
* API Reference
A valid PartiQL statement.
*/ inline const Aws::String& GetStatement() const{ return m_statement; } /** *A valid PartiQL statement.
*/ inline bool StatementHasBeenSet() const { return m_statementHasBeenSet; } /** *A valid PartiQL statement.
*/ inline void SetStatement(const Aws::String& value) { m_statementHasBeenSet = true; m_statement = value; } /** *A valid PartiQL statement.
*/ inline void SetStatement(Aws::String&& value) { m_statementHasBeenSet = true; m_statement = std::move(value); } /** *A valid PartiQL statement.
*/ inline void SetStatement(const char* value) { m_statementHasBeenSet = true; m_statement.assign(value); } /** *A valid PartiQL statement.
*/ inline BatchStatementRequest& WithStatement(const Aws::String& value) { SetStatement(value); return *this;} /** *A valid PartiQL statement.
*/ inline BatchStatementRequest& WithStatement(Aws::String&& value) { SetStatement(std::move(value)); return *this;} /** *A valid PartiQL statement.
*/ inline BatchStatementRequest& WithStatement(const char* value) { SetStatement(value); return *this;} /** *The parameters associated with a PartiQL statement in the batch request. *
*/ inline const Aws::VectorThe parameters associated with a PartiQL statement in the batch request. *
*/ inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } /** *The parameters associated with a PartiQL statement in the batch request. *
*/ inline void SetParameters(const Aws::VectorThe parameters associated with a PartiQL statement in the batch request. *
*/ inline void SetParameters(Aws::VectorThe parameters associated with a PartiQL statement in the batch request. *
*/ inline BatchStatementRequest& WithParameters(const Aws::VectorThe parameters associated with a PartiQL statement in the batch request. *
*/ inline BatchStatementRequest& WithParameters(Aws::VectorThe parameters associated with a PartiQL statement in the batch request. *
*/ inline BatchStatementRequest& AddParameters(const AttributeValue& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; } /** *The parameters associated with a PartiQL statement in the batch request. *
*/ inline BatchStatementRequest& AddParameters(AttributeValue&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; } /** *The read consistency of the PartiQL batch request.
*/ inline bool GetConsistentRead() const{ return m_consistentRead; } /** *The read consistency of the PartiQL batch request.
*/ inline bool ConsistentReadHasBeenSet() const { return m_consistentReadHasBeenSet; } /** *The read consistency of the PartiQL batch request.
*/ inline void SetConsistentRead(bool value) { m_consistentReadHasBeenSet = true; m_consistentRead = value; } /** *The read consistency of the PartiQL batch request.
*/ inline BatchStatementRequest& WithConsistentRead(bool value) { SetConsistentRead(value); return *this;} /** *An optional parameter that returns the item attributes for a PartiQL batch * request operation that failed a condition check.
There is no additional * cost associated with requesting a return value aside from the small network and * processing overhead of receiving a larger response. No read capacity units are * consumed.
*/ inline const ReturnValuesOnConditionCheckFailure& GetReturnValuesOnConditionCheckFailure() const{ return m_returnValuesOnConditionCheckFailure; } /** *An optional parameter that returns the item attributes for a PartiQL batch * request operation that failed a condition check.
There is no additional * cost associated with requesting a return value aside from the small network and * processing overhead of receiving a larger response. No read capacity units are * consumed.
*/ inline bool ReturnValuesOnConditionCheckFailureHasBeenSet() const { return m_returnValuesOnConditionCheckFailureHasBeenSet; } /** *An optional parameter that returns the item attributes for a PartiQL batch * request operation that failed a condition check.
There is no additional * cost associated with requesting a return value aside from the small network and * processing overhead of receiving a larger response. No read capacity units are * consumed.
*/ inline void SetReturnValuesOnConditionCheckFailure(const ReturnValuesOnConditionCheckFailure& value) { m_returnValuesOnConditionCheckFailureHasBeenSet = true; m_returnValuesOnConditionCheckFailure = value; } /** *An optional parameter that returns the item attributes for a PartiQL batch * request operation that failed a condition check.
There is no additional * cost associated with requesting a return value aside from the small network and * processing overhead of receiving a larger response. No read capacity units are * consumed.
*/ inline void SetReturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure&& value) { m_returnValuesOnConditionCheckFailureHasBeenSet = true; m_returnValuesOnConditionCheckFailure = std::move(value); } /** *An optional parameter that returns the item attributes for a PartiQL batch * request operation that failed a condition check.
There is no additional * cost associated with requesting a return value aside from the small network and * processing overhead of receiving a larger response. No read capacity units are * consumed.
*/ inline BatchStatementRequest& WithReturnValuesOnConditionCheckFailure(const ReturnValuesOnConditionCheckFailure& value) { SetReturnValuesOnConditionCheckFailure(value); return *this;} /** *An optional parameter that returns the item attributes for a PartiQL batch * request operation that failed a condition check.
There is no additional * cost associated with requesting a return value aside from the small network and * processing overhead of receiving a larger response. No read capacity units are * consumed.
*/ inline BatchStatementRequest& WithReturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure&& value) { SetReturnValuesOnConditionCheckFailure(std::move(value)); return *this;} private: Aws::String m_statement; bool m_statementHasBeenSet = false; Aws::Vector