AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeBudgetActionResult.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 DescribeBudgetActionResult();
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 DescribeBudgetActionResult& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
43 inline DescribeBudgetActionResult& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
44 inline DescribeBudgetActionResult& 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 DescribeBudgetActionResult& WithBudgetName(const Aws::String& value) { SetBudgetName(value); return *this;}
54 inline DescribeBudgetActionResult& WithBudgetName(Aws::String&& value) { SetBudgetName(std::move(value)); return *this;}
55 inline DescribeBudgetActionResult& WithBudgetName(const char* value) { SetBudgetName(value); return *this;}
57
59
62 inline const Action& GetAction() const{ return m_action; }
63 inline void SetAction(const Action& value) { m_action = value; }
64 inline void SetAction(Action&& value) { m_action = std::move(value); }
65 inline DescribeBudgetActionResult& WithAction(const Action& value) { SetAction(value); return *this;}
66 inline DescribeBudgetActionResult& WithAction(Action&& value) { SetAction(std::move(value)); return *this;}
68
70
71 inline const Aws::String& GetRequestId() const{ return m_requestId; }
72 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
73 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
74 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
75 inline DescribeBudgetActionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
76 inline DescribeBudgetActionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
77 inline DescribeBudgetActionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
79 private:
80
81 Aws::String m_accountId;
82
83 Aws::String m_budgetName;
84
85 Action m_action;
86
87 Aws::String m_requestId;
88 };
89
90} // namespace Model
91} // namespace Budgets
92} // namespace Aws
DescribeBudgetActionResult & WithAccountId(const char *value)
DescribeBudgetActionResult & WithBudgetName(const char *value)
DescribeBudgetActionResult & WithAction(const Action &value)
DescribeBudgetActionResult & WithAction(Action &&value)
DescribeBudgetActionResult & WithRequestId(Aws::String &&value)
DescribeBudgetActionResult & WithAccountId(Aws::String &&value)
DescribeBudgetActionResult & WithBudgetName(Aws::String &&value)
AWS_BUDGETS_API DescribeBudgetActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBudgetActionResult & WithRequestId(const Aws::String &value)
DescribeBudgetActionResult & WithRequestId(const char *value)
AWS_BUDGETS_API DescribeBudgetActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBudgetActionResult & WithBudgetName(const Aws::String &value)
DescribeBudgetActionResult & WithAccountId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue