AWS SDK for C++  1.8.95
AWS SDK for C++
ListStreamsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace DynamoDBStreams
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ListStreams"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39 
40 
45  inline const Aws::String& GetTableName() const{ return m_tableName; }
46 
51  inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
52 
57  inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
58 
63  inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
64 
69  inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
70 
75  inline ListStreamsRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
76 
81  inline ListStreamsRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
82 
87  inline ListStreamsRequest& WithTableName(const char* value) { SetTableName(value); return *this;}
88 
89 
93  inline int GetLimit() const{ return m_limit; }
94 
98  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
99 
103  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
104 
108  inline ListStreamsRequest& WithLimit(int value) { SetLimit(value); return *this;}
109 
110 
116  inline const Aws::String& GetExclusiveStartStreamArn() const{ return m_exclusiveStartStreamArn; }
117 
123  inline bool ExclusiveStartStreamArnHasBeenSet() const { return m_exclusiveStartStreamArnHasBeenSet; }
124 
130  inline void SetExclusiveStartStreamArn(const Aws::String& value) { m_exclusiveStartStreamArnHasBeenSet = true; m_exclusiveStartStreamArn = value; }
131 
137  inline void SetExclusiveStartStreamArn(Aws::String&& value) { m_exclusiveStartStreamArnHasBeenSet = true; m_exclusiveStartStreamArn = std::move(value); }
138 
144  inline void SetExclusiveStartStreamArn(const char* value) { m_exclusiveStartStreamArnHasBeenSet = true; m_exclusiveStartStreamArn.assign(value); }
145 
151  inline ListStreamsRequest& WithExclusiveStartStreamArn(const Aws::String& value) { SetExclusiveStartStreamArn(value); return *this;}
152 
158  inline ListStreamsRequest& WithExclusiveStartStreamArn(Aws::String&& value) { SetExclusiveStartStreamArn(std::move(value)); return *this;}
159 
165  inline ListStreamsRequest& WithExclusiveStartStreamArn(const char* value) { SetExclusiveStartStreamArn(value); return *this;}
166 
167  private:
168 
169  Aws::String m_tableName;
170  bool m_tableNameHasBeenSet;
171 
172  int m_limit;
173  bool m_limitHasBeenSet;
174 
175  Aws::String m_exclusiveStartStreamArn;
176  bool m_exclusiveStartStreamArnHasBeenSet;
177  };
178 
179 } // namespace Model
180 } // namespace DynamoDBStreams
181 } // namespace Aws
ListStreamsRequest & WithExclusiveStartStreamArn(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
virtual const char * GetServiceRequestName() const override
void SetExclusiveStartStreamArn(const Aws::String &value)
ListStreamsRequest & WithExclusiveStartStreamArn(const Aws::String &value)
#define AWS_DYNAMODBSTREAMS_API
ListStreamsRequest & WithTableName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListStreamsRequest & WithTableName(Aws::String &&value)
ListStreamsRequest & WithExclusiveStartStreamArn(Aws::String &&value)
ListStreamsRequest & WithTableName(const char *value)
const Aws::String & GetExclusiveStartStreamArn() const