AWS SDK for C++  1.9.68
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 
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
Aws::DynamoDBStreams::Model::ListStreamsRequest::SetTableName
void SetTableName(Aws::String &&value)
Definition: ListStreamsRequest.h:63
Aws::DynamoDBStreams::Model::ListStreamsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DynamoDBStreams::Model::ListStreamsRequest::WithExclusiveStartStreamArn
ListStreamsRequest & WithExclusiveStartStreamArn(const Aws::String &value)
Definition: ListStreamsRequest.h:151
Aws::DynamoDBStreams::Model::ListStreamsRequest::GetLimit
int GetLimit() const
Definition: ListStreamsRequest.h:93
DynamoDBStreams_EXPORTS.h
Aws::DynamoDBStreams::Model::ListStreamsRequest::GetTableName
const Aws::String & GetTableName() const
Definition: ListStreamsRequest.h:45
Aws::DynamoDBStreams::Model::ListStreamsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListStreamsRequest.h:98
Aws::DynamoDBStreams::Model::ListStreamsRequest::SetExclusiveStartStreamArn
void SetExclusiveStartStreamArn(const Aws::String &value)
Definition: ListStreamsRequest.h:130
Aws::DynamoDBStreams::Model::ListStreamsRequest::WithExclusiveStartStreamArn
ListStreamsRequest & WithExclusiveStartStreamArn(const char *value)
Definition: ListStreamsRequest.h:165
AWS_DYNAMODBSTREAMS_API
#define AWS_DYNAMODBSTREAMS_API
Definition: DynamoDBStreams_EXPORTS.h:28
Aws::DynamoDBStreams::Model::ListStreamsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DynamoDBStreams::Model::ListStreamsRequest::WithTableName
ListStreamsRequest & WithTableName(Aws::String &&value)
Definition: ListStreamsRequest.h:81
Aws::DynamoDBStreams::Model::ListStreamsRequest::GetExclusiveStartStreamArn
const Aws::String & GetExclusiveStartStreamArn() const
Definition: ListStreamsRequest.h:116
Aws::DynamoDBStreams::Model::ListStreamsRequest::WithTableName
ListStreamsRequest & WithTableName(const Aws::String &value)
Definition: ListStreamsRequest.h:75
Aws::DynamoDBStreams::Model::ListStreamsRequest::ExclusiveStartStreamArnHasBeenSet
bool ExclusiveStartStreamArnHasBeenSet() const
Definition: ListStreamsRequest.h:123
Aws::DynamoDBStreams::Model::ListStreamsRequest::WithLimit
ListStreamsRequest & WithLimit(int value)
Definition: ListStreamsRequest.h:108
AWSString.h
Aws::DynamoDBStreams::Model::ListStreamsRequest::WithExclusiveStartStreamArn
ListStreamsRequest & WithExclusiveStartStreamArn(Aws::String &&value)
Definition: ListStreamsRequest.h:158
Aws::DynamoDBStreams::Model::ListStreamsRequest::SetExclusiveStartStreamArn
void SetExclusiveStartStreamArn(const char *value)
Definition: ListStreamsRequest.h:144
Aws::DynamoDBStreams::Model::ListStreamsRequest::WithTableName
ListStreamsRequest & WithTableName(const char *value)
Definition: ListStreamsRequest.h:87
Aws
Definition: AccessManagementClient.h:15
Aws::DynamoDBStreams::Model::ListStreamsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListStreamsRequest.h:34
Aws::DynamoDBStreams::Model::ListStreamsRequest::TableNameHasBeenSet
bool TableNameHasBeenSet() const
Definition: ListStreamsRequest.h:51
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DynamoDBStreams::DynamoDBStreamsRequest
Definition: DynamoDBStreamsRequest.h:17
Aws::DynamoDBStreams::Model::ListStreamsRequest::SetExclusiveStartStreamArn
void SetExclusiveStartStreamArn(Aws::String &&value)
Definition: ListStreamsRequest.h:137
Aws::DynamoDBStreams::Model::ListStreamsRequest::SetLimit
void SetLimit(int value)
Definition: ListStreamsRequest.h:103
Aws::DynamoDBStreams::Model::ListStreamsRequest::ListStreamsRequest
ListStreamsRequest()
Aws::DynamoDBStreams::Model::ListStreamsRequest::SetTableName
void SetTableName(const char *value)
Definition: ListStreamsRequest.h:69
DynamoDBStreamsRequest.h
Aws::DynamoDBStreams::Model::ListStreamsRequest::SetTableName
void SetTableName(const Aws::String &value)
Definition: ListStreamsRequest.h:57
Aws::DynamoDBStreams::Model::ListStreamsRequest
Definition: ListStreamsRequest.h:26