AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
47 inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); }
48 inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); }
49 inline ListVolumesRequest& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
50 inline ListVolumesRequest& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
51 inline ListVolumesRequest& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
53
55
60 inline const Aws::String& GetMarker() const{ return m_marker; }
61 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
62 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
63 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
64 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
65 inline ListVolumesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
66 inline ListVolumesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
67 inline ListVolumesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
69
71
75 inline int GetLimit() const{ return m_limit; }
76 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
77 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
78 inline ListVolumesRequest& WithLimit(int value) { SetLimit(value); return *this;}
80 private:
81
82 Aws::String m_gatewayARN;
83 bool m_gatewayARNHasBeenSet = false;
84
85 Aws::String m_marker;
86 bool m_markerHasBeenSet = false;
87
88 int m_limit;
89 bool m_limitHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace StorageGateway
94} // namespace Aws
ListVolumesRequest & WithMarker(const char *value)
ListVolumesRequest & WithGatewayARN(const Aws::String &value)
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListVolumesRequest & WithMarker(Aws::String &&value)
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
ListVolumesRequest & WithGatewayARN(const char *value)
ListVolumesRequest & WithGatewayARN(Aws::String &&value)
ListVolumesRequest & WithMarker(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String