AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
34
35
37
38 inline const Aws::String& GetAccountId() const{ return m_accountId; }
39 inline void SetAccountId(const Aws::String& value) { m_accountId = value; }
40 inline void SetAccountId(Aws::String&& value) { m_accountId = std::move(value); }
41 inline void SetAccountId(const char* value) { m_accountId.assign(value); }
42 inline UpdateBudgetActionResult& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
43 inline UpdateBudgetActionResult& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
44 inline UpdateBudgetActionResult& WithAccountId(const char* value) { SetAccountId(value); return *this;}
46
48
49 inline const Aws::String& GetBudgetName() const{ return m_budgetName; }
50 inline void SetBudgetName(const Aws::String& value) { m_budgetName = value; }
51 inline void SetBudgetName(Aws::String&& value) { m_budgetName = std::move(value); }
52 inline void SetBudgetName(const char* value) { m_budgetName.assign(value); }
53 inline UpdateBudgetActionResult& WithBudgetName(const Aws::String& value) { SetBudgetName(value); return *this;}
54 inline UpdateBudgetActionResult& WithBudgetName(Aws::String&& value) { SetBudgetName(std::move(value)); return *this;}
55 inline UpdateBudgetActionResult& WithBudgetName(const char* value) { SetBudgetName(value); return *this;}
57
59
62 inline const Action& GetOldAction() const{ return m_oldAction; }
63 inline void SetOldAction(const Action& value) { m_oldAction = value; }
64 inline void SetOldAction(Action&& value) { m_oldAction = std::move(value); }
65 inline UpdateBudgetActionResult& WithOldAction(const Action& value) { SetOldAction(value); return *this;}
66 inline UpdateBudgetActionResult& WithOldAction(Action&& value) { SetOldAction(std::move(value)); return *this;}
68
70
73 inline const Action& GetNewAction() const{ return m_newAction; }
74 inline void SetNewAction(const Action& value) { m_newAction = value; }
75 inline void SetNewAction(Action&& value) { m_newAction = std::move(value); }
76 inline UpdateBudgetActionResult& WithNewAction(const Action& value) { SetNewAction(value); return *this;}
77 inline UpdateBudgetActionResult& WithNewAction(Action&& value) { SetNewAction(std::move(value)); return *this;}
79
81
82 inline const Aws::String& GetRequestId() const{ return m_requestId; }
83 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
84 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
85 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
86 inline UpdateBudgetActionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
87 inline UpdateBudgetActionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
88 inline UpdateBudgetActionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
90 private:
91
92 Aws::String m_accountId;
93
94 Aws::String m_budgetName;
95
96 Action m_oldAction;
97
98 Action m_newAction;
99
100 Aws::String m_requestId;
101 };
102
103} // namespace Model
104} // namespace Budgets
105} // namespace Aws
UpdateBudgetActionResult & WithRequestId(const Aws::String &value)
UpdateBudgetActionResult & WithAccountId(Aws::String &&value)
UpdateBudgetActionResult & WithBudgetName(const char *value)
UpdateBudgetActionResult & WithBudgetName(const Aws::String &value)
UpdateBudgetActionResult & WithAccountId(const Aws::String &value)
UpdateBudgetActionResult & WithOldAction(Action &&value)
UpdateBudgetActionResult & WithRequestId(Aws::String &&value)
AWS_BUDGETS_API UpdateBudgetActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBudgetActionResult & WithRequestId(const char *value)
UpdateBudgetActionResult & WithNewAction(Action &&value)
UpdateBudgetActionResult & WithAccountId(const char *value)
UpdateBudgetActionResult & WithBudgetName(Aws::String &&value)
UpdateBudgetActionResult & WithOldAction(const Action &value)
UpdateBudgetActionResult & WithNewAction(const Action &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