AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
DescribeBudgetsRequest.h
1
6#pragma once
7#include <aws/budgets/BudgetsRequest.h>
8#include <aws/budgets/Budgets_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Budgets {
15namespace Model {
16
23 public:
24 AWS_BUDGETS_API DescribeBudgetsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DescribeBudgets"; }
31
32 AWS_BUDGETS_API Aws::String SerializePayload() const override;
33
35
37
41 inline const Aws::String& GetAccountId() const { return m_accountId; }
42 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
43 template <typename AccountIdT = Aws::String>
44 void SetAccountId(AccountIdT&& value) {
45 m_accountIdHasBeenSet = true;
46 m_accountId = std::forward<AccountIdT>(value);
47 }
48 template <typename AccountIdT = Aws::String>
50 SetAccountId(std::forward<AccountIdT>(value));
51 return *this;
52 }
54
56
60 inline int GetMaxResults() const { return m_maxResults; }
61 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
62 inline void SetMaxResults(int value) {
63 m_maxResultsHasBeenSet = true;
64 m_maxResults = value;
65 }
67 SetMaxResults(value);
68 return *this;
69 }
71
73
77 inline const Aws::String& GetNextToken() const { return m_nextToken; }
78 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
79 template <typename NextTokenT = Aws::String>
80 void SetNextToken(NextTokenT&& value) {
81 m_nextTokenHasBeenSet = true;
82 m_nextToken = std::forward<NextTokenT>(value);
83 }
84 template <typename NextTokenT = Aws::String>
86 SetNextToken(std::forward<NextTokenT>(value));
87 return *this;
88 }
90
92
98 inline bool GetShowFilterExpression() const { return m_showFilterExpression; }
99 inline bool ShowFilterExpressionHasBeenSet() const { return m_showFilterExpressionHasBeenSet; }
100 inline void SetShowFilterExpression(bool value) {
101 m_showFilterExpressionHasBeenSet = true;
102 m_showFilterExpression = value;
103 }
106 return *this;
107 }
109 private:
110 Aws::String m_accountId;
111 bool m_accountIdHasBeenSet = false;
112
113 int m_maxResults{0};
114 bool m_maxResultsHasBeenSet = false;
115
116 Aws::String m_nextToken;
117 bool m_nextTokenHasBeenSet = false;
118
119 bool m_showFilterExpression{false};
120 bool m_showFilterExpressionHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace Budgets
125} // namespace Aws
AWS_BUDGETS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeBudgetsRequest & WithMaxResults(int value)
DescribeBudgetsRequest & WithNextToken(NextTokenT &&value)
AWS_BUDGETS_API DescribeBudgetsRequest()=default
virtual const char * GetServiceRequestName() const override
DescribeBudgetsRequest & WithShowFilterExpression(bool value)
DescribeBudgetsRequest & WithAccountId(AccountIdT &&value)
AWS_BUDGETS_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String