AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
ListBudgetsRequest.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#include <aws/deadline/model/BudgetStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace deadline {
19namespace Model {
20
24 public:
25 AWS_DEADLINE_API ListBudgetsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListBudgets"; }
32
33 AWS_DEADLINE_API Aws::String SerializePayload() const override;
34
35 AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
42 inline const Aws::String& GetNextToken() const { return m_nextToken; }
43 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
44 template <typename NextTokenT = Aws::String>
45 void SetNextToken(NextTokenT&& value) {
46 m_nextTokenHasBeenSet = true;
47 m_nextToken = std::forward<NextTokenT>(value);
48 }
49 template <typename NextTokenT = Aws::String>
50 ListBudgetsRequest& WithNextToken(NextTokenT&& value) {
51 SetNextToken(std::forward<NextTokenT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetFarmId() const { return m_farmId; }
61 inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; }
62 template <typename FarmIdT = Aws::String>
63 void SetFarmId(FarmIdT&& value) {
64 m_farmIdHasBeenSet = true;
65 m_farmId = std::forward<FarmIdT>(value);
66 }
67 template <typename FarmIdT = Aws::String>
68 ListBudgetsRequest& WithFarmId(FarmIdT&& value) {
69 SetFarmId(std::forward<FarmIdT>(value));
70 return *this;
71 }
73
75
79 inline int GetMaxResults() const { return m_maxResults; }
80 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
81 inline void SetMaxResults(int value) {
82 m_maxResultsHasBeenSet = true;
83 m_maxResults = value;
84 }
86 SetMaxResults(value);
87 return *this;
88 }
90
92
95 inline BudgetStatus GetStatus() const { return m_status; }
96 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
97 inline void SetStatus(BudgetStatus value) {
98 m_statusHasBeenSet = true;
99 m_status = value;
100 }
102 SetStatus(value);
103 return *this;
104 }
106 private:
107 Aws::String m_nextToken;
108
109 Aws::String m_farmId;
110
111 int m_maxResults{0};
112
114 bool m_nextTokenHasBeenSet = false;
115 bool m_farmIdHasBeenSet = false;
116 bool m_maxResultsHasBeenSet = false;
117 bool m_statusHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace deadline
122} // namespace Aws
ListBudgetsRequest & WithMaxResults(int value)
ListBudgetsRequest & WithStatus(BudgetStatus value)
AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListBudgetsRequest & WithFarmId(FarmIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_DEADLINE_API ListBudgetsRequest()=default
ListBudgetsRequest & WithNextToken(NextTokenT &&value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String