AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetShardIterator(const Aws::String& value) { m_shardIteratorHasBeenSet = true; m_shardIterator = value; }
50 inline void SetShardIterator(Aws::String&& value) { m_shardIteratorHasBeenSet = true; m_shardIterator = std::move(value); }
51 inline void SetShardIterator(const char* value) { m_shardIteratorHasBeenSet = true; m_shardIterator.assign(value); }
52 inline GetRecordsRequest& WithShardIterator(const Aws::String& value) { SetShardIterator(value); return *this;}
53 inline GetRecordsRequest& WithShardIterator(Aws::String&& value) { SetShardIterator(std::move(value)); return *this;}
54 inline GetRecordsRequest& WithShardIterator(const char* value) { SetShardIterator(value); return *this;}
56
58
62 inline int GetLimit() const{ return m_limit; }
63 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
64 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
65 inline GetRecordsRequest& WithLimit(int value) { SetLimit(value); return *this;}
67 private:
68
69 Aws::String m_shardIterator;
70 bool m_shardIteratorHasBeenSet = false;
71
72 int m_limit;
73 bool m_limitHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace DynamoDBStreams
78} // namespace Aws
void SetShardIterator(const Aws::String &value)
GetRecordsRequest & WithShardIterator(const char *value)
AWS_DYNAMODBSTREAMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetRecordsRequest & WithShardIterator(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_DYNAMODBSTREAMS_API Aws::String SerializePayload() const override
GetRecordsRequest & WithShardIterator(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String