AWS SDK for C++  1.9.107
AWS SDK for C++
ListNamedQueriesResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace Athena
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::Vector<Aws::String>& GetNamedQueryIds() const{ return m_namedQueryIds; }
40 
44  inline void SetNamedQueryIds(const Aws::Vector<Aws::String>& value) { m_namedQueryIds = value; }
45 
49  inline void SetNamedQueryIds(Aws::Vector<Aws::String>&& value) { m_namedQueryIds = std::move(value); }
50 
54  inline ListNamedQueriesResult& WithNamedQueryIds(const Aws::Vector<Aws::String>& value) { SetNamedQueryIds(value); return *this;}
55 
59  inline ListNamedQueriesResult& WithNamedQueryIds(Aws::Vector<Aws::String>&& value) { SetNamedQueryIds(std::move(value)); return *this;}
60 
64  inline ListNamedQueriesResult& AddNamedQueryIds(const Aws::String& value) { m_namedQueryIds.push_back(value); return *this; }
65 
69  inline ListNamedQueriesResult& AddNamedQueryIds(Aws::String&& value) { m_namedQueryIds.push_back(std::move(value)); return *this; }
70 
74  inline ListNamedQueriesResult& AddNamedQueryIds(const char* value) { m_namedQueryIds.push_back(value); return *this; }
75 
76 
83  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
84 
91  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
92 
99  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
100 
107  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
108 
115  inline ListNamedQueriesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
116 
123  inline ListNamedQueriesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
124 
131  inline ListNamedQueriesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
132 
133  private:
134 
135  Aws::Vector<Aws::String> m_namedQueryIds;
136 
137  Aws::String m_nextToken;
138  };
139 
140 } // namespace Model
141 } // namespace Athena
142 } // namespace Aws
Aws::Athena::Model::ListNamedQueriesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListNamedQueriesResult.h:107
Aws::Athena::Model::ListNamedQueriesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListNamedQueriesResult.h:91
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Athena::Model::ListNamedQueriesResult::WithNextToken
ListNamedQueriesResult & WithNextToken(const char *value)
Definition: ListNamedQueriesResult.h:131
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::ListNamedQueriesResult::ListNamedQueriesResult
ListNamedQueriesResult()
Aws::Athena::Model::ListNamedQueriesResult
Definition: ListNamedQueriesResult.h:29
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Athena::Model::ListNamedQueriesResult::AddNamedQueryIds
ListNamedQueriesResult & AddNamedQueryIds(Aws::String &&value)
Definition: ListNamedQueriesResult.h:69
Aws::Athena::Model::ListNamedQueriesResult::WithNextToken
ListNamedQueriesResult & WithNextToken(Aws::String &&value)
Definition: ListNamedQueriesResult.h:123
Aws::Athena::Model::ListNamedQueriesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListNamedQueriesResult.h:83
Aws::Athena::Model::ListNamedQueriesResult::WithNamedQueryIds
ListNamedQueriesResult & WithNamedQueryIds(const Aws::Vector< Aws::String > &value)
Definition: ListNamedQueriesResult.h:54
Aws::Athena::Model::ListNamedQueriesResult::operator=
ListNamedQueriesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Athena_EXPORTS.h
Aws::Athena::Model::ListNamedQueriesResult::WithNextToken
ListNamedQueriesResult & WithNextToken(const Aws::String &value)
Definition: ListNamedQueriesResult.h:115
Aws::Athena::Model::ListNamedQueriesResult::WithNamedQueryIds
ListNamedQueriesResult & WithNamedQueryIds(Aws::Vector< Aws::String > &&value)
Definition: ListNamedQueriesResult.h:59
Aws::Athena::Model::ListNamedQueriesResult::AddNamedQueryIds
ListNamedQueriesResult & AddNamedQueryIds(const char *value)
Definition: ListNamedQueriesResult.h:74
Aws::Athena::Model::ListNamedQueriesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListNamedQueriesResult.h:99
Aws::Athena::Model::ListNamedQueriesResult::AddNamedQueryIds
ListNamedQueriesResult & AddNamedQueryIds(const Aws::String &value)
Definition: ListNamedQueriesResult.h:64
Aws::Athena::Model::ListNamedQueriesResult::SetNamedQueryIds
void SetNamedQueryIds(Aws::Vector< Aws::String > &&value)
Definition: ListNamedQueriesResult.h:49
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::ListNamedQueriesResult::ListNamedQueriesResult
ListNamedQueriesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Athena::Model::ListNamedQueriesResult::SetNamedQueryIds
void SetNamedQueryIds(const Aws::Vector< Aws::String > &value)
Definition: ListNamedQueriesResult.h:44
Aws::Athena::Model::ListNamedQueriesResult::GetNamedQueryIds
const Aws::Vector< Aws::String > & GetNamedQueryIds() const
Definition: ListNamedQueriesResult.h:39