7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dynamodb/DynamoDB_EXPORTS.h>
10#include <aws/dynamodb/model/AttributeValue.h>
11#include <aws/dynamodb/model/ReturnValuesOnConditionCheckFailure.h>
43 template <
typename StatementT = Aws::String>
45 m_statementHasBeenSet =
true;
46 m_statement = std::forward<StatementT>(value);
48 template <
typename StatementT = Aws::String>
62 template <
typename ParametersT = Aws::Vector<AttributeValue>>
64 m_parametersHasBeenSet =
true;
65 m_parameters = std::forward<ParametersT>(value);
67 template <
typename ParametersT = Aws::Vector<AttributeValue>>
72 template <
typename ParametersT = AttributeValue>
74 m_parametersHasBeenSet =
true;
75 m_parameters.emplace_back(std::forward<ParametersT>(value));
87 m_consistentReadHasBeenSet =
true;
88 m_consistentRead = value;
105 return m_returnValuesOnConditionCheckFailure;
109 m_returnValuesOnConditionCheckFailureHasBeenSet =
true;
110 m_returnValuesOnConditionCheckFailure = value;
122 bool m_consistentRead{
false};
125 bool m_statementHasBeenSet =
false;
126 bool m_parametersHasBeenSet =
false;
127 bool m_consistentReadHasBeenSet =
false;
128 bool m_returnValuesOnConditionCheckFailureHasBeenSet =
false;
bool ReturnValuesOnConditionCheckFailureHasBeenSet() const
void SetReturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure value)
void SetStatement(StatementT &&value)
AWS_DYNAMODB_API BatchStatementRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchStatementRequest & WithStatement(StatementT &&value)
bool StatementHasBeenSet() const
bool ConsistentReadHasBeenSet() const
void SetParameters(ParametersT &&value)
bool GetConsistentRead() const
BatchStatementRequest & WithParameters(ParametersT &&value)
BatchStatementRequest & WithConsistentRead(bool value)
AWS_DYNAMODB_API BatchStatementRequest(Aws::Utils::Json::JsonView jsonValue)
void SetConsistentRead(bool value)
ReturnValuesOnConditionCheckFailure GetReturnValuesOnConditionCheckFailure() const
BatchStatementRequest & AddParameters(ParametersT &&value)
const Aws::String & GetStatement() const
AWS_DYNAMODB_API BatchStatementRequest()=default
const Aws::Vector< AttributeValue > & GetParameters() const
bool ParametersHasBeenSet() const
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
BatchStatementRequest & WithReturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure value)
ReturnValuesOnConditionCheckFailure
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue