AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DescribeBudgetRequest.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 DescribeBudgetRequest() = 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 "DescribeBudget"; }
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>
49 DescribeBudgetRequest& WithAccountId(AccountIdT&& value) {
50 SetAccountId(std::forward<AccountIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetBudgetName() const { return m_budgetName; }
60 inline bool BudgetNameHasBeenSet() const { return m_budgetNameHasBeenSet; }
61 template <typename BudgetNameT = Aws::String>
62 void SetBudgetName(BudgetNameT&& value) {
63 m_budgetNameHasBeenSet = true;
64 m_budgetName = std::forward<BudgetNameT>(value);
65 }
66 template <typename BudgetNameT = Aws::String>
67 DescribeBudgetRequest& WithBudgetName(BudgetNameT&& value) {
68 SetBudgetName(std::forward<BudgetNameT>(value));
69 return *this;
70 }
72
74
80 inline bool GetShowFilterExpression() const { return m_showFilterExpression; }
81 inline bool ShowFilterExpressionHasBeenSet() const { return m_showFilterExpressionHasBeenSet; }
82 inline void SetShowFilterExpression(bool value) {
83 m_showFilterExpressionHasBeenSet = true;
84 m_showFilterExpression = value;
85 }
88 return *this;
89 }
91 private:
92 Aws::String m_accountId;
93
94 Aws::String m_budgetName;
95
96 bool m_showFilterExpression{false};
97 bool m_accountIdHasBeenSet = false;
98 bool m_budgetNameHasBeenSet = false;
99 bool m_showFilterExpressionHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace Budgets
104} // namespace Aws
DescribeBudgetRequest & WithBudgetName(BudgetNameT &&value)
AWS_BUDGETS_API DescribeBudgetRequest()=default
AWS_BUDGETS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeBudgetRequest & WithShowFilterExpression(bool value)
virtual const char * GetServiceRequestName() const override
AWS_BUDGETS_API Aws::String SerializePayload() const override
DescribeBudgetRequest & WithAccountId(AccountIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String