AWS SDK for C++  1.9.107
AWS SDK for C++
GetDatabaseResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Athena
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Database& GetDatabase() const{ return m_database; }
39 
43  inline void SetDatabase(const Database& value) { m_database = value; }
44 
48  inline void SetDatabase(Database&& value) { m_database = std::move(value); }
49 
53  inline GetDatabaseResult& WithDatabase(const Database& value) { SetDatabase(value); return *this;}
54 
58  inline GetDatabaseResult& WithDatabase(Database&& value) { SetDatabase(std::move(value)); return *this;}
59 
60  private:
61 
62  Database m_database;
63  };
64 
65 } // namespace Model
66 } // namespace Athena
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Athena::Model::GetDatabaseResult::GetDatabase
const Database & GetDatabase() const
Definition: GetDatabaseResult.h:38
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::GetDatabaseResult::WithDatabase
GetDatabaseResult & WithDatabase(Database &&value)
Definition: GetDatabaseResult.h:58
Aws::Athena::Model::GetDatabaseResult::GetDatabaseResult
GetDatabaseResult()
Aws::Athena::Model::GetDatabaseResult::GetDatabaseResult
GetDatabaseResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Athena::Model::GetDatabaseResult::SetDatabase
void SetDatabase(const Database &value)
Definition: GetDatabaseResult.h:43
Aws::Athena::Model::GetDatabaseResult::operator=
GetDatabaseResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Athena::Model::GetDatabaseResult::SetDatabase
void SetDatabase(Database &&value)
Definition: GetDatabaseResult.h:48
Athena_EXPORTS.h
Database.h
Aws::Athena::Model::GetDatabaseResult::WithDatabase
GetDatabaseResult & WithDatabase(const Database &value)
Definition: GetDatabaseResult.h:53
Aws::Athena::Model::GetDatabaseResult
Definition: GetDatabaseResult.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::Athena::Model::Database
Definition: Database.h:34