AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeBudgetActionHistoriesRequest.h
1
6#pragma once
7#include <aws/budgets/Budgets_EXPORTS.h>
8#include <aws/budgets/BudgetsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/budgets/model/TimePeriod.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Budgets
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_BUDGETS_API DescribeBudgetActionHistoriesRequest() = 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 "DescribeBudgetActionHistories"; }
32
33 AWS_BUDGETS_API Aws::String SerializePayload() const override;
34
36
37
39
40 inline const Aws::String& GetAccountId() const { return m_accountId; }
41 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
42 template<typename AccountIdT = Aws::String>
43 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
44 template<typename AccountIdT = Aws::String>
45 DescribeBudgetActionHistoriesRequest& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
47
49
50 inline const Aws::String& GetBudgetName() const { return m_budgetName; }
51 inline bool BudgetNameHasBeenSet() const { return m_budgetNameHasBeenSet; }
52 template<typename BudgetNameT = Aws::String>
53 void SetBudgetName(BudgetNameT&& value) { m_budgetNameHasBeenSet = true; m_budgetName = std::forward<BudgetNameT>(value); }
54 template<typename BudgetNameT = Aws::String>
55 DescribeBudgetActionHistoriesRequest& WithBudgetName(BudgetNameT&& value) { SetBudgetName(std::forward<BudgetNameT>(value)); return *this;}
57
59
62 inline const Aws::String& GetActionId() const { return m_actionId; }
63 inline bool ActionIdHasBeenSet() const { return m_actionIdHasBeenSet; }
64 template<typename ActionIdT = Aws::String>
65 void SetActionId(ActionIdT&& value) { m_actionIdHasBeenSet = true; m_actionId = std::forward<ActionIdT>(value); }
66 template<typename ActionIdT = Aws::String>
67 DescribeBudgetActionHistoriesRequest& WithActionId(ActionIdT&& value) { SetActionId(std::forward<ActionIdT>(value)); return *this;}
69
71
72 inline const TimePeriod& GetTimePeriod() const { return m_timePeriod; }
73 inline bool TimePeriodHasBeenSet() const { return m_timePeriodHasBeenSet; }
74 template<typename TimePeriodT = TimePeriod>
75 void SetTimePeriod(TimePeriodT&& value) { m_timePeriodHasBeenSet = true; m_timePeriod = std::forward<TimePeriodT>(value); }
76 template<typename TimePeriodT = TimePeriod>
77 DescribeBudgetActionHistoriesRequest& WithTimePeriod(TimePeriodT&& value) { SetTimePeriod(std::forward<TimePeriodT>(value)); return *this;}
79
81
82 inline int GetMaxResults() const { return m_maxResults; }
83 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
84 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
85 inline DescribeBudgetActionHistoriesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
87
89
90 inline const Aws::String& GetNextToken() const { return m_nextToken; }
91 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
92 template<typename NextTokenT = Aws::String>
93 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
94 template<typename NextTokenT = Aws::String>
95 DescribeBudgetActionHistoriesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
97 private:
98
99 Aws::String m_accountId;
100 bool m_accountIdHasBeenSet = false;
101
102 Aws::String m_budgetName;
103 bool m_budgetNameHasBeenSet = false;
104
105 Aws::String m_actionId;
106 bool m_actionIdHasBeenSet = false;
107
108 TimePeriod m_timePeriod;
109 bool m_timePeriodHasBeenSet = false;
110
111 int m_maxResults{0};
112 bool m_maxResultsHasBeenSet = false;
113
114 Aws::String m_nextToken;
115 bool m_nextTokenHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace Budgets
120} // namespace Aws
DescribeBudgetActionHistoriesRequest & WithNextToken(NextTokenT &&value)
DescribeBudgetActionHistoriesRequest & WithActionId(ActionIdT &&value)
DescribeBudgetActionHistoriesRequest & WithAccountId(AccountIdT &&value)
AWS_BUDGETS_API Aws::String SerializePayload() const override
DescribeBudgetActionHistoriesRequest & WithTimePeriod(TimePeriodT &&value)
AWS_BUDGETS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeBudgetActionHistoriesRequest & WithBudgetName(BudgetNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String