AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
ListStreamsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dynamodbstreams/DynamoDBStreamsRequest.h>
9#include <aws/dynamodbstreams/DynamoDBStreams_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace DynamoDBStreams {
15namespace Model {
16
24 public:
25 AWS_DYNAMODBSTREAMS_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_DYNAMODBSTREAMS_API Aws::String SerializePayload() const override;
34
35 AWS_DYNAMODBSTREAMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
38
42 inline const Aws::String& GetTableName() const { return m_tableName; }
43 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
44 template <typename TableNameT = Aws::String>
45 void SetTableName(TableNameT&& value) {
46 m_tableNameHasBeenSet = true;
47 m_tableName = std::forward<TableNameT>(value);
48 }
49 template <typename TableNameT = Aws::String>
50 ListStreamsRequest& WithTableName(TableNameT&& value) {
51 SetTableName(std::forward<TableNameT>(value));
52 return *this;
53 }
55
57
60 inline int GetLimit() const { return m_limit; }
61 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
62 inline void SetLimit(int value) {
63 m_limitHasBeenSet = true;
64 m_limit = value;
65 }
66 inline ListStreamsRequest& WithLimit(int value) {
67 SetLimit(value);
68 return *this;
69 }
71
73
78 inline const Aws::String& GetExclusiveStartStreamArn() const { return m_exclusiveStartStreamArn; }
79 inline bool ExclusiveStartStreamArnHasBeenSet() const { return m_exclusiveStartStreamArnHasBeenSet; }
80 template <typename ExclusiveStartStreamArnT = Aws::String>
81 void SetExclusiveStartStreamArn(ExclusiveStartStreamArnT&& value) {
82 m_exclusiveStartStreamArnHasBeenSet = true;
83 m_exclusiveStartStreamArn = std::forward<ExclusiveStartStreamArnT>(value);
84 }
85 template <typename ExclusiveStartStreamArnT = Aws::String>
86 ListStreamsRequest& WithExclusiveStartStreamArn(ExclusiveStartStreamArnT&& value) {
87 SetExclusiveStartStreamArn(std::forward<ExclusiveStartStreamArnT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_tableName;
93
94 int m_limit{0};
95
96 Aws::String m_exclusiveStartStreamArn;
97 bool m_tableNameHasBeenSet = false;
98 bool m_limitHasBeenSet = false;
99 bool m_exclusiveStartStreamArnHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace DynamoDBStreams
104} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_DYNAMODBSTREAMS_API ListStreamsRequest()=default
void SetExclusiveStartStreamArn(ExclusiveStartStreamArnT &&value)
AWS_DYNAMODBSTREAMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListStreamsRequest & WithTableName(TableNameT &&value)
ListStreamsRequest & WithExclusiveStartStreamArn(ExclusiveStartStreamArnT &&value)
AWS_DYNAMODBSTREAMS_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