AWS SDK for C++

AWS SDK for C++ Version 1.11.887

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
40 AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override;
41
43
47 inline int GetLimit() const { return m_limit; }
48 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
49 inline void SetLimit(int value) {
50 m_limitHasBeenSet = true;
51 m_limit = value;
52 }
53 inline ListStreamsRequest& WithLimit(int value) {
54 SetLimit(value);
55 return *this;
56 }
58
60
63 inline const Aws::String& GetExclusiveStartStreamName() const { return m_exclusiveStartStreamName; }
64 inline bool ExclusiveStartStreamNameHasBeenSet() const { return m_exclusiveStartStreamNameHasBeenSet; }
65 template <typename ExclusiveStartStreamNameT = Aws::String>
66 void SetExclusiveStartStreamName(ExclusiveStartStreamNameT&& value) {
67 m_exclusiveStartStreamNameHasBeenSet = true;
68 m_exclusiveStartStreamName = std::forward<ExclusiveStartStreamNameT>(value);
69 }
70 template <typename ExclusiveStartStreamNameT = Aws::String>
71 ListStreamsRequest& WithExclusiveStartStreamName(ExclusiveStartStreamNameT&& value) {
72 SetExclusiveStartStreamName(std::forward<ExclusiveStartStreamNameT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetNextToken() const { return m_nextToken; }
82 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
83 template <typename NextTokenT = Aws::String>
84 void SetNextToken(NextTokenT&& value) {
85 m_nextTokenHasBeenSet = true;
86 m_nextToken = std::forward<NextTokenT>(value);
87 }
88 template <typename NextTokenT = Aws::String>
89 ListStreamsRequest& WithNextToken(NextTokenT&& value) {
90 SetNextToken(std::forward<NextTokenT>(value));
91 return *this;
92 }
94 private:
95 int m_limit{0};
96
97 Aws::String m_exclusiveStartStreamName;
98
99 Aws::String m_nextToken;
100 bool m_limitHasBeenSet = false;
101 bool m_exclusiveStartStreamNameHasBeenSet = false;
102 bool m_nextTokenHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace Kinesis
107} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
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
AWS_KINESIS_API EndpointParameters GetEndpointContextParams() 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