AWS SDK for C++  1.9.102
AWS SDK for C++
ListGatewaysRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace StorageGateway
15 {
16 namespace Model
17 {
18 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "ListGateways"; }
36 
37  Aws::String SerializePayload() const override;
38 
40 
41 
46  inline const Aws::String& GetMarker() const{ return m_marker; }
47 
52  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
53 
58  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
59 
64  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
65 
70  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
71 
76  inline ListGatewaysRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
77 
82  inline ListGatewaysRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
83 
88  inline ListGatewaysRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
89 
90 
95  inline int GetLimit() const{ return m_limit; }
96 
101  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
102 
107  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
108 
113  inline ListGatewaysRequest& WithLimit(int value) { SetLimit(value); return *this;}
114 
115  private:
116 
117  Aws::String m_marker;
118  bool m_markerHasBeenSet;
119 
120  int m_limit;
121  bool m_limitHasBeenSet;
122  };
123 
124 } // namespace Model
125 } // namespace StorageGateway
126 } // namespace Aws
Aws::StorageGateway::Model::ListGatewaysRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::StorageGateway::Model::ListGatewaysRequest::WithLimit
ListGatewaysRequest & WithLimit(int value)
Definition: ListGatewaysRequest.h:113
Aws::StorageGateway::Model::ListGatewaysRequest::ListGatewaysRequest
ListGatewaysRequest()
Aws::StorageGateway::StorageGatewayRequest
Definition: StorageGatewayRequest.h:17
Aws::StorageGateway::Model::ListGatewaysRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListGatewaysRequest.h:35
Aws::StorageGateway::Model::ListGatewaysRequest::WithMarker
ListGatewaysRequest & WithMarker(const char *value)
Definition: ListGatewaysRequest.h:88
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::ListGatewaysRequest::GetMarker
const Aws::String & GetMarker() const
Definition: ListGatewaysRequest.h:46
Aws::StorageGateway::Model::ListGatewaysRequest::GetLimit
int GetLimit() const
Definition: ListGatewaysRequest.h:95
Aws::StorageGateway::Model::ListGatewaysRequest
Definition: ListGatewaysRequest.h:27
Aws::StorageGateway::Model::ListGatewaysRequest::SerializePayload
Aws::String SerializePayload() const override
StorageGatewayRequest.h
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::ListGatewaysRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListGatewaysRequest.h:101
Aws::StorageGateway::Model::ListGatewaysRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListGatewaysRequest.h:52
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::ListGatewaysRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListGatewaysRequest.h:64
Aws::StorageGateway::Model::ListGatewaysRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListGatewaysRequest.h:58
Aws::StorageGateway::Model::ListGatewaysRequest::SetMarker
void SetMarker(const char *value)
Definition: ListGatewaysRequest.h:70
Aws::StorageGateway::Model::ListGatewaysRequest::SetLimit
void SetLimit(int value)
Definition: ListGatewaysRequest.h:107
Aws::StorageGateway::Model::ListGatewaysRequest::WithMarker
ListGatewaysRequest & WithMarker(const Aws::String &value)
Definition: ListGatewaysRequest.h:76
Aws::StorageGateway::Model::ListGatewaysRequest::WithMarker
ListGatewaysRequest & WithMarker(Aws::String &&value)
Definition: ListGatewaysRequest.h:82