AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
ListVolumesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/deadline/DeadlineRequest.h>
9#include <aws/deadline/Deadline_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace deadline {
18namespace Model {
19
27 public:
28 AWS_DEADLINE_API ListVolumesRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ListVolumes"; }
35
36 AWS_DEADLINE_API Aws::String SerializePayload() const override;
37
38 AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
41
44 inline const Aws::String& GetFarmId() const { return m_farmId; }
45 inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; }
46 template <typename FarmIdT = Aws::String>
47 void SetFarmId(FarmIdT&& value) {
48 m_farmIdHasBeenSet = true;
49 m_farmId = std::forward<FarmIdT>(value);
50 }
51 template <typename FarmIdT = Aws::String>
52 ListVolumesRequest& WithFarmId(FarmIdT&& value) {
53 SetFarmId(std::forward<FarmIdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetFleetId() const { return m_fleetId; }
63 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
64 template <typename FleetIdT = Aws::String>
65 void SetFleetId(FleetIdT&& value) {
66 m_fleetIdHasBeenSet = true;
67 m_fleetId = std::forward<FleetIdT>(value);
68 }
69 template <typename FleetIdT = Aws::String>
70 ListVolumesRequest& WithFleetId(FleetIdT&& value) {
71 SetFleetId(std::forward<FleetIdT>(value));
72 return *this;
73 }
75
77
81 inline const Aws::String& GetNextToken() const { return m_nextToken; }
82 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
83 template <typename NextTokenT = Aws::String>
84 void SetNextToken(NextTokenT&& value) {
85 m_nextTokenHasBeenSet = true;
86 m_nextToken = std::forward<NextTokenT>(value);
87 }
88 template <typename NextTokenT = Aws::String>
89 ListVolumesRequest& WithNextToken(NextTokenT&& value) {
90 SetNextToken(std::forward<NextTokenT>(value));
91 return *this;
92 }
94
96
100 inline int GetMaxResults() const { return m_maxResults; }
101 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
102 inline void SetMaxResults(int value) {
103 m_maxResultsHasBeenSet = true;
104 m_maxResults = value;
105 }
107 SetMaxResults(value);
108 return *this;
109 }
111 private:
112 Aws::String m_farmId;
113
114 Aws::String m_fleetId;
115
116 Aws::String m_nextToken;
117
118 int m_maxResults{0};
119 bool m_farmIdHasBeenSet = false;
120 bool m_fleetIdHasBeenSet = false;
121 bool m_nextTokenHasBeenSet = false;
122 bool m_maxResultsHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace deadline
127} // namespace Aws
virtual const char * GetServiceRequestName() const override
ListVolumesRequest & WithFarmId(FarmIdT &&value)
AWS_DEADLINE_API ListVolumesRequest()=default
ListVolumesRequest & WithFleetId(FleetIdT &&value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
ListVolumesRequest & WithNextToken(NextTokenT &&value)
AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListVolumesRequest & WithMaxResults(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String