AWS SDK for C++

AWS SDK for C++ Version 1.11.779

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
28 public:
29 AWS_DEADLINE_API ListBudgetsRequest() = 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 "ListBudgets"; }
36
37 AWS_DEADLINE_API Aws::String SerializePayload() const override;
38
39 AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
42
45 inline const Aws::String& GetFarmId() const { return m_farmId; }
46 inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; }
47 template <typename FarmIdT = Aws::String>
48 void SetFarmId(FarmIdT&& value) {
49 m_farmIdHasBeenSet = true;
50 m_farmId = std::forward<FarmIdT>(value);
51 }
52 template <typename FarmIdT = Aws::String>
53 ListBudgetsRequest& WithFarmId(FarmIdT&& value) {
54 SetFarmId(std::forward<FarmIdT>(value));
55 return *this;
56 }
58
60
64 inline const Aws::String& GetNextToken() const { return m_nextToken; }
65 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
66 template <typename NextTokenT = Aws::String>
67 void SetNextToken(NextTokenT&& value) {
68 m_nextTokenHasBeenSet = true;
69 m_nextToken = std::forward<NextTokenT>(value);
70 }
71 template <typename NextTokenT = Aws::String>
72 ListBudgetsRequest& WithNextToken(NextTokenT&& value) {
73 SetNextToken(std::forward<NextTokenT>(value));
74 return *this;
75 }
77
79
83 inline int GetMaxResults() const { return m_maxResults; }
84 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
85 inline void SetMaxResults(int value) {
86 m_maxResultsHasBeenSet = true;
87 m_maxResults = value;
88 }
90 SetMaxResults(value);
91 return *this;
92 }
94
96
99 inline BudgetStatus GetStatus() const { return m_status; }
100 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
101 inline void SetStatus(BudgetStatus value) {
102 m_statusHasBeenSet = true;
103 m_status = value;
104 }
106 SetStatus(value);
107 return *this;
108 }
110 private:
111 Aws::String m_farmId;
112
113 Aws::String m_nextToken;
114
115 int m_maxResults{0};
116
118 bool m_farmIdHasBeenSet = false;
119 bool m_nextTokenHasBeenSet = false;
120 bool m_maxResultsHasBeenSet = false;
121 bool m_statusHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace deadline
126} // 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