AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListVolumesRequest.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 ListVolumesRequest() = 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 "ListVolumes"; }
36
37 AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override;
38
39 AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
44 inline const Aws::String& GetGatewayARN() const { return m_gatewayARN; }
45 inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
46 template<typename GatewayARNT = Aws::String>
47 void SetGatewayARN(GatewayARNT&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::forward<GatewayARNT>(value); }
48 template<typename GatewayARNT = Aws::String>
49 ListVolumesRequest& WithGatewayARN(GatewayARNT&& value) { SetGatewayARN(std::forward<GatewayARNT>(value)); return *this;}
51
53
58 inline const Aws::String& GetMarker() const { return m_marker; }
59 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
60 template<typename MarkerT = Aws::String>
61 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
62 template<typename MarkerT = Aws::String>
63 ListVolumesRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
65
67
71 inline int GetLimit() const { return m_limit; }
72 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
73 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
74 inline ListVolumesRequest& WithLimit(int value) { SetLimit(value); return *this;}
76 private:
77
78 Aws::String m_gatewayARN;
79 bool m_gatewayARNHasBeenSet = false;
80
81 Aws::String m_marker;
82 bool m_markerHasBeenSet = false;
83
84 int m_limit{0};
85 bool m_limitHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace StorageGateway
90} // namespace Aws
AWS_STORAGEGATEWAY_API ListVolumesRequest()=default
ListVolumesRequest & WithGatewayARN(GatewayARNT &&value)
ListVolumesRequest & WithMarker(MarkerT &&value)
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() 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