AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchExecuteStatementRequest.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/dynamodb/DynamoDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/dynamodb/model/ReturnConsumedCapacity.h>
11#include <aws/dynamodb/model/BatchStatementRequest.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DynamoDB
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DYNAMODB_API BatchExecuteStatementRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "BatchExecuteStatement"; }
33
34 AWS_DYNAMODB_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::Vector<BatchStatementRequest>& GetStatements() const{ return m_statements; }
44 inline bool StatementsHasBeenSet() const { return m_statementsHasBeenSet; }
45 inline void SetStatements(const Aws::Vector<BatchStatementRequest>& value) { m_statementsHasBeenSet = true; m_statements = value; }
46 inline void SetStatements(Aws::Vector<BatchStatementRequest>&& value) { m_statementsHasBeenSet = true; m_statements = std::move(value); }
49 inline BatchExecuteStatementRequest& AddStatements(const BatchStatementRequest& value) { m_statementsHasBeenSet = true; m_statements.push_back(value); return *this; }
50 inline BatchExecuteStatementRequest& AddStatements(BatchStatementRequest&& value) { m_statementsHasBeenSet = true; m_statements.push_back(std::move(value)); return *this; }
52
54
55 inline const ReturnConsumedCapacity& GetReturnConsumedCapacity() const{ return m_returnConsumedCapacity; }
56 inline bool ReturnConsumedCapacityHasBeenSet() const { return m_returnConsumedCapacityHasBeenSet; }
57 inline void SetReturnConsumedCapacity(const ReturnConsumedCapacity& value) { m_returnConsumedCapacityHasBeenSet = true; m_returnConsumedCapacity = value; }
58 inline void SetReturnConsumedCapacity(ReturnConsumedCapacity&& value) { m_returnConsumedCapacityHasBeenSet = true; m_returnConsumedCapacity = std::move(value); }
62 private:
63
65 bool m_statementsHasBeenSet = false;
66
67 ReturnConsumedCapacity m_returnConsumedCapacity;
68 bool m_returnConsumedCapacityHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace DynamoDB
73} // namespace Aws
BatchExecuteStatementRequest & AddStatements(const BatchStatementRequest &value)
BatchExecuteStatementRequest & WithStatements(const Aws::Vector< BatchStatementRequest > &value)
BatchExecuteStatementRequest & WithReturnConsumedCapacity(const ReturnConsumedCapacity &value)
BatchExecuteStatementRequest & WithReturnConsumedCapacity(ReturnConsumedCapacity &&value)
const ReturnConsumedCapacity & GetReturnConsumedCapacity() const
BatchExecuteStatementRequest & AddStatements(BatchStatementRequest &&value)
AWS_DYNAMODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< BatchStatementRequest > & GetStatements() const
BatchExecuteStatementRequest & WithStatements(Aws::Vector< BatchStatementRequest > &&value)
void SetStatements(const Aws::Vector< BatchStatementRequest > &value)
void SetReturnConsumedCapacity(const ReturnConsumedCapacity &value)
AWS_DYNAMODB_API Aws::String SerializePayload() const override
void SetStatements(Aws::Vector< BatchStatementRequest > &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector