/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents a PartiQL statment that uses parameters. See
* Also:
AWS
* API Reference
A PartiQL statment that uses parameters.
*/ inline const Aws::String& GetStatement() const{ return m_statement; } /** *A PartiQL statment that uses parameters.
*/ inline bool StatementHasBeenSet() const { return m_statementHasBeenSet; } /** *A PartiQL statment that uses parameters.
*/ inline void SetStatement(const Aws::String& value) { m_statementHasBeenSet = true; m_statement = value; } /** *A PartiQL statment that uses parameters.
*/ inline void SetStatement(Aws::String&& value) { m_statementHasBeenSet = true; m_statement = std::move(value); } /** *A PartiQL statment that uses parameters.
*/ inline void SetStatement(const char* value) { m_statementHasBeenSet = true; m_statement.assign(value); } /** *A PartiQL statment that uses parameters.
*/ inline ParameterizedStatement& WithStatement(const Aws::String& value) { SetStatement(value); return *this;} /** *A PartiQL statment that uses parameters.
*/ inline ParameterizedStatement& WithStatement(Aws::String&& value) { SetStatement(std::move(value)); return *this;} /** *A PartiQL statment that uses parameters.
*/ inline ParameterizedStatement& WithStatement(const char* value) { SetStatement(value); return *this;} /** *The parameter values.
*/ inline const Aws::VectorThe parameter values.
*/ inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } /** *The parameter values.
*/ inline void SetParameters(const Aws::VectorThe parameter values.
*/ inline void SetParameters(Aws::VectorThe parameter values.
*/ inline ParameterizedStatement& WithParameters(const Aws::VectorThe parameter values.
*/ inline ParameterizedStatement& WithParameters(Aws::VectorThe parameter values.
*/ inline ParameterizedStatement& AddParameters(const AttributeValue& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; } /** *The parameter values.
*/ inline ParameterizedStatement& AddParameters(AttributeValue&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; } /** *An optional parameter that returns the item attributes for a PartiQL
* ParameterizedStatement
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
* ParameterizedStatement
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
* ParameterizedStatement
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
* ParameterizedStatement
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
* ParameterizedStatement
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 ParameterizedStatement& WithReturnValuesOnConditionCheckFailure(const ReturnValuesOnConditionCheckFailure& value) { SetReturnValuesOnConditionCheckFailure(value); return *this;} /** *An optional parameter that returns the item attributes for a PartiQL
* ParameterizedStatement
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 ParameterizedStatement& WithReturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure&& value) { SetReturnValuesOnConditionCheckFailure(std::move(value)); return *this;} private: Aws::String m_statement; bool m_statementHasBeenSet = false; Aws::Vector