AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListBudgetsRequest.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/DeadlineRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/deadline/model/BudgetStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace deadline
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_DEADLINE_API ListBudgetsRequest();
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
41
43
47 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
48 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
49 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
50 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
51 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
52 inline ListBudgetsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
53 inline ListBudgetsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
54 inline ListBudgetsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
56
58
61 inline const Aws::String& GetFarmId() const{ return m_farmId; }
62 inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; }
63 inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; }
64 inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); }
65 inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); }
66 inline ListBudgetsRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
67 inline ListBudgetsRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
68 inline ListBudgetsRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;}
70
72
76 inline int GetMaxResults() const{ return m_maxResults; }
77 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
78 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
79 inline ListBudgetsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
81
83
86 inline const BudgetStatus& GetStatus() const{ return m_status; }
87 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
88 inline void SetStatus(const BudgetStatus& value) { m_statusHasBeenSet = true; m_status = value; }
89 inline void SetStatus(BudgetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
90 inline ListBudgetsRequest& WithStatus(const BudgetStatus& value) { SetStatus(value); return *this;}
91 inline ListBudgetsRequest& WithStatus(BudgetStatus&& value) { SetStatus(std::move(value)); return *this;}
93 private:
94
95 Aws::String m_nextToken;
96 bool m_nextTokenHasBeenSet = false;
97
98 Aws::String m_farmId;
99 bool m_farmIdHasBeenSet = false;
100
101 int m_maxResults;
102 bool m_maxResultsHasBeenSet = false;
103
104 BudgetStatus m_status;
105 bool m_statusHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace deadline
110} // namespace Aws
void SetFarmId(const Aws::String &value)
ListBudgetsRequest & WithStatus(BudgetStatus &&value)
void SetStatus(const BudgetStatus &value)
ListBudgetsRequest & WithFarmId(const Aws::String &value)
ListBudgetsRequest & WithMaxResults(int value)
void SetNextToken(const Aws::String &value)
ListBudgetsRequest & WithNextToken(const char *value)
AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListBudgetsRequest & WithNextToken(Aws::String &&value)
ListBudgetsRequest & WithFarmId(const char *value)
virtual const char * GetServiceRequestName() const override
ListBudgetsRequest & WithStatus(const BudgetStatus &value)
ListBudgetsRequest & WithNextToken(const Aws::String &value)
ListBudgetsRequest & WithFarmId(Aws::String &&value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String