AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ListTablesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dynamodb/DynamoDBRequest.h>
9#include <aws/dynamodb/DynamoDB_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace DynamoDB {
15namespace Model {
16
24 public:
25 AWS_DYNAMODB_API ListTablesRequest() = 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 "ListTables"; }
32
33 AWS_DYNAMODB_API Aws::String SerializePayload() const override;
34
36
38
43 inline const Aws::String& GetExclusiveStartTableName() const { return m_exclusiveStartTableName; }
44 inline bool ExclusiveStartTableNameHasBeenSet() const { return m_exclusiveStartTableNameHasBeenSet; }
45 template <typename ExclusiveStartTableNameT = Aws::String>
46 void SetExclusiveStartTableName(ExclusiveStartTableNameT&& value) {
47 m_exclusiveStartTableNameHasBeenSet = true;
48 m_exclusiveStartTableName = std::forward<ExclusiveStartTableNameT>(value);
49 }
50 template <typename ExclusiveStartTableNameT = Aws::String>
51 ListTablesRequest& WithExclusiveStartTableName(ExclusiveStartTableNameT&& value) {
52 SetExclusiveStartTableName(std::forward<ExclusiveStartTableNameT>(value));
53 return *this;
54 }
56
58
62 inline int GetLimit() const { return m_limit; }
63 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
64 inline void SetLimit(int value) {
65 m_limitHasBeenSet = true;
66 m_limit = value;
67 }
68 inline ListTablesRequest& WithLimit(int value) {
69 SetLimit(value);
70 return *this;
71 }
73 private:
74 Aws::String m_exclusiveStartTableName;
75
76 int m_limit{0};
77 bool m_exclusiveStartTableNameHasBeenSet = false;
78 bool m_limitHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace DynamoDB
83} // namespace Aws
AWS_DYNAMODB_API Aws::String SerializePayload() const override
AWS_DYNAMODB_API ListTablesRequest()=default
const Aws::String & GetExclusiveStartTableName() const
virtual const char * GetServiceRequestName() const override
AWS_DYNAMODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListTablesRequest & WithExclusiveStartTableName(ExclusiveStartTableNameT &&value)
void SetExclusiveStartTableName(ExclusiveStartTableNameT &&value)
ListTablesRequest & WithLimit(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String