AWS SDK for C++  1.9.106
AWS SDK for C++
ListFileSystemAssociationsRequest.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 
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 "ListFileSystemAssociations"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
37 
38  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
39 
40 
41  inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
42 
43 
44  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
45 
46 
47  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); }
48 
49 
50  inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); }
51 
52 
53  inline ListFileSystemAssociationsRequest& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
54 
55 
56  inline ListFileSystemAssociationsRequest& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
57 
58 
59  inline ListFileSystemAssociationsRequest& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
60 
61 
67  inline int GetLimit() const{ return m_limit; }
68 
74  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
75 
81  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
82 
88  inline ListFileSystemAssociationsRequest& WithLimit(int value) { SetLimit(value); return *this;}
89 
90 
97  inline const Aws::String& GetMarker() const{ return m_marker; }
98 
105  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
106 
113  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
114 
121  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
122 
129  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
130 
137  inline ListFileSystemAssociationsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
138 
145  inline ListFileSystemAssociationsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
146 
153  inline ListFileSystemAssociationsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
154 
155  private:
156 
157  Aws::String m_gatewayARN;
158  bool m_gatewayARNHasBeenSet;
159 
160  int m_limit;
161  bool m_limitHasBeenSet;
162 
163  Aws::String m_marker;
164  bool m_markerHasBeenSet;
165  };
166 
167 } // namespace Model
168 } // namespace StorageGateway
169 } // namespace Aws
Aws::StorageGateway::Model::ListFileSystemAssociationsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListFileSystemAssociationsRequest.h:74
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::StorageGateway::Model::ListFileSystemAssociationsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListFileSystemAssociationsRequest.h:121
Aws::StorageGateway::Model::ListFileSystemAssociationsRequest
Definition: ListFileSystemAssociationsRequest.h:22
Aws::StorageGateway::Model::ListFileSystemAssociationsRequest::WithGatewayARN
ListFileSystemAssociationsRequest & WithGatewayARN(Aws::String &&value)
Definition: ListFileSystemAssociationsRequest.h:56
Aws::StorageGateway::Model::ListFileSystemAssociationsRequest::ListFileSystemAssociationsRequest
ListFileSystemAssociationsRequest()
Aws::StorageGateway::StorageGatewayRequest
Definition: StorageGatewayRequest.h:17
Aws::StorageGateway::Model::ListFileSystemAssociationsRequest::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: ListFileSystemAssociationsRequest.h:38
Aws::StorageGateway::Model::ListFileSystemAssociationsRequest::WithGatewayARN
ListFileSystemAssociationsRequest & WithGatewayARN(const char *value)
Definition: ListFileSystemAssociationsRequest.h:59
Aws::StorageGateway::Model::ListFileSystemAssociationsRequest::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: ListFileSystemAssociationsRequest.h:50
Aws::StorageGateway::Model::ListFileSystemAssociationsRequest::WithMarker
ListFileSystemAssociationsRequest & WithMarker(const char *value)
Definition: ListFileSystemAssociationsRequest.h:153
Aws::StorageGateway::Model::ListFileSystemAssociationsRequest::WithLimit
ListFileSystemAssociationsRequest & WithLimit(int value)
Definition: ListFileSystemAssociationsRequest.h:88
Aws::StorageGateway::Model::ListFileSystemAssociationsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::StorageGateway::Model::ListFileSystemAssociationsRequest::WithMarker
ListFileSystemAssociationsRequest & WithMarker(Aws::String &&value)
Definition: ListFileSystemAssociationsRequest.h:145
Aws::StorageGateway::Model::ListFileSystemAssociationsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::StorageGateway::Model::ListFileSystemAssociationsRequest::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: ListFileSystemAssociationsRequest.h:44
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::ListFileSystemAssociationsRequest::GatewayARNHasBeenSet
bool GatewayARNHasBeenSet() const
Definition: ListFileSystemAssociationsRequest.h:41
Aws::StorageGateway::Model::ListFileSystemAssociationsRequest::WithMarker
ListFileSystemAssociationsRequest & WithMarker(const Aws::String &value)
Definition: ListFileSystemAssociationsRequest.h:137
Aws::StorageGateway::Model::ListFileSystemAssociationsRequest::SetMarker
void SetMarker(const char *value)
Definition: ListFileSystemAssociationsRequest.h:129
Aws::StorageGateway::Model::ListFileSystemAssociationsRequest::WithGatewayARN
ListFileSystemAssociationsRequest & WithGatewayARN(const Aws::String &value)
Definition: ListFileSystemAssociationsRequest.h:53
Aws::StorageGateway::Model::ListFileSystemAssociationsRequest::SetLimit
void SetLimit(int value)
Definition: ListFileSystemAssociationsRequest.h:81
Aws::StorageGateway::Model::ListFileSystemAssociationsRequest::GetLimit
int GetLimit() const
Definition: ListFileSystemAssociationsRequest.h:67
Aws::StorageGateway::Model::ListFileSystemAssociationsRequest::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: ListFileSystemAssociationsRequest.h:47
StorageGatewayRequest.h
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::ListFileSystemAssociationsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListFileSystemAssociationsRequest.h:105
Aws::StorageGateway::Model::ListFileSystemAssociationsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListFileSystemAssociationsRequest.h:113
Aws::StorageGateway::Model::ListFileSystemAssociationsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListFileSystemAssociationsRequest.h:30
Aws::StorageGateway::Model::ListFileSystemAssociationsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: ListFileSystemAssociationsRequest.h:97