AWS SDK for C++  1.9.15
AWS SDK for C++
GetRelationalDatabaseSnapshotsResult.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 Lightsail
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::Vector<RelationalDatabaseSnapshot>& GetRelationalDatabaseSnapshots() const{ return m_relationalDatabaseSnapshots; }
42 
47  inline void SetRelationalDatabaseSnapshots(const Aws::Vector<RelationalDatabaseSnapshot>& value) { m_relationalDatabaseSnapshots = value; }
48 
53  inline void SetRelationalDatabaseSnapshots(Aws::Vector<RelationalDatabaseSnapshot>&& value) { m_relationalDatabaseSnapshots = std::move(value); }
54 
59  inline GetRelationalDatabaseSnapshotsResult& WithRelationalDatabaseSnapshots(const Aws::Vector<RelationalDatabaseSnapshot>& value) { SetRelationalDatabaseSnapshots(value); return *this;}
60 
65  inline GetRelationalDatabaseSnapshotsResult& WithRelationalDatabaseSnapshots(Aws::Vector<RelationalDatabaseSnapshot>&& value) { SetRelationalDatabaseSnapshots(std::move(value)); return *this;}
66 
71  inline GetRelationalDatabaseSnapshotsResult& AddRelationalDatabaseSnapshots(const RelationalDatabaseSnapshot& value) { m_relationalDatabaseSnapshots.push_back(value); return *this; }
72 
77  inline GetRelationalDatabaseSnapshotsResult& AddRelationalDatabaseSnapshots(RelationalDatabaseSnapshot&& value) { m_relationalDatabaseSnapshots.push_back(std::move(value)); return *this; }
78 
79 
87  inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; }
88 
96  inline void SetNextPageToken(const Aws::String& value) { m_nextPageToken = value; }
97 
105  inline void SetNextPageToken(Aws::String&& value) { m_nextPageToken = std::move(value); }
106 
114  inline void SetNextPageToken(const char* value) { m_nextPageToken.assign(value); }
115 
123  inline GetRelationalDatabaseSnapshotsResult& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;}
124 
132  inline GetRelationalDatabaseSnapshotsResult& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;}
133 
141  inline GetRelationalDatabaseSnapshotsResult& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;}
142 
143  private:
144 
145  Aws::Vector<RelationalDatabaseSnapshot> m_relationalDatabaseSnapshots;
146 
147  Aws::String m_nextPageToken;
148  };
149 
150 } // namespace Model
151 } // namespace Lightsail
152 } // namespace Aws
Aws::Lightsail::Model::GetRelationalDatabaseSnapshotsResult::SetRelationalDatabaseSnapshots
void SetRelationalDatabaseSnapshots(const Aws::Vector< RelationalDatabaseSnapshot > &value)
Definition: GetRelationalDatabaseSnapshotsResult.h:47
Aws::Lightsail::Model::GetRelationalDatabaseSnapshotsResult::AddRelationalDatabaseSnapshots
GetRelationalDatabaseSnapshotsResult & AddRelationalDatabaseSnapshots(const RelationalDatabaseSnapshot &value)
Definition: GetRelationalDatabaseSnapshotsResult.h:71
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lightsail::Model::GetRelationalDatabaseSnapshotsResult::operator=
GetRelationalDatabaseSnapshotsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lightsail::Model::GetRelationalDatabaseSnapshotsResult::AddRelationalDatabaseSnapshots
GetRelationalDatabaseSnapshotsResult & AddRelationalDatabaseSnapshots(RelationalDatabaseSnapshot &&value)
Definition: GetRelationalDatabaseSnapshotsResult.h:77
RelationalDatabaseSnapshot.h
Aws::Lightsail::Model::GetRelationalDatabaseSnapshotsResult::GetRelationalDatabaseSnapshotsResult
GetRelationalDatabaseSnapshotsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lightsail::Model::GetRelationalDatabaseSnapshotsResult::WithRelationalDatabaseSnapshots
GetRelationalDatabaseSnapshotsResult & WithRelationalDatabaseSnapshots(Aws::Vector< RelationalDatabaseSnapshot > &&value)
Definition: GetRelationalDatabaseSnapshotsResult.h:65
AWSVector.h
Aws::Lightsail::Model::GetRelationalDatabaseSnapshotsResult::WithNextPageToken
GetRelationalDatabaseSnapshotsResult & WithNextPageToken(Aws::String &&value)
Definition: GetRelationalDatabaseSnapshotsResult.h:132
Aws::Lightsail::Model::GetRelationalDatabaseSnapshotsResult::WithNextPageToken
GetRelationalDatabaseSnapshotsResult & WithNextPageToken(const char *value)
Definition: GetRelationalDatabaseSnapshotsResult.h:141
Aws::Lightsail::Model::GetRelationalDatabaseSnapshotsResult::WithNextPageToken
GetRelationalDatabaseSnapshotsResult & WithNextPageToken(const Aws::String &value)
Definition: GetRelationalDatabaseSnapshotsResult.h:123
Aws::Lightsail::Model::GetRelationalDatabaseSnapshotsResult
Definition: GetRelationalDatabaseSnapshotsResult.h:30
Aws::Lightsail::Model::GetRelationalDatabaseSnapshotsResult::SetNextPageToken
void SetNextPageToken(const Aws::String &value)
Definition: GetRelationalDatabaseSnapshotsResult.h:96
AWSString.h
Aws::Lightsail::Model::GetRelationalDatabaseSnapshotsResult::WithRelationalDatabaseSnapshots
GetRelationalDatabaseSnapshotsResult & WithRelationalDatabaseSnapshots(const Aws::Vector< RelationalDatabaseSnapshot > &value)
Definition: GetRelationalDatabaseSnapshotsResult.h:59
Lightsail_EXPORTS.h
Aws::Lightsail::Model::GetRelationalDatabaseSnapshotsResult::GetRelationalDatabaseSnapshots
const Aws::Vector< RelationalDatabaseSnapshot > & GetRelationalDatabaseSnapshots() const
Definition: GetRelationalDatabaseSnapshotsResult.h:41
Aws::Lightsail::Model::GetRelationalDatabaseSnapshotsResult::SetRelationalDatabaseSnapshots
void SetRelationalDatabaseSnapshots(Aws::Vector< RelationalDatabaseSnapshot > &&value)
Definition: GetRelationalDatabaseSnapshotsResult.h:53
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::RelationalDatabaseSnapshot
Definition: RelationalDatabaseSnapshot.h:37
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::GetRelationalDatabaseSnapshotsResult::SetNextPageToken
void SetNextPageToken(Aws::String &&value)
Definition: GetRelationalDatabaseSnapshotsResult.h:105
Aws::Lightsail::Model::GetRelationalDatabaseSnapshotsResult::SetNextPageToken
void SetNextPageToken(const char *value)
Definition: GetRelationalDatabaseSnapshotsResult.h:114
Aws::Lightsail::Model::GetRelationalDatabaseSnapshotsResult::GetNextPageToken
const Aws::String & GetNextPageToken() const
Definition: GetRelationalDatabaseSnapshotsResult.h:87
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::GetRelationalDatabaseSnapshotsResult::GetRelationalDatabaseSnapshotsResult
GetRelationalDatabaseSnapshotsResult()