AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateBudgetActionResult.h
1
6#pragma once
7#include <aws/budgets/Budgets_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/budgets/model/Action.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Budgets
25{
26namespace Model
27{
29 {
30 public:
31 AWS_BUDGETS_API UpdateBudgetActionResult() = default;
34
35
37
38 inline const Aws::String& GetAccountId() const { return m_accountId; }
39 template<typename AccountIdT = Aws::String>
40 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
41 template<typename AccountIdT = Aws::String>
42 UpdateBudgetActionResult& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
44
46
47 inline const Aws::String& GetBudgetName() const { return m_budgetName; }
48 template<typename BudgetNameT = Aws::String>
49 void SetBudgetName(BudgetNameT&& value) { m_budgetNameHasBeenSet = true; m_budgetName = std::forward<BudgetNameT>(value); }
50 template<typename BudgetNameT = Aws::String>
51 UpdateBudgetActionResult& WithBudgetName(BudgetNameT&& value) { SetBudgetName(std::forward<BudgetNameT>(value)); return *this;}
53
55
58 inline const Action& GetOldAction() const { return m_oldAction; }
59 template<typename OldActionT = Action>
60 void SetOldAction(OldActionT&& value) { m_oldActionHasBeenSet = true; m_oldAction = std::forward<OldActionT>(value); }
61 template<typename OldActionT = Action>
62 UpdateBudgetActionResult& WithOldAction(OldActionT&& value) { SetOldAction(std::forward<OldActionT>(value)); return *this;}
64
66
69 inline const Action& GetNewAction() const { return m_newAction; }
70 template<typename NewActionT = Action>
71 void SetNewAction(NewActionT&& value) { m_newActionHasBeenSet = true; m_newAction = std::forward<NewActionT>(value); }
72 template<typename NewActionT = Action>
73 UpdateBudgetActionResult& WithNewAction(NewActionT&& value) { SetNewAction(std::forward<NewActionT>(value)); return *this;}
75
77
78 inline const Aws::String& GetRequestId() const { return m_requestId; }
79 template<typename RequestIdT = Aws::String>
80 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
81 template<typename RequestIdT = Aws::String>
82 UpdateBudgetActionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
84 private:
85
86 Aws::String m_accountId;
87 bool m_accountIdHasBeenSet = false;
88
89 Aws::String m_budgetName;
90 bool m_budgetNameHasBeenSet = false;
91
92 Action m_oldAction;
93 bool m_oldActionHasBeenSet = false;
94
95 Action m_newAction;
96 bool m_newActionHasBeenSet = false;
97
98 Aws::String m_requestId;
99 bool m_requestIdHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace Budgets
104} // namespace Aws
UpdateBudgetActionResult & WithOldAction(OldActionT &&value)
AWS_BUDGETS_API UpdateBudgetActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBudgetActionResult & WithNewAction(NewActionT &&value)
AWS_BUDGETS_API UpdateBudgetActionResult()=default
UpdateBudgetActionResult & WithAccountId(AccountIdT &&value)
UpdateBudgetActionResult & WithBudgetName(BudgetNameT &&value)
UpdateBudgetActionResult & WithRequestId(RequestIdT &&value)
AWS_BUDGETS_API UpdateBudgetActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue