AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
ListLimitsRequest.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 ListLimitsRequest() = 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 "ListLimits"; }
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 ListLimitsRequest& WithFarmId(FarmIdT&& value) {
53 SetFarmId(std::forward<FarmIdT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::String& GetNextToken() const { return m_nextToken; }
64 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
65 template <typename NextTokenT = Aws::String>
66 void SetNextToken(NextTokenT&& value) {
67 m_nextTokenHasBeenSet = true;
68 m_nextToken = std::forward<NextTokenT>(value);
69 }
70 template <typename NextTokenT = Aws::String>
71 ListLimitsRequest& WithNextToken(NextTokenT&& value) {
72 SetNextToken(std::forward<NextTokenT>(value));
73 return *this;
74 }
76
78
81 inline int GetMaxResults() const { return m_maxResults; }
82 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
83 inline void SetMaxResults(int value) {
84 m_maxResultsHasBeenSet = true;
85 m_maxResults = value;
86 }
87 inline ListLimitsRequest& WithMaxResults(int value) {
88 SetMaxResults(value);
89 return *this;
90 }
92 private:
93 Aws::String m_farmId;
94
95 Aws::String m_nextToken;
96
97 int m_maxResults{0};
98 bool m_farmIdHasBeenSet = false;
99 bool m_nextTokenHasBeenSet = false;
100 bool m_maxResultsHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace deadline
105} // namespace Aws
AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::String & GetNextToken() const
ListLimitsRequest & WithFarmId(FarmIdT &&value)
AWS_DEADLINE_API ListLimitsRequest()=default
AWS_DEADLINE_API Aws::String SerializePayload() const override
ListLimitsRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
ListLimitsRequest & WithMaxResults(int value)
const Aws::String & GetFarmId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String