AWS SDK for C++  1.9.40
AWS SDK for C++
ListFileSharesRequest.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 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "ListFileShares"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
45  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
46 
52  inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
53 
59  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
60 
66  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); }
67 
73  inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); }
74 
80  inline ListFileSharesRequest& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
81 
87  inline ListFileSharesRequest& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
88 
94  inline ListFileSharesRequest& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
95 
96 
101  inline int GetLimit() const{ return m_limit; }
102 
107  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
108 
113  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
114 
119  inline ListFileSharesRequest& WithLimit(int value) { SetLimit(value); return *this;}
120 
121 
127  inline const Aws::String& GetMarker() const{ return m_marker; }
128 
134  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
135 
141  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
142 
148  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
149 
155  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
156 
162  inline ListFileSharesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
163 
169  inline ListFileSharesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
170 
176  inline ListFileSharesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
177 
178  private:
179 
180  Aws::String m_gatewayARN;
181  bool m_gatewayARNHasBeenSet;
182 
183  int m_limit;
184  bool m_limitHasBeenSet;
185 
186  Aws::String m_marker;
187  bool m_markerHasBeenSet;
188  };
189 
190 } // namespace Model
191 } // namespace StorageGateway
192 } // namespace Aws
Aws::StorageGateway::Model::ListFileSharesRequest
Definition: ListFileSharesRequest.h:25
Aws::StorageGateway::Model::ListFileSharesRequest::WithMarker
ListFileSharesRequest & WithMarker(Aws::String &&value)
Definition: ListFileSharesRequest.h:169
Aws::StorageGateway::Model::ListFileSharesRequest::WithGatewayARN
ListFileSharesRequest & WithGatewayARN(const char *value)
Definition: ListFileSharesRequest.h:94
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::StorageGateway::Model::ListFileSharesRequest::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: ListFileSharesRequest.h:59
Aws::StorageGateway::Model::ListFileSharesRequest::WithGatewayARN
ListFileSharesRequest & WithGatewayARN(const Aws::String &value)
Definition: ListFileSharesRequest.h:80
Aws::StorageGateway::Model::ListFileSharesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListFileSharesRequest.h:33
Aws::StorageGateway::Model::ListFileSharesRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListFileSharesRequest.h:148
Aws::StorageGateway::Model::ListFileSharesRequest::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: ListFileSharesRequest.h:73
Aws::StorageGateway::Model::ListFileSharesRequest::GatewayARNHasBeenSet
bool GatewayARNHasBeenSet() const
Definition: ListFileSharesRequest.h:52
Aws::StorageGateway::Model::ListFileSharesRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListFileSharesRequest.h:134
Aws::StorageGateway::Model::ListFileSharesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::StorageGateway::StorageGatewayRequest
Definition: StorageGatewayRequest.h:17
Aws::StorageGateway::Model::ListFileSharesRequest::ListFileSharesRequest
ListFileSharesRequest()
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::ListFileSharesRequest::WithMarker
ListFileSharesRequest & WithMarker(const Aws::String &value)
Definition: ListFileSharesRequest.h:162
Aws::StorageGateway::Model::ListFileSharesRequest::SetMarker
void SetMarker(const char *value)
Definition: ListFileSharesRequest.h:155
Aws::StorageGateway::Model::ListFileSharesRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListFileSharesRequest.h:141
Aws::StorageGateway::Model::ListFileSharesRequest::GetMarker
const Aws::String & GetMarker() const
Definition: ListFileSharesRequest.h:127
Aws::StorageGateway::Model::ListFileSharesRequest::WithGatewayARN
ListFileSharesRequest & WithGatewayARN(Aws::String &&value)
Definition: ListFileSharesRequest.h:87
StorageGatewayRequest.h
Aws::StorageGateway::Model::ListFileSharesRequest::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: ListFileSharesRequest.h:66
Aws::StorageGateway::Model::ListFileSharesRequest::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: ListFileSharesRequest.h:45
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::ListFileSharesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::StorageGateway::Model::ListFileSharesRequest::GetLimit
int GetLimit() const
Definition: ListFileSharesRequest.h:101
Aws::StorageGateway::Model::ListFileSharesRequest::SetLimit
void SetLimit(int value)
Definition: ListFileSharesRequest.h:113
Aws::StorageGateway::Model::ListFileSharesRequest::WithLimit
ListFileSharesRequest & WithLimit(int value)
Definition: ListFileSharesRequest.h:119
Aws::StorageGateway::Model::ListFileSharesRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListFileSharesRequest.h:107
Aws::StorageGateway::Model::ListFileSharesRequest::WithMarker
ListFileSharesRequest & WithMarker(const char *value)
Definition: ListFileSharesRequest.h:176