AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListGatewaysRequest.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/storagegateway/StorageGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace StorageGateway
15{
16namespace Model
17{
18
27 {
28 public:
29 AWS_STORAGEGATEWAY_API ListGatewaysRequest();
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_STORAGEGATEWAY_API Aws::String SerializePayload() const override;
38
39 AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
47 inline const Aws::String& GetMarker() const{ return m_marker; }
48 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
49 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
50 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
51 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
52 inline ListGatewaysRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
53 inline ListGatewaysRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
54 inline ListGatewaysRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
56
58
62 inline int GetLimit() const{ return m_limit; }
63 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
64 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
65 inline ListGatewaysRequest& WithLimit(int value) { SetLimit(value); return *this;}
67 private:
68
69 Aws::String m_marker;
70 bool m_markerHasBeenSet = false;
71
72 int m_limit;
73 bool m_limitHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace StorageGateway
78} // namespace Aws
ListGatewaysRequest & WithMarker(Aws::String &&value)
ListGatewaysRequest & WithMarker(const char *value)
ListGatewaysRequest & WithMarker(const Aws::String &value)
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String