AWS SDK for C++  1.9.16
AWS SDK for C++
GetRelationalDatabaseSnapshotResult.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 RelationalDatabaseSnapshot& GetRelationalDatabaseSnapshot() const{ return m_relationalDatabaseSnapshot; }
39 
43  inline void SetRelationalDatabaseSnapshot(const RelationalDatabaseSnapshot& value) { m_relationalDatabaseSnapshot = value; }
44 
48  inline void SetRelationalDatabaseSnapshot(RelationalDatabaseSnapshot&& value) { m_relationalDatabaseSnapshot = std::move(value); }
49 
53  inline GetRelationalDatabaseSnapshotResult& WithRelationalDatabaseSnapshot(const RelationalDatabaseSnapshot& value) { SetRelationalDatabaseSnapshot(value); return *this;}
54 
58  inline GetRelationalDatabaseSnapshotResult& WithRelationalDatabaseSnapshot(RelationalDatabaseSnapshot&& value) { SetRelationalDatabaseSnapshot(std::move(value)); return *this;}
59 
60  private:
61 
62  RelationalDatabaseSnapshot m_relationalDatabaseSnapshot;
63  };
64 
65 } // namespace Model
66 } // namespace Lightsail
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
RelationalDatabaseSnapshot.h
Aws::Lightsail::Model::GetRelationalDatabaseSnapshotResult::SetRelationalDatabaseSnapshot
void SetRelationalDatabaseSnapshot(RelationalDatabaseSnapshot &&value)
Definition: GetRelationalDatabaseSnapshotResult.h:48
Aws::Lightsail::Model::GetRelationalDatabaseSnapshotResult::operator=
GetRelationalDatabaseSnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lightsail::Model::GetRelationalDatabaseSnapshotResult::GetRelationalDatabaseSnapshot
const RelationalDatabaseSnapshot & GetRelationalDatabaseSnapshot() const
Definition: GetRelationalDatabaseSnapshotResult.h:38
Aws::Lightsail::Model::GetRelationalDatabaseSnapshotResult::WithRelationalDatabaseSnapshot
GetRelationalDatabaseSnapshotResult & WithRelationalDatabaseSnapshot(const RelationalDatabaseSnapshot &value)
Definition: GetRelationalDatabaseSnapshotResult.h:53
Aws::Lightsail::Model::GetRelationalDatabaseSnapshotResult
Definition: GetRelationalDatabaseSnapshotResult.h:28
Lightsail_EXPORTS.h
Aws::Lightsail::Model::GetRelationalDatabaseSnapshotResult::WithRelationalDatabaseSnapshot
GetRelationalDatabaseSnapshotResult & WithRelationalDatabaseSnapshot(RelationalDatabaseSnapshot &&value)
Definition: GetRelationalDatabaseSnapshotResult.h:58
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::GetRelationalDatabaseSnapshotResult::GetRelationalDatabaseSnapshotResult
GetRelationalDatabaseSnapshotResult()
Aws::Lightsail::Model::RelationalDatabaseSnapshot
Definition: RelationalDatabaseSnapshot.h:37
Aws::Lightsail::Model::GetRelationalDatabaseSnapshotResult::SetRelationalDatabaseSnapshot
void SetRelationalDatabaseSnapshot(const RelationalDatabaseSnapshot &value)
Definition: GetRelationalDatabaseSnapshotResult.h:43
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::GetRelationalDatabaseSnapshotResult::GetRelationalDatabaseSnapshotResult
GetRelationalDatabaseSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)