AWS SDK for C++  1.9.102
AWS SDK for C++
GetBundlesRequest.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 "GetBundles"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline bool GetIncludeInactive() const{ return m_includeInactive; }
42 
47  inline bool IncludeInactiveHasBeenSet() const { return m_includeInactiveHasBeenSet; }
48 
53  inline void SetIncludeInactive(bool value) { m_includeInactiveHasBeenSet = true; m_includeInactive = value; }
54 
59  inline GetBundlesRequest& WithIncludeInactive(bool value) { SetIncludeInactive(value); return *this;}
60 
61 
68  inline const Aws::String& GetPageToken() const{ return m_pageToken; }
69 
76  inline bool PageTokenHasBeenSet() const { return m_pageTokenHasBeenSet; }
77 
84  inline void SetPageToken(const Aws::String& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; }
85 
92  inline void SetPageToken(Aws::String&& value) { m_pageTokenHasBeenSet = true; m_pageToken = std::move(value); }
93 
100  inline void SetPageToken(const char* value) { m_pageTokenHasBeenSet = true; m_pageToken.assign(value); }
101 
108  inline GetBundlesRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;}
109 
116  inline GetBundlesRequest& WithPageToken(Aws::String&& value) { SetPageToken(std::move(value)); return *this;}
117 
124  inline GetBundlesRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;}
125 
126  private:
127 
128  bool m_includeInactive;
129  bool m_includeInactiveHasBeenSet;
130 
131  Aws::String m_pageToken;
132  bool m_pageTokenHasBeenSet;
133  };
134 
135 } // namespace Model
136 } // namespace Lightsail
137 } // namespace Aws
Aws::Lightsail::Model::GetBundlesRequest::SetIncludeInactive
void SetIncludeInactive(bool value)
Definition: GetBundlesRequest.h:53
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Lightsail::Model::GetBundlesRequest
Definition: GetBundlesRequest.h:22
Aws::Lightsail::Model::GetBundlesRequest::SetPageToken
void SetPageToken(const char *value)
Definition: GetBundlesRequest.h:100
Aws::Lightsail::Model::GetBundlesRequest::WithPageToken
GetBundlesRequest & WithPageToken(const char *value)
Definition: GetBundlesRequest.h:124
Aws::Lightsail::Model::GetBundlesRequest::IncludeInactiveHasBeenSet
bool IncludeInactiveHasBeenSet() const
Definition: GetBundlesRequest.h:47
LightsailRequest.h
Aws::Lightsail::Model::GetBundlesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lightsail::Model::GetBundlesRequest::SetPageToken
void SetPageToken(const Aws::String &value)
Definition: GetBundlesRequest.h:84
Aws::Lightsail::Model::GetBundlesRequest::WithPageToken
GetBundlesRequest & WithPageToken(Aws::String &&value)
Definition: GetBundlesRequest.h:116
Aws::Lightsail::Model::GetBundlesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Lightsail::Model::GetBundlesRequest::GetIncludeInactive
bool GetIncludeInactive() const
Definition: GetBundlesRequest.h:41
Aws::Lightsail::LightsailRequest
Definition: LightsailRequest.h:17
Aws::Lightsail::Model::GetBundlesRequest::GetBundlesRequest
GetBundlesRequest()
AWSString.h
Aws::Lightsail::Model::GetBundlesRequest::SetPageToken
void SetPageToken(Aws::String &&value)
Definition: GetBundlesRequest.h:92
Aws::Lightsail::Model::GetBundlesRequest::GetPageToken
const Aws::String & GetPageToken() const
Definition: GetBundlesRequest.h:68
Lightsail_EXPORTS.h
Aws::Lightsail::Model::GetBundlesRequest::PageTokenHasBeenSet
bool PageTokenHasBeenSet() const
Definition: GetBundlesRequest.h:76
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::Model::GetBundlesRequest::WithIncludeInactive
GetBundlesRequest & WithIncludeInactive(bool value)
Definition: GetBundlesRequest.h:59
Aws::Lightsail::Model::GetBundlesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetBundlesRequest.h:30
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::GetBundlesRequest::WithPageToken
GetBundlesRequest & WithPageToken(const Aws::String &value)
Definition: GetBundlesRequest.h:108