AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
43 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
44 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
45 inline DescribeBudgetActionHistoriesRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
46 inline DescribeBudgetActionHistoriesRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
47 inline DescribeBudgetActionHistoriesRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
49
51
52 inline const Aws::String& GetBudgetName() const{ return m_budgetName; }
53 inline bool BudgetNameHasBeenSet() const { return m_budgetNameHasBeenSet; }
54 inline void SetBudgetName(const Aws::String& value) { m_budgetNameHasBeenSet = true; m_budgetName = value; }
55 inline void SetBudgetName(Aws::String&& value) { m_budgetNameHasBeenSet = true; m_budgetName = std::move(value); }
56 inline void SetBudgetName(const char* value) { m_budgetNameHasBeenSet = true; m_budgetName.assign(value); }
58 inline DescribeBudgetActionHistoriesRequest& WithBudgetName(Aws::String&& value) { SetBudgetName(std::move(value)); return *this;}
59 inline DescribeBudgetActionHistoriesRequest& WithBudgetName(const char* value) { SetBudgetName(value); return *this;}
61
63
66 inline const Aws::String& GetActionId() const{ return m_actionId; }
67 inline bool ActionIdHasBeenSet() const { return m_actionIdHasBeenSet; }
68 inline void SetActionId(const Aws::String& value) { m_actionIdHasBeenSet = true; m_actionId = value; }
69 inline void SetActionId(Aws::String&& value) { m_actionIdHasBeenSet = true; m_actionId = std::move(value); }
70 inline void SetActionId(const char* value) { m_actionIdHasBeenSet = true; m_actionId.assign(value); }
71 inline DescribeBudgetActionHistoriesRequest& WithActionId(const Aws::String& value) { SetActionId(value); return *this;}
72 inline DescribeBudgetActionHistoriesRequest& WithActionId(Aws::String&& value) { SetActionId(std::move(value)); return *this;}
73 inline DescribeBudgetActionHistoriesRequest& WithActionId(const char* value) { SetActionId(value); return *this;}
75
77
78 inline const TimePeriod& GetTimePeriod() const{ return m_timePeriod; }
79 inline bool TimePeriodHasBeenSet() const { return m_timePeriodHasBeenSet; }
80 inline void SetTimePeriod(const TimePeriod& value) { m_timePeriodHasBeenSet = true; m_timePeriod = value; }
81 inline void SetTimePeriod(TimePeriod&& value) { m_timePeriodHasBeenSet = true; m_timePeriod = std::move(value); }
82 inline DescribeBudgetActionHistoriesRequest& WithTimePeriod(const TimePeriod& value) { SetTimePeriod(value); return *this;}
83 inline DescribeBudgetActionHistoriesRequest& WithTimePeriod(TimePeriod&& value) { SetTimePeriod(std::move(value)); return *this;}
85
87
88 inline int GetMaxResults() const{ return m_maxResults; }
89 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
90 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
91 inline DescribeBudgetActionHistoriesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
93
95
96 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
97 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
98 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
99 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
100 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
101 inline DescribeBudgetActionHistoriesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 inline DescribeBudgetActionHistoriesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
103 inline DescribeBudgetActionHistoriesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
105 private:
106
107 Aws::String m_accountId;
108 bool m_accountIdHasBeenSet = false;
109
110 Aws::String m_budgetName;
111 bool m_budgetNameHasBeenSet = false;
112
113 Aws::String m_actionId;
114 bool m_actionIdHasBeenSet = false;
115
116 TimePeriod m_timePeriod;
117 bool m_timePeriodHasBeenSet = false;
118
119 int m_maxResults;
120 bool m_maxResultsHasBeenSet = false;
121
122 Aws::String m_nextToken;
123 bool m_nextTokenHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace Budgets
128} // namespace Aws
DescribeBudgetActionHistoriesRequest & WithActionId(const char *value)
DescribeBudgetActionHistoriesRequest & WithAccountId(Aws::String &&value)
DescribeBudgetActionHistoriesRequest & WithNextToken(const char *value)
DescribeBudgetActionHistoriesRequest & WithBudgetName(const char *value)
DescribeBudgetActionHistoriesRequest & WithNextToken(Aws::String &&value)
DescribeBudgetActionHistoriesRequest & WithTimePeriod(const TimePeriod &value)
AWS_BUDGETS_API Aws::String SerializePayload() const override
DescribeBudgetActionHistoriesRequest & WithBudgetName(Aws::String &&value)
DescribeBudgetActionHistoriesRequest & WithActionId(Aws::String &&value)
AWS_BUDGETS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeBudgetActionHistoriesRequest & WithActionId(const Aws::String &value)
DescribeBudgetActionHistoriesRequest & WithBudgetName(const Aws::String &value)
DescribeBudgetActionHistoriesRequest & WithTimePeriod(TimePeriod &&value)
DescribeBudgetActionHistoriesRequest & WithAccountId(const Aws::String &value)
DescribeBudgetActionHistoriesRequest & WithNextToken(const Aws::String &value)
DescribeBudgetActionHistoriesRequest & WithAccountId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String