AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetRecordsRequest.h
1
6#pragma once
7#include <aws/dynamodbstreams/DynamoDBStreams_EXPORTS.h>
8#include <aws/dynamodbstreams/DynamoDBStreamsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace DynamoDBStreams
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_DYNAMODBSTREAMS_API GetRecordsRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "GetRecords"; }
35
36 AWS_DYNAMODBSTREAMS_API Aws::String SerializePayload() const override;
37
38 AWS_DYNAMODBSTREAMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
47 inline const Aws::String& GetShardIterator() const { return m_shardIterator; }
48 inline bool ShardIteratorHasBeenSet() const { return m_shardIteratorHasBeenSet; }
49 template<typename ShardIteratorT = Aws::String>
50 void SetShardIterator(ShardIteratorT&& value) { m_shardIteratorHasBeenSet = true; m_shardIterator = std::forward<ShardIteratorT>(value); }
51 template<typename ShardIteratorT = Aws::String>
52 GetRecordsRequest& WithShardIterator(ShardIteratorT&& value) { SetShardIterator(std::forward<ShardIteratorT>(value)); return *this;}
54
56
60 inline int GetLimit() const { return m_limit; }
61 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
62 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
63 inline GetRecordsRequest& WithLimit(int value) { SetLimit(value); return *this;}
65 private:
66
67 Aws::String m_shardIterator;
68 bool m_shardIteratorHasBeenSet = false;
69
70 int m_limit{0};
71 bool m_limitHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace DynamoDBStreams
76} // namespace Aws
AWS_DYNAMODBSTREAMS_API GetRecordsRequest()=default
AWS_DYNAMODBSTREAMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
AWS_DYNAMODBSTREAMS_API Aws::String SerializePayload() const override
GetRecordsRequest & WithShardIterator(ShardIteratorT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String