AWS SDK for C++  1.9.102
AWS SDK for C++
GetRelationalDatabaseResult.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 Lightsail
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const RelationalDatabase& GetRelationalDatabase() const{ return m_relationalDatabase; }
39 
43  inline void SetRelationalDatabase(const RelationalDatabase& value) { m_relationalDatabase = value; }
44 
48  inline void SetRelationalDatabase(RelationalDatabase&& value) { m_relationalDatabase = std::move(value); }
49 
53  inline GetRelationalDatabaseResult& WithRelationalDatabase(const RelationalDatabase& value) { SetRelationalDatabase(value); return *this;}
54 
58  inline GetRelationalDatabaseResult& WithRelationalDatabase(RelationalDatabase&& value) { SetRelationalDatabase(std::move(value)); return *this;}
59 
60  private:
61 
62  RelationalDatabase m_relationalDatabase;
63  };
64 
65 } // namespace Model
66 } // namespace Lightsail
67 } // namespace Aws
Aws::Lightsail::Model::GetRelationalDatabaseResult::WithRelationalDatabase
GetRelationalDatabaseResult & WithRelationalDatabase(const RelationalDatabase &value)
Definition: GetRelationalDatabaseResult.h:53
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lightsail::Model::GetRelationalDatabaseResult::WithRelationalDatabase
GetRelationalDatabaseResult & WithRelationalDatabase(RelationalDatabase &&value)
Definition: GetRelationalDatabaseResult.h:58
Aws::Lightsail::Model::GetRelationalDatabaseResult
Definition: GetRelationalDatabaseResult.h:28
Aws::Lightsail::Model::GetRelationalDatabaseResult::SetRelationalDatabase
void SetRelationalDatabase(RelationalDatabase &&value)
Definition: GetRelationalDatabaseResult.h:48
Aws::Lightsail::Model::GetRelationalDatabaseResult::SetRelationalDatabase
void SetRelationalDatabase(const RelationalDatabase &value)
Definition: GetRelationalDatabaseResult.h:43
Aws::Lightsail::Model::GetRelationalDatabaseResult::operator=
GetRelationalDatabaseResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lightsail::Model::GetRelationalDatabaseResult::GetRelationalDatabaseResult
GetRelationalDatabaseResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Lightsail_EXPORTS.h
Aws::Lightsail::Model::GetRelationalDatabaseResult::GetRelationalDatabase
const RelationalDatabase & GetRelationalDatabase() const
Definition: GetRelationalDatabaseResult.h:38
Aws
Definition: AccessManagementClient.h:15
RelationalDatabase.h
Aws::Lightsail::Model::GetRelationalDatabaseResult::GetRelationalDatabaseResult
GetRelationalDatabaseResult()
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::RelationalDatabase
Definition: RelationalDatabase.h:41