AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ListStreamsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/keyspacesstreams/KeyspacesStreamsRequest.h>
9#include <aws/keyspacesstreams/KeyspacesStreams_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace KeyspacesStreams {
15namespace Model {
16
20 public:
21 AWS_KEYSPACESSTREAMS_API ListStreamsRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "ListStreams"; }
28
29 AWS_KEYSPACESSTREAMS_API Aws::String SerializePayload() const override;
30
31 AWS_KEYSPACESSTREAMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
39 inline const Aws::String& GetKeyspaceName() const { return m_keyspaceName; }
40 inline bool KeyspaceNameHasBeenSet() const { return m_keyspaceNameHasBeenSet; }
41 template <typename KeyspaceNameT = Aws::String>
42 void SetKeyspaceName(KeyspaceNameT&& value) {
43 m_keyspaceNameHasBeenSet = true;
44 m_keyspaceName = std::forward<KeyspaceNameT>(value);
45 }
46 template <typename KeyspaceNameT = Aws::String>
47 ListStreamsRequest& WithKeyspaceName(KeyspaceNameT&& value) {
48 SetKeyspaceName(std::forward<KeyspaceNameT>(value));
49 return *this;
50 }
52
54
59 inline const Aws::String& GetTableName() const { return m_tableName; }
60 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
61 template <typename TableNameT = Aws::String>
62 void SetTableName(TableNameT&& value) {
63 m_tableNameHasBeenSet = true;
64 m_tableName = std::forward<TableNameT>(value);
65 }
66 template <typename TableNameT = Aws::String>
67 ListStreamsRequest& WithTableName(TableNameT&& value) {
68 SetTableName(std::forward<TableNameT>(value));
69 return *this;
70 }
72
74
79 inline int GetMaxResults() const { return m_maxResults; }
80 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
81 inline void SetMaxResults(int value) {
82 m_maxResultsHasBeenSet = true;
83 m_maxResults = value;
84 }
86 SetMaxResults(value);
87 return *this;
88 }
90
92
97 inline const Aws::String& GetNextToken() const { return m_nextToken; }
98 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
99 template <typename NextTokenT = Aws::String>
100 void SetNextToken(NextTokenT&& value) {
101 m_nextTokenHasBeenSet = true;
102 m_nextToken = std::forward<NextTokenT>(value);
103 }
104 template <typename NextTokenT = Aws::String>
105 ListStreamsRequest& WithNextToken(NextTokenT&& value) {
106 SetNextToken(std::forward<NextTokenT>(value));
107 return *this;
108 }
110 private:
111 Aws::String m_keyspaceName;
112
113 Aws::String m_tableName;
114
115 int m_maxResults{0};
116
117 Aws::String m_nextToken;
118 bool m_keyspaceNameHasBeenSet = false;
119 bool m_tableNameHasBeenSet = false;
120 bool m_maxResultsHasBeenSet = false;
121 bool m_nextTokenHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace KeyspacesStreams
126} // namespace Aws
ListStreamsRequest & WithKeyspaceName(KeyspaceNameT &&value)
ListStreamsRequest & WithNextToken(NextTokenT &&value)
AWS_KEYSPACESSTREAMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListStreamsRequest & WithTableName(TableNameT &&value)
AWS_KEYSPACESSTREAMS_API ListStreamsRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_KEYSPACESSTREAMS_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String