AWS SDK for C++  1.9.40
AWS SDK for C++
ListTableMetadataResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace Athena
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<TableMetadata>& GetTableMetadataList() const{ return m_tableMetadataList; }
41 
45  inline void SetTableMetadataList(const Aws::Vector<TableMetadata>& value) { m_tableMetadataList = value; }
46 
50  inline void SetTableMetadataList(Aws::Vector<TableMetadata>&& value) { m_tableMetadataList = std::move(value); }
51 
55  inline ListTableMetadataResult& WithTableMetadataList(const Aws::Vector<TableMetadata>& value) { SetTableMetadataList(value); return *this;}
56 
60  inline ListTableMetadataResult& WithTableMetadataList(Aws::Vector<TableMetadata>&& value) { SetTableMetadataList(std::move(value)); return *this;}
61 
65  inline ListTableMetadataResult& AddTableMetadataList(const TableMetadata& value) { m_tableMetadataList.push_back(value); return *this; }
66 
70  inline ListTableMetadataResult& AddTableMetadataList(TableMetadata&& value) { m_tableMetadataList.push_back(std::move(value)); return *this; }
71 
72 
78  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
79 
85  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
86 
92  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
93 
99  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
100 
106  inline ListTableMetadataResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
107 
113  inline ListTableMetadataResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
114 
120  inline ListTableMetadataResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121 
122  private:
123 
124  Aws::Vector<TableMetadata> m_tableMetadataList;
125 
126  Aws::String m_nextToken;
127  };
128 
129 } // namespace Model
130 } // namespace Athena
131 } // namespace Aws
Aws::Athena::Model::ListTableMetadataResult::WithNextToken
ListTableMetadataResult & WithNextToken(const Aws::String &value)
Definition: ListTableMetadataResult.h:106
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Athena::Model::ListTableMetadataResult::GetTableMetadataList
const Aws::Vector< TableMetadata > & GetTableMetadataList() const
Definition: ListTableMetadataResult.h:40
Aws::Athena::Model::ListTableMetadataResult::WithTableMetadataList
ListTableMetadataResult & WithTableMetadataList(Aws::Vector< TableMetadata > &&value)
Definition: ListTableMetadataResult.h:60
Aws::Athena::Model::ListTableMetadataResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListTableMetadataResult.h:85
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::ListTableMetadataResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListTableMetadataResult.h:92
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Athena::Model::ListTableMetadataResult::WithTableMetadataList
ListTableMetadataResult & WithTableMetadataList(const Aws::Vector< TableMetadata > &value)
Definition: ListTableMetadataResult.h:55
Aws::Athena::Model::ListTableMetadataResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListTableMetadataResult.h:99
Aws::Athena::Model::ListTableMetadataResult::SetTableMetadataList
void SetTableMetadataList(Aws::Vector< TableMetadata > &&value)
Definition: ListTableMetadataResult.h:50
Aws::Athena::Model::ListTableMetadataResult::ListTableMetadataResult
ListTableMetadataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Athena_EXPORTS.h
Aws::Athena::Model::ListTableMetadataResult::WithNextToken
ListTableMetadataResult & WithNextToken(Aws::String &&value)
Definition: ListTableMetadataResult.h:113
Aws::Athena::Model::ListTableMetadataResult::SetTableMetadataList
void SetTableMetadataList(const Aws::Vector< TableMetadata > &value)
Definition: ListTableMetadataResult.h:45
Aws
Definition: AccessManagementClient.h:15
Aws::Athena::Model::ListTableMetadataResult
Definition: ListTableMetadataResult.h:30
Aws::Athena::Model::TableMetadata
Definition: TableMetadata.h:36
Aws::Athena::Model::ListTableMetadataResult::operator=
ListTableMetadataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Athena::Model::ListTableMetadataResult::AddTableMetadataList
ListTableMetadataResult & AddTableMetadataList(const TableMetadata &value)
Definition: ListTableMetadataResult.h:65
Aws::Athena::Model::ListTableMetadataResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListTableMetadataResult.h:78
TableMetadata.h
Aws::Athena::Model::ListTableMetadataResult::AddTableMetadataList
ListTableMetadataResult & AddTableMetadataList(TableMetadata &&value)
Definition: ListTableMetadataResult.h:70
Aws::Athena::Model::ListTableMetadataResult::WithNextToken
ListTableMetadataResult & WithNextToken(const char *value)
Definition: ListTableMetadataResult.h:120
Aws::Athena::Model::ListTableMetadataResult::ListTableMetadataResult
ListTableMetadataResult()