AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeBudgetActionRequest.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 <utility>
11
12namespace Aws
13{
14namespace Budgets
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_BUDGETS_API DescribeBudgetActionRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DescribeBudgetAction"; }
31
32 AWS_BUDGETS_API Aws::String SerializePayload() const override;
33
35
36
38
39 inline const Aws::String& GetAccountId() const{ return m_accountId; }
40 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
41 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
42 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
43 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
44 inline DescribeBudgetActionRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
45 inline DescribeBudgetActionRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
46 inline DescribeBudgetActionRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
48
50
51 inline const Aws::String& GetBudgetName() const{ return m_budgetName; }
52 inline bool BudgetNameHasBeenSet() const { return m_budgetNameHasBeenSet; }
53 inline void SetBudgetName(const Aws::String& value) { m_budgetNameHasBeenSet = true; m_budgetName = value; }
54 inline void SetBudgetName(Aws::String&& value) { m_budgetNameHasBeenSet = true; m_budgetName = std::move(value); }
55 inline void SetBudgetName(const char* value) { m_budgetNameHasBeenSet = true; m_budgetName.assign(value); }
56 inline DescribeBudgetActionRequest& WithBudgetName(const Aws::String& value) { SetBudgetName(value); return *this;}
57 inline DescribeBudgetActionRequest& WithBudgetName(Aws::String&& value) { SetBudgetName(std::move(value)); return *this;}
58 inline DescribeBudgetActionRequest& WithBudgetName(const char* value) { SetBudgetName(value); return *this;}
60
62
65 inline const Aws::String& GetActionId() const{ return m_actionId; }
66 inline bool ActionIdHasBeenSet() const { return m_actionIdHasBeenSet; }
67 inline void SetActionId(const Aws::String& value) { m_actionIdHasBeenSet = true; m_actionId = value; }
68 inline void SetActionId(Aws::String&& value) { m_actionIdHasBeenSet = true; m_actionId = std::move(value); }
69 inline void SetActionId(const char* value) { m_actionIdHasBeenSet = true; m_actionId.assign(value); }
70 inline DescribeBudgetActionRequest& WithActionId(const Aws::String& value) { SetActionId(value); return *this;}
71 inline DescribeBudgetActionRequest& WithActionId(Aws::String&& value) { SetActionId(std::move(value)); return *this;}
72 inline DescribeBudgetActionRequest& WithActionId(const char* value) { SetActionId(value); return *this;}
74 private:
75
76 Aws::String m_accountId;
77 bool m_accountIdHasBeenSet = false;
78
79 Aws::String m_budgetName;
80 bool m_budgetNameHasBeenSet = false;
81
82 Aws::String m_actionId;
83 bool m_actionIdHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace Budgets
88} // namespace Aws
DescribeBudgetActionRequest & WithBudgetName(const Aws::String &value)
DescribeBudgetActionRequest & WithBudgetName(const char *value)
DescribeBudgetActionRequest & WithAccountId(const Aws::String &value)
DescribeBudgetActionRequest & WithActionId(const Aws::String &value)
DescribeBudgetActionRequest & WithAccountId(Aws::String &&value)
AWS_BUDGETS_API Aws::String SerializePayload() const override
DescribeBudgetActionRequest & WithActionId(Aws::String &&value)
DescribeBudgetActionRequest & WithActionId(const char *value)
virtual const char * GetServiceRequestName() const override
DescribeBudgetActionRequest & WithBudgetName(Aws::String &&value)
DescribeBudgetActionRequest & WithAccountId(const char *value)
AWS_BUDGETS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String