AWS SDK for C++  1.9.22
AWS SDK for C++
GetRelationalDatabaseBlueprintsRequest.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 "GetRelationalDatabaseBlueprints"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
44  inline const Aws::String& GetPageToken() const{ return m_pageToken; }
45 
53  inline bool PageTokenHasBeenSet() const { return m_pageTokenHasBeenSet; }
54 
62  inline void SetPageToken(const Aws::String& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; }
63 
71  inline void SetPageToken(Aws::String&& value) { m_pageTokenHasBeenSet = true; m_pageToken = std::move(value); }
72 
80  inline void SetPageToken(const char* value) { m_pageTokenHasBeenSet = true; m_pageToken.assign(value); }
81 
89  inline GetRelationalDatabaseBlueprintsRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;}
90 
98  inline GetRelationalDatabaseBlueprintsRequest& WithPageToken(Aws::String&& value) { SetPageToken(std::move(value)); return *this;}
99 
107  inline GetRelationalDatabaseBlueprintsRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;}
108 
109  private:
110 
111  Aws::String m_pageToken;
112  bool m_pageTokenHasBeenSet;
113  };
114 
115 } // namespace Model
116 } // namespace Lightsail
117 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsRequest::SetPageToken
void SetPageToken(const char *value)
Definition: GetRelationalDatabaseBlueprintsRequest.h:80
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsRequest::SetPageToken
void SetPageToken(const Aws::String &value)
Definition: GetRelationalDatabaseBlueprintsRequest.h:62
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsRequest::WithPageToken
GetRelationalDatabaseBlueprintsRequest & WithPageToken(const char *value)
Definition: GetRelationalDatabaseBlueprintsRequest.h:107
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsRequest::GetRelationalDatabaseBlueprintsRequest
GetRelationalDatabaseBlueprintsRequest()
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetRelationalDatabaseBlueprintsRequest.h:30
LightsailRequest.h
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsRequest::GetPageToken
const Aws::String & GetPageToken() const
Definition: GetRelationalDatabaseBlueprintsRequest.h:44
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsRequest::SetPageToken
void SetPageToken(Aws::String &&value)
Definition: GetRelationalDatabaseBlueprintsRequest.h:71
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsRequest::WithPageToken
GetRelationalDatabaseBlueprintsRequest & WithPageToken(const Aws::String &value)
Definition: GetRelationalDatabaseBlueprintsRequest.h:89
Aws::Lightsail::LightsailRequest
Definition: LightsailRequest.h:17
AWSString.h
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsRequest::WithPageToken
GetRelationalDatabaseBlueprintsRequest & WithPageToken(Aws::String &&value)
Definition: GetRelationalDatabaseBlueprintsRequest.h:98
Lightsail_EXPORTS.h
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsRequest::PageTokenHasBeenSet
bool PageTokenHasBeenSet() const
Definition: GetRelationalDatabaseBlueprintsRequest.h:53
Aws
Definition: AccessManagementClient.h:15
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
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsRequest
Definition: GetRelationalDatabaseBlueprintsRequest.h:22