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/kinesis/Kinesis_EXPORTS.h>
8#include <aws/kinesis/KinesisRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Kinesis
15{
16namespace Model
17{
18
25 {
26 public:
27 AWS_KINESIS_API GetRecordsRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "GetRecords"; }
34
35 AWS_KINESIS_API Aws::String SerializePayload() const override;
36
38
42 AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override;
43
45
50 inline const Aws::String& GetShardIterator() const{ return m_shardIterator; }
51 inline bool ShardIteratorHasBeenSet() const { return m_shardIteratorHasBeenSet; }
52 inline void SetShardIterator(const Aws::String& value) { m_shardIteratorHasBeenSet = true; m_shardIterator = value; }
53 inline void SetShardIterator(Aws::String&& value) { m_shardIteratorHasBeenSet = true; m_shardIterator = std::move(value); }
54 inline void SetShardIterator(const char* value) { m_shardIteratorHasBeenSet = true; m_shardIterator.assign(value); }
55 inline GetRecordsRequest& WithShardIterator(const Aws::String& value) { SetShardIterator(value); return *this;}
56 inline GetRecordsRequest& WithShardIterator(Aws::String&& value) { SetShardIterator(std::move(value)); return *this;}
57 inline GetRecordsRequest& WithShardIterator(const char* value) { SetShardIterator(value); return *this;}
59
61
66 inline int GetLimit() const{ return m_limit; }
67 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
68 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
69 inline GetRecordsRequest& WithLimit(int value) { SetLimit(value); return *this;}
71
73
76 inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
77 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
78 inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
79 inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
80 inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
81 inline GetRecordsRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
82 inline GetRecordsRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
83 inline GetRecordsRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
85 private:
86
87 Aws::String m_shardIterator;
88 bool m_shardIteratorHasBeenSet = false;
89
90 int m_limit;
91 bool m_limitHasBeenSet = false;
92
93 Aws::String m_streamARN;
94 bool m_streamARNHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace Kinesis
99} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override
GetRecordsRequest & WithShardIterator(const Aws::String &value)
AWS_KINESIS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetShardIterator() const
GetRecordsRequest & WithStreamARN(Aws::String &&value)
GetRecordsRequest & WithStreamARN(const Aws::String &value)
GetRecordsRequest & WithShardIterator(Aws::String &&value)
void SetShardIterator(Aws::String &&value)
void SetShardIterator(const Aws::String &value)
AWS_KINESIS_API Aws::String SerializePayload() const override
GetRecordsRequest & WithStreamARN(const char *value)
const Aws::String & GetStreamARN() const
void SetStreamARN(const Aws::String &value)
GetRecordsRequest & WithShardIterator(const char *value)
virtual const char * GetServiceRequestName() const override
GetRecordsRequest & WithLimit(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String