AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ExecuteBudgetActionRequest.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/ExecutionType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Budgets
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_BUDGETS_API ExecuteBudgetActionRequest() = 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 "ExecuteBudgetAction"; }
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 ExecuteBudgetActionRequest& 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 ExecuteBudgetActionRequest& 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 ExecuteBudgetActionRequest& WithActionId(ActionIdT&& value) { SetActionId(std::forward<ActionIdT>(value)); return *this;}
69
71
74 inline ExecutionType GetExecutionType() const { return m_executionType; }
75 inline bool ExecutionTypeHasBeenSet() const { return m_executionTypeHasBeenSet; }
76 inline void SetExecutionType(ExecutionType value) { m_executionTypeHasBeenSet = true; m_executionType = value; }
79 private:
80
81 Aws::String m_accountId;
82 bool m_accountIdHasBeenSet = false;
83
84 Aws::String m_budgetName;
85 bool m_budgetNameHasBeenSet = false;
86
87 Aws::String m_actionId;
88 bool m_actionIdHasBeenSet = false;
89
91 bool m_executionTypeHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Budgets
96} // 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