AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListGlobalTablesResult.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 <aws/dynamodb/model/GlobalTable.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace DynamoDB
26{
27namespace Model
28{
30 {
31 public:
32 AWS_DYNAMODB_API ListGlobalTablesResult();
35
36
38
41 inline const Aws::Vector<GlobalTable>& GetGlobalTables() const{ return m_globalTables; }
42 inline void SetGlobalTables(const Aws::Vector<GlobalTable>& value) { m_globalTables = value; }
43 inline void SetGlobalTables(Aws::Vector<GlobalTable>&& value) { m_globalTables = std::move(value); }
45 inline ListGlobalTablesResult& WithGlobalTables(Aws::Vector<GlobalTable>&& value) { SetGlobalTables(std::move(value)); return *this;}
46 inline ListGlobalTablesResult& AddGlobalTables(const GlobalTable& value) { m_globalTables.push_back(value); return *this; }
47 inline ListGlobalTablesResult& AddGlobalTables(GlobalTable&& value) { m_globalTables.push_back(std::move(value)); return *this; }
49
51
54 inline const Aws::String& GetLastEvaluatedGlobalTableName() const{ return m_lastEvaluatedGlobalTableName; }
55 inline void SetLastEvaluatedGlobalTableName(const Aws::String& value) { m_lastEvaluatedGlobalTableName = value; }
56 inline void SetLastEvaluatedGlobalTableName(Aws::String&& value) { m_lastEvaluatedGlobalTableName = std::move(value); }
57 inline void SetLastEvaluatedGlobalTableName(const char* value) { m_lastEvaluatedGlobalTableName.assign(value); }
62
64
65 inline const Aws::String& GetRequestId() const{ return m_requestId; }
66 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
67 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
68 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
69 inline ListGlobalTablesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
70 inline ListGlobalTablesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
71 inline ListGlobalTablesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
73 private:
74
75 Aws::Vector<GlobalTable> m_globalTables;
76
77 Aws::String m_lastEvaluatedGlobalTableName;
78
79 Aws::String m_requestId;
80 };
81
82} // namespace Model
83} // namespace DynamoDB
84} // namespace Aws
ListGlobalTablesResult & WithGlobalTables(Aws::Vector< GlobalTable > &&value)
void SetGlobalTables(const Aws::Vector< GlobalTable > &value)
ListGlobalTablesResult & WithRequestId(Aws::String &&value)
ListGlobalTablesResult & AddGlobalTables(const GlobalTable &value)
AWS_DYNAMODB_API ListGlobalTablesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListGlobalTablesResult & WithRequestId(const char *value)
ListGlobalTablesResult & WithLastEvaluatedGlobalTableName(const char *value)
AWS_DYNAMODB_API ListGlobalTablesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListGlobalTablesResult & AddGlobalTables(GlobalTable &&value)
const Aws::String & GetLastEvaluatedGlobalTableName() const
void SetGlobalTables(Aws::Vector< GlobalTable > &&value)
ListGlobalTablesResult & WithLastEvaluatedGlobalTableName(Aws::String &&value)
ListGlobalTablesResult & WithLastEvaluatedGlobalTableName(const Aws::String &value)
void SetLastEvaluatedGlobalTableName(const Aws::String &value)
ListGlobalTablesResult & WithRequestId(const Aws::String &value)
const Aws::Vector< GlobalTable > & GetGlobalTables() const
ListGlobalTablesResult & WithGlobalTables(const Aws::Vector< GlobalTable > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue