AWS SDK for C++  1.9.107
AWS SDK for C++
ListDataCatalogsResult.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<DataCatalogSummary>& GetDataCatalogsSummary() const{ return m_dataCatalogsSummary; }
41 
45  inline void SetDataCatalogsSummary(const Aws::Vector<DataCatalogSummary>& value) { m_dataCatalogsSummary = value; }
46 
50  inline void SetDataCatalogsSummary(Aws::Vector<DataCatalogSummary>&& value) { m_dataCatalogsSummary = std::move(value); }
51 
55  inline ListDataCatalogsResult& WithDataCatalogsSummary(const Aws::Vector<DataCatalogSummary>& value) { SetDataCatalogsSummary(value); return *this;}
56 
60  inline ListDataCatalogsResult& WithDataCatalogsSummary(Aws::Vector<DataCatalogSummary>&& value) { SetDataCatalogsSummary(std::move(value)); return *this;}
61 
65  inline ListDataCatalogsResult& AddDataCatalogsSummary(const DataCatalogSummary& value) { m_dataCatalogsSummary.push_back(value); return *this; }
66 
70  inline ListDataCatalogsResult& AddDataCatalogsSummary(DataCatalogSummary&& value) { m_dataCatalogsSummary.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 ListDataCatalogsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
107 
113  inline ListDataCatalogsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
114 
120  inline ListDataCatalogsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121 
122  private:
123 
124  Aws::Vector<DataCatalogSummary> m_dataCatalogsSummary;
125 
126  Aws::String m_nextToken;
127  };
128 
129 } // namespace Model
130 } // namespace Athena
131 } // namespace Aws
Aws::Athena::Model::ListDataCatalogsResult::AddDataCatalogsSummary
ListDataCatalogsResult & AddDataCatalogsSummary(const DataCatalogSummary &value)
Definition: ListDataCatalogsResult.h:65
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Athena::Model::ListDataCatalogsResult::WithNextToken
ListDataCatalogsResult & WithNextToken(const Aws::String &value)
Definition: ListDataCatalogsResult.h:106
Aws::Athena::Model::ListDataCatalogsResult::WithDataCatalogsSummary
ListDataCatalogsResult & WithDataCatalogsSummary(Aws::Vector< DataCatalogSummary > &&value)
Definition: ListDataCatalogsResult.h:60
Aws::Athena::Model::ListDataCatalogsResult::operator=
ListDataCatalogsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::ListDataCatalogsResult::AddDataCatalogsSummary
ListDataCatalogsResult & AddDataCatalogsSummary(DataCatalogSummary &&value)
Definition: ListDataCatalogsResult.h:70
Aws::Athena::Model::ListDataCatalogsResult
Definition: ListDataCatalogsResult.h:30
Aws::Athena::Model::ListDataCatalogsResult::SetDataCatalogsSummary
void SetDataCatalogsSummary(Aws::Vector< DataCatalogSummary > &&value)
Definition: ListDataCatalogsResult.h:50
Aws::Athena::Model::ListDataCatalogsResult::GetDataCatalogsSummary
const Aws::Vector< DataCatalogSummary > & GetDataCatalogsSummary() const
Definition: ListDataCatalogsResult.h:40
Aws::Athena::Model::ListDataCatalogsResult::SetDataCatalogsSummary
void SetDataCatalogsSummary(const Aws::Vector< DataCatalogSummary > &value)
Definition: ListDataCatalogsResult.h:45
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Athena::Model::ListDataCatalogsResult::WithDataCatalogsSummary
ListDataCatalogsResult & WithDataCatalogsSummary(const Aws::Vector< DataCatalogSummary > &value)
Definition: ListDataCatalogsResult.h:55
Aws::Athena::Model::ListDataCatalogsResult::WithNextToken
ListDataCatalogsResult & WithNextToken(const char *value)
Definition: ListDataCatalogsResult.h:120
AWSString.h
Athena_EXPORTS.h
Aws::Athena::Model::ListDataCatalogsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDataCatalogsResult.h:85
Aws::Athena::Model::DataCatalogSummary
Definition: DataCatalogSummary.h:34
Aws::Athena::Model::ListDataCatalogsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDataCatalogsResult.h:78
Aws::Athena::Model::ListDataCatalogsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDataCatalogsResult.h:92
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Athena::Model::ListDataCatalogsResult::ListDataCatalogsResult
ListDataCatalogsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Athena::Model::ListDataCatalogsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListDataCatalogsResult.h:99
Aws::Athena::Model::ListDataCatalogsResult::ListDataCatalogsResult
ListDataCatalogsResult()
DataCatalogSummary.h
Aws::Athena::Model::ListDataCatalogsResult::WithNextToken
ListDataCatalogsResult & WithNextToken(Aws::String &&value)
Definition: ListDataCatalogsResult.h:113