AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
ExecuteBudgetActionRequest.h
1
6#pragma once
7#include <aws/budgets/BudgetsRequest.h>
8#include <aws/budgets/Budgets_EXPORTS.h>
9#include <aws/budgets/model/ExecutionType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Budgets {
16namespace Model {
17
21 public:
22 AWS_BUDGETS_API ExecuteBudgetActionRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "ExecuteBudgetAction"; }
29
30 AWS_BUDGETS_API Aws::String SerializePayload() const override;
31
33
35
36 inline const Aws::String& GetAccountId() const { return m_accountId; }
37 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
38 template <typename AccountIdT = Aws::String>
39 void SetAccountId(AccountIdT&& value) {
40 m_accountIdHasBeenSet = true;
41 m_accountId = std::forward<AccountIdT>(value);
42 }
43 template <typename AccountIdT = Aws::String>
45 SetAccountId(std::forward<AccountIdT>(value));
46 return *this;
47 }
49
51
52 inline const Aws::String& GetBudgetName() const { return m_budgetName; }
53 inline bool BudgetNameHasBeenSet() const { return m_budgetNameHasBeenSet; }
54 template <typename BudgetNameT = Aws::String>
55 void SetBudgetName(BudgetNameT&& value) {
56 m_budgetNameHasBeenSet = true;
57 m_budgetName = std::forward<BudgetNameT>(value);
58 }
59 template <typename BudgetNameT = Aws::String>
61 SetBudgetName(std::forward<BudgetNameT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetActionId() const { return m_actionId; }
71 inline bool ActionIdHasBeenSet() const { return m_actionIdHasBeenSet; }
72 template <typename ActionIdT = Aws::String>
73 void SetActionId(ActionIdT&& value) {
74 m_actionIdHasBeenSet = true;
75 m_actionId = std::forward<ActionIdT>(value);
76 }
77 template <typename ActionIdT = Aws::String>
79 SetActionId(std::forward<ActionIdT>(value));
80 return *this;
81 }
83
85
88 inline ExecutionType GetExecutionType() const { return m_executionType; }
89 inline bool ExecutionTypeHasBeenSet() const { return m_executionTypeHasBeenSet; }
90 inline void SetExecutionType(ExecutionType value) {
91 m_executionTypeHasBeenSet = true;
92 m_executionType = value;
93 }
95 SetExecutionType(value);
96 return *this;
97 }
99 private:
100 Aws::String m_accountId;
101
102 Aws::String m_budgetName;
103
104 Aws::String m_actionId;
105
106 ExecutionType m_executionType{ExecutionType::NOT_SET};
107 bool m_accountIdHasBeenSet = false;
108 bool m_budgetNameHasBeenSet = false;
109 bool m_actionIdHasBeenSet = false;
110 bool m_executionTypeHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace Budgets
115} // namespace Aws
ExecuteBudgetActionRequest & WithBudgetName(BudgetNameT &&value)
AWS_BUDGETS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_BUDGETS_API Aws::String SerializePayload() const override
AWS_BUDGETS_API ExecuteBudgetActionRequest()=default
ExecuteBudgetActionRequest & WithExecutionType(ExecutionType value)
virtual const char * GetServiceRequestName() const override
ExecuteBudgetActionRequest & WithAccountId(AccountIdT &&value)
ExecuteBudgetActionRequest & WithActionId(ActionIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String