AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TransactGetItemsRequest.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/TransactGetItem.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DynamoDB
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DYNAMODB_API TransactGetItemsRequest();
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 "TransactGetItems"; }
33
34 AWS_DYNAMODB_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const Aws::Vector<TransactGetItem>& GetTransactItems() const{ return m_transactItems; }
45 inline bool TransactItemsHasBeenSet() const { return m_transactItemsHasBeenSet; }
46 inline void SetTransactItems(const Aws::Vector<TransactGetItem>& value) { m_transactItemsHasBeenSet = true; m_transactItems = value; }
47 inline void SetTransactItems(Aws::Vector<TransactGetItem>&& value) { m_transactItemsHasBeenSet = true; m_transactItems = std::move(value); }
50 inline TransactGetItemsRequest& AddTransactItems(const TransactGetItem& value) { m_transactItemsHasBeenSet = true; m_transactItems.push_back(value); return *this; }
51 inline TransactGetItemsRequest& AddTransactItems(TransactGetItem&& value) { m_transactItemsHasBeenSet = true; m_transactItems.push_back(std::move(value)); return *this; }
53
55
60 inline const ReturnConsumedCapacity& GetReturnConsumedCapacity() const{ return m_returnConsumedCapacity; }
61 inline bool ReturnConsumedCapacityHasBeenSet() const { return m_returnConsumedCapacityHasBeenSet; }
62 inline void SetReturnConsumedCapacity(const ReturnConsumedCapacity& value) { m_returnConsumedCapacityHasBeenSet = true; m_returnConsumedCapacity = value; }
63 inline void SetReturnConsumedCapacity(ReturnConsumedCapacity&& value) { m_returnConsumedCapacityHasBeenSet = true; m_returnConsumedCapacity = std::move(value); }
67 private:
68
69 Aws::Vector<TransactGetItem> m_transactItems;
70 bool m_transactItemsHasBeenSet = false;
71
72 ReturnConsumedCapacity m_returnConsumedCapacity;
73 bool m_returnConsumedCapacityHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace DynamoDB
78} // namespace Aws
TransactGetItemsRequest & WithTransactItems(const Aws::Vector< TransactGetItem > &value)
const Aws::Vector< TransactGetItem > & GetTransactItems() const
TransactGetItemsRequest & WithReturnConsumedCapacity(ReturnConsumedCapacity &&value)
AWS_DYNAMODB_API Aws::String SerializePayload() const override
void SetReturnConsumedCapacity(ReturnConsumedCapacity &&value)
void SetReturnConsumedCapacity(const ReturnConsumedCapacity &value)
TransactGetItemsRequest & AddTransactItems(TransactGetItem &&value)
TransactGetItemsRequest & AddTransactItems(const TransactGetItem &value)
TransactGetItemsRequest & WithTransactItems(Aws::Vector< TransactGetItem > &&value)
void SetTransactItems(const Aws::Vector< TransactGetItem > &value)
virtual const char * GetServiceRequestName() const override
AWS_DYNAMODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetTransactItems(Aws::Vector< TransactGetItem > &&value)
TransactGetItemsRequest & WithReturnConsumedCapacity(const ReturnConsumedCapacity &value)
const ReturnConsumedCapacity & GetReturnConsumedCapacity() const
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