AWS SDK for C++  1.9.40
AWS SDK for C++
ListEngineVersionsResult.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<EngineVersion>& GetEngineVersions() const{ return m_engineVersions; }
41 
45  inline void SetEngineVersions(const Aws::Vector<EngineVersion>& value) { m_engineVersions = value; }
46 
50  inline void SetEngineVersions(Aws::Vector<EngineVersion>&& value) { m_engineVersions = std::move(value); }
51 
55  inline ListEngineVersionsResult& WithEngineVersions(const Aws::Vector<EngineVersion>& value) { SetEngineVersions(value); return *this;}
56 
60  inline ListEngineVersionsResult& WithEngineVersions(Aws::Vector<EngineVersion>&& value) { SetEngineVersions(std::move(value)); return *this;}
61 
65  inline ListEngineVersionsResult& AddEngineVersions(const EngineVersion& value) { m_engineVersions.push_back(value); return *this; }
66 
70  inline ListEngineVersionsResult& AddEngineVersions(EngineVersion&& value) { m_engineVersions.push_back(std::move(value)); return *this; }
71 
72 
79  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
80 
87  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
88 
95  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
96 
103  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
104 
111  inline ListEngineVersionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
112 
119  inline ListEngineVersionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
120 
127  inline ListEngineVersionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
128 
129  private:
130 
131  Aws::Vector<EngineVersion> m_engineVersions;
132 
133  Aws::String m_nextToken;
134  };
135 
136 } // namespace Model
137 } // namespace Athena
138 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Athena::Model::ListEngineVersionsResult::AddEngineVersions
ListEngineVersionsResult & AddEngineVersions(const EngineVersion &value)
Definition: ListEngineVersionsResult.h:65
Aws::Athena::Model::ListEngineVersionsResult::operator=
ListEngineVersionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::ListEngineVersionsResult::ListEngineVersionsResult
ListEngineVersionsResult()
Aws::Athena::Model::EngineVersion
Definition: EngineVersion.h:32
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Athena::Model::ListEngineVersionsResult::WithEngineVersions
ListEngineVersionsResult & WithEngineVersions(Aws::Vector< EngineVersion > &&value)
Definition: ListEngineVersionsResult.h:60
Aws::Athena::Model::ListEngineVersionsResult::SetEngineVersions
void SetEngineVersions(const Aws::Vector< EngineVersion > &value)
Definition: ListEngineVersionsResult.h:45
AWSVector.h
Aws::Athena::Model::ListEngineVersionsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListEngineVersionsResult.h:95
Aws::Athena::Model::ListEngineVersionsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListEngineVersionsResult.h:87
Aws::Athena::Model::ListEngineVersionsResult::WithEngineVersions
ListEngineVersionsResult & WithEngineVersions(const Aws::Vector< EngineVersion > &value)
Definition: ListEngineVersionsResult.h:55
Aws::Athena::Model::ListEngineVersionsResult::AddEngineVersions
ListEngineVersionsResult & AddEngineVersions(EngineVersion &&value)
Definition: ListEngineVersionsResult.h:70
Aws::Athena::Model::ListEngineVersionsResult::WithNextToken
ListEngineVersionsResult & WithNextToken(const char *value)
Definition: ListEngineVersionsResult.h:127
Aws::Athena::Model::ListEngineVersionsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListEngineVersionsResult.h:103
Aws::Athena::Model::ListEngineVersionsResult::ListEngineVersionsResult
ListEngineVersionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Athena::Model::ListEngineVersionsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListEngineVersionsResult.h:79
AWSString.h
Athena_EXPORTS.h
Aws::Athena::Model::ListEngineVersionsResult::GetEngineVersions
const Aws::Vector< EngineVersion > & GetEngineVersions() const
Definition: ListEngineVersionsResult.h:40
Aws::Athena::Model::ListEngineVersionsResult
Definition: ListEngineVersionsResult.h:30
Aws::Athena::Model::ListEngineVersionsResult::WithNextToken
ListEngineVersionsResult & WithNextToken(const Aws::String &value)
Definition: ListEngineVersionsResult.h:111
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::ListEngineVersionsResult::SetEngineVersions
void SetEngineVersions(Aws::Vector< EngineVersion > &&value)
Definition: ListEngineVersionsResult.h:50
Aws::Athena::Model::ListEngineVersionsResult::WithNextToken
ListEngineVersionsResult & WithNextToken(Aws::String &&value)
Definition: ListEngineVersionsResult.h:119
EngineVersion.h