AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename MarkerT = Aws::String>
50 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
51 template<typename MarkerT = Aws::String>
52 ListGatewaysRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
54
56
60 inline int GetLimit() const { return m_limit; }
61 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
62 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
63 inline ListGatewaysRequest& WithLimit(int value) { SetLimit(value); return *this;}
65 private:
66
67 Aws::String m_marker;
68 bool m_markerHasBeenSet = false;
69
70 int m_limit{0};
71 bool m_limitHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace StorageGateway
76} // namespace Aws
AWS_STORAGEGATEWAY_API ListGatewaysRequest()=default
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
ListGatewaysRequest & WithMarker(MarkerT &&value)
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