AWS SDK for C++  1.9.104
AWS SDK for C++
GetExportSnapshotRecordsResult.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 
40  inline const Aws::Vector<ExportSnapshotRecord>& GetExportSnapshotRecords() const{ return m_exportSnapshotRecords; }
41 
45  inline void SetExportSnapshotRecords(const Aws::Vector<ExportSnapshotRecord>& value) { m_exportSnapshotRecords = value; }
46 
50  inline void SetExportSnapshotRecords(Aws::Vector<ExportSnapshotRecord>&& value) { m_exportSnapshotRecords = std::move(value); }
51 
55  inline GetExportSnapshotRecordsResult& WithExportSnapshotRecords(const Aws::Vector<ExportSnapshotRecord>& value) { SetExportSnapshotRecords(value); return *this;}
56 
60  inline GetExportSnapshotRecordsResult& WithExportSnapshotRecords(Aws::Vector<ExportSnapshotRecord>&& value) { SetExportSnapshotRecords(std::move(value)); return *this;}
61 
65  inline GetExportSnapshotRecordsResult& AddExportSnapshotRecords(const ExportSnapshotRecord& value) { m_exportSnapshotRecords.push_back(value); return *this; }
66 
70  inline GetExportSnapshotRecordsResult& AddExportSnapshotRecords(ExportSnapshotRecord&& value) { m_exportSnapshotRecords.push_back(std::move(value)); return *this; }
71 
72 
80  inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; }
81 
89  inline void SetNextPageToken(const Aws::String& value) { m_nextPageToken = value; }
90 
98  inline void SetNextPageToken(Aws::String&& value) { m_nextPageToken = std::move(value); }
99 
107  inline void SetNextPageToken(const char* value) { m_nextPageToken.assign(value); }
108 
116  inline GetExportSnapshotRecordsResult& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;}
117 
125  inline GetExportSnapshotRecordsResult& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;}
126 
134  inline GetExportSnapshotRecordsResult& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;}
135 
136  private:
137 
138  Aws::Vector<ExportSnapshotRecord> m_exportSnapshotRecords;
139 
140  Aws::String m_nextPageToken;
141  };
142 
143 } // namespace Model
144 } // namespace Lightsail
145 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lightsail::Model::GetExportSnapshotRecordsResult::WithNextPageToken
GetExportSnapshotRecordsResult & WithNextPageToken(const char *value)
Definition: GetExportSnapshotRecordsResult.h:134
Aws::Lightsail::Model::GetExportSnapshotRecordsResult::AddExportSnapshotRecords
GetExportSnapshotRecordsResult & AddExportSnapshotRecords(ExportSnapshotRecord &&value)
Definition: GetExportSnapshotRecordsResult.h:70
Aws::Lightsail::Model::GetExportSnapshotRecordsResult::operator=
GetExportSnapshotRecordsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lightsail::Model::GetExportSnapshotRecordsResult::GetExportSnapshotRecordsResult
GetExportSnapshotRecordsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lightsail::Model::ExportSnapshotRecord
Definition: ExportSnapshotRecord.h:38
AWSVector.h
Aws::Lightsail::Model::GetExportSnapshotRecordsResult::SetNextPageToken
void SetNextPageToken(const Aws::String &value)
Definition: GetExportSnapshotRecordsResult.h:89
Aws::Lightsail::Model::GetExportSnapshotRecordsResult::WithExportSnapshotRecords
GetExportSnapshotRecordsResult & WithExportSnapshotRecords(Aws::Vector< ExportSnapshotRecord > &&value)
Definition: GetExportSnapshotRecordsResult.h:60
ExportSnapshotRecord.h
Aws::Lightsail::Model::GetExportSnapshotRecordsResult::GetExportSnapshotRecordsResult
GetExportSnapshotRecordsResult()
Aws::Lightsail::Model::GetExportSnapshotRecordsResult::AddExportSnapshotRecords
GetExportSnapshotRecordsResult & AddExportSnapshotRecords(const ExportSnapshotRecord &value)
Definition: GetExportSnapshotRecordsResult.h:65
Aws::Lightsail::Model::GetExportSnapshotRecordsResult
Definition: GetExportSnapshotRecordsResult.h:30
Aws::Lightsail::Model::GetExportSnapshotRecordsResult::SetNextPageToken
void SetNextPageToken(Aws::String &&value)
Definition: GetExportSnapshotRecordsResult.h:98
AWSString.h
Aws::Lightsail::Model::GetExportSnapshotRecordsResult::WithNextPageToken
GetExportSnapshotRecordsResult & WithNextPageToken(const Aws::String &value)
Definition: GetExportSnapshotRecordsResult.h:116
Aws::Lightsail::Model::GetExportSnapshotRecordsResult::WithExportSnapshotRecords
GetExportSnapshotRecordsResult & WithExportSnapshotRecords(const Aws::Vector< ExportSnapshotRecord > &value)
Definition: GetExportSnapshotRecordsResult.h:55
Aws::Lightsail::Model::GetExportSnapshotRecordsResult::GetNextPageToken
const Aws::String & GetNextPageToken() const
Definition: GetExportSnapshotRecordsResult.h:80
Lightsail_EXPORTS.h
Aws::Lightsail::Model::GetExportSnapshotRecordsResult::SetNextPageToken
void SetNextPageToken(const char *value)
Definition: GetExportSnapshotRecordsResult.h:107
Aws::Lightsail::Model::GetExportSnapshotRecordsResult::SetExportSnapshotRecords
void SetExportSnapshotRecords(Aws::Vector< ExportSnapshotRecord > &&value)
Definition: GetExportSnapshotRecordsResult.h:50
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::GetExportSnapshotRecordsResult::SetExportSnapshotRecords
void SetExportSnapshotRecords(const Aws::Vector< ExportSnapshotRecord > &value)
Definition: GetExportSnapshotRecordsResult.h:45
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::GetExportSnapshotRecordsResult::WithNextPageToken
GetExportSnapshotRecordsResult & WithNextPageToken(Aws::String &&value)
Definition: GetExportSnapshotRecordsResult.h:125
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::GetExportSnapshotRecordsResult::GetExportSnapshotRecords
const Aws::Vector< ExportSnapshotRecord > & GetExportSnapshotRecords() const
Definition: GetExportSnapshotRecordsResult.h:40