AWS SDK for C++  1.9.15
AWS SDK for C++
GetExportSnapshotRecordsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Lightsail
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "GetExportSnapshotRecords"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
43  inline const Aws::String& GetPageToken() const{ return m_pageToken; }
44 
51  inline bool PageTokenHasBeenSet() const { return m_pageTokenHasBeenSet; }
52 
59  inline void SetPageToken(const Aws::String& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; }
60 
67  inline void SetPageToken(Aws::String&& value) { m_pageTokenHasBeenSet = true; m_pageToken = std::move(value); }
68 
75  inline void SetPageToken(const char* value) { m_pageTokenHasBeenSet = true; m_pageToken.assign(value); }
76 
83  inline GetExportSnapshotRecordsRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;}
84 
91  inline GetExportSnapshotRecordsRequest& WithPageToken(Aws::String&& value) { SetPageToken(std::move(value)); return *this;}
92 
99  inline GetExportSnapshotRecordsRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;}
100 
101  private:
102 
103  Aws::String m_pageToken;
104  bool m_pageTokenHasBeenSet;
105  };
106 
107 } // namespace Model
108 } // namespace Lightsail
109 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Lightsail::Model::GetExportSnapshotRecordsRequest::WithPageToken
GetExportSnapshotRecordsRequest & WithPageToken(const Aws::String &value)
Definition: GetExportSnapshotRecordsRequest.h:83
Aws::Lightsail::Model::GetExportSnapshotRecordsRequest::WithPageToken
GetExportSnapshotRecordsRequest & WithPageToken(Aws::String &&value)
Definition: GetExportSnapshotRecordsRequest.h:91
LightsailRequest.h
Aws::Lightsail::Model::GetExportSnapshotRecordsRequest::PageTokenHasBeenSet
bool PageTokenHasBeenSet() const
Definition: GetExportSnapshotRecordsRequest.h:51
Aws::Lightsail::Model::GetExportSnapshotRecordsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lightsail::Model::GetExportSnapshotRecordsRequest::SetPageToken
void SetPageToken(Aws::String &&value)
Definition: GetExportSnapshotRecordsRequest.h:67
Aws::Lightsail::LightsailRequest
Definition: LightsailRequest.h:17
Aws::Lightsail::Model::GetExportSnapshotRecordsRequest::GetExportSnapshotRecordsRequest
GetExportSnapshotRecordsRequest()
AWSString.h
Lightsail_EXPORTS.h
Aws::Lightsail::Model::GetExportSnapshotRecordsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetExportSnapshotRecordsRequest.h:30
Aws::Lightsail::Model::GetExportSnapshotRecordsRequest::SetPageToken
void SetPageToken(const char *value)
Definition: GetExportSnapshotRecordsRequest.h:75
Aws::Lightsail::Model::GetExportSnapshotRecordsRequest
Definition: GetExportSnapshotRecordsRequest.h:22
Aws::Lightsail::Model::GetExportSnapshotRecordsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Lightsail::Model::GetExportSnapshotRecordsRequest::WithPageToken
GetExportSnapshotRecordsRequest & WithPageToken(const char *value)
Definition: GetExportSnapshotRecordsRequest.h:99
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::GetExportSnapshotRecordsRequest::GetPageToken
const Aws::String & GetPageToken() const
Definition: GetExportSnapshotRecordsRequest.h:43
Aws::Lightsail::Model::GetExportSnapshotRecordsRequest::SetPageToken
void SetPageToken(const Aws::String &value)
Definition: GetExportSnapshotRecordsRequest.h:59
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28