AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
ListStreamsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kinesis/KinesisRequest.h>
9#include <aws/kinesis/Kinesis_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Kinesis {
15namespace Model {
16
24 public:
25 AWS_KINESIS_API ListStreamsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListStreams"; }
32
33 AWS_KINESIS_API Aws::String SerializePayload() const override;
34
36
38
42 inline int GetLimit() const { return m_limit; }
43 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
44 inline void SetLimit(int value) {
45 m_limitHasBeenSet = true;
46 m_limit = value;
47 }
48 inline ListStreamsRequest& WithLimit(int value) {
49 SetLimit(value);
50 return *this;
51 }
53
55
58 inline const Aws::String& GetExclusiveStartStreamName() const { return m_exclusiveStartStreamName; }
59 inline bool ExclusiveStartStreamNameHasBeenSet() const { return m_exclusiveStartStreamNameHasBeenSet; }
60 template <typename ExclusiveStartStreamNameT = Aws::String>
61 void SetExclusiveStartStreamName(ExclusiveStartStreamNameT&& value) {
62 m_exclusiveStartStreamNameHasBeenSet = true;
63 m_exclusiveStartStreamName = std::forward<ExclusiveStartStreamNameT>(value);
64 }
65 template <typename ExclusiveStartStreamNameT = Aws::String>
66 ListStreamsRequest& WithExclusiveStartStreamName(ExclusiveStartStreamNameT&& value) {
67 SetExclusiveStartStreamName(std::forward<ExclusiveStartStreamNameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetNextToken() const { return m_nextToken; }
77 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
78 template <typename NextTokenT = Aws::String>
79 void SetNextToken(NextTokenT&& value) {
80 m_nextTokenHasBeenSet = true;
81 m_nextToken = std::forward<NextTokenT>(value);
82 }
83 template <typename NextTokenT = Aws::String>
84 ListStreamsRequest& WithNextToken(NextTokenT&& value) {
85 SetNextToken(std::forward<NextTokenT>(value));
86 return *this;
87 }
89 private:
90 int m_limit{0};
91
92 Aws::String m_exclusiveStartStreamName;
93
94 Aws::String m_nextToken;
95 bool m_limitHasBeenSet = false;
96 bool m_exclusiveStartStreamNameHasBeenSet = false;
97 bool m_nextTokenHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Kinesis
102} // namespace Aws
AWS_KINESIS_API ListStreamsRequest()=default
void SetExclusiveStartStreamName(ExclusiveStartStreamNameT &&value)
AWS_KINESIS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
const Aws::String & GetExclusiveStartStreamName() const
ListStreamsRequest & WithLimit(int value)
AWS_KINESIS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListStreamsRequest & WithExclusiveStartStreamName(ExclusiveStartStreamNameT &&value)
const Aws::String & GetNextToken() const
ListStreamsRequest & WithNextToken(NextTokenT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String