AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListTablesResult.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace DynamoDB
25{
26namespace Model
27{
35 {
36 public:
37 AWS_DYNAMODB_API ListTablesResult();
40
41
43
50 inline const Aws::Vector<Aws::String>& GetTableNames() const{ return m_tableNames; }
51 inline void SetTableNames(const Aws::Vector<Aws::String>& value) { m_tableNames = value; }
52 inline void SetTableNames(Aws::Vector<Aws::String>&& value) { m_tableNames = std::move(value); }
53 inline ListTablesResult& WithTableNames(const Aws::Vector<Aws::String>& value) { SetTableNames(value); return *this;}
54 inline ListTablesResult& WithTableNames(Aws::Vector<Aws::String>&& value) { SetTableNames(std::move(value)); return *this;}
55 inline ListTablesResult& AddTableNames(const Aws::String& value) { m_tableNames.push_back(value); return *this; }
56 inline ListTablesResult& AddTableNames(Aws::String&& value) { m_tableNames.push_back(std::move(value)); return *this; }
57 inline ListTablesResult& AddTableNames(const char* value) { m_tableNames.push_back(value); return *this; }
59
61
68 inline const Aws::String& GetLastEvaluatedTableName() const{ return m_lastEvaluatedTableName; }
69 inline void SetLastEvaluatedTableName(const Aws::String& value) { m_lastEvaluatedTableName = value; }
70 inline void SetLastEvaluatedTableName(Aws::String&& value) { m_lastEvaluatedTableName = std::move(value); }
71 inline void SetLastEvaluatedTableName(const char* value) { m_lastEvaluatedTableName.assign(value); }
73 inline ListTablesResult& WithLastEvaluatedTableName(Aws::String&& value) { SetLastEvaluatedTableName(std::move(value)); return *this;}
74 inline ListTablesResult& WithLastEvaluatedTableName(const char* value) { SetLastEvaluatedTableName(value); return *this;}
76
78
79 inline const Aws::String& GetRequestId() const{ return m_requestId; }
80 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
81 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
82 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
83 inline ListTablesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
84 inline ListTablesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
85 inline ListTablesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
87 private:
88
89 Aws::Vector<Aws::String> m_tableNames;
90
91 Aws::String m_lastEvaluatedTableName;
92
93 Aws::String m_requestId;
94 };
95
96} // namespace Model
97} // namespace DynamoDB
98} // namespace Aws
const Aws::String & GetLastEvaluatedTableName() const
ListTablesResult & AddTableNames(Aws::String &&value)
ListTablesResult & AddTableNames(const Aws::String &value)
ListTablesResult & WithRequestId(Aws::String &&value)
ListTablesResult & WithTableNames(Aws::Vector< Aws::String > &&value)
ListTablesResult & AddTableNames(const char *value)
const Aws::Vector< Aws::String > & GetTableNames() const
void SetRequestId(Aws::String &&value)
void SetLastEvaluatedTableName(Aws::String &&value)
ListTablesResult & WithTableNames(const Aws::Vector< Aws::String > &value)
AWS_DYNAMODB_API ListTablesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListTablesResult & WithLastEvaluatedTableName(Aws::String &&value)
ListTablesResult & WithLastEvaluatedTableName(const Aws::String &value)
void SetLastEvaluatedTableName(const Aws::String &value)
ListTablesResult & WithRequestId(const char *value)
ListTablesResult & WithLastEvaluatedTableName(const char *value)
const Aws::String & GetRequestId() const
void SetTableNames(const Aws::Vector< Aws::String > &value)
void SetRequestId(const Aws::String &value)
void SetTableNames(Aws::Vector< Aws::String > &&value)
void SetLastEvaluatedTableName(const char *value)
ListTablesResult & WithRequestId(const Aws::String &value)
AWS_DYNAMODB_API ListTablesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue