AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
43 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
44 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
45 inline ExecuteBudgetActionRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
46 inline ExecuteBudgetActionRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
47 inline ExecuteBudgetActionRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
49
51
52 inline const Aws::String& GetBudgetName() const{ return m_budgetName; }
53 inline bool BudgetNameHasBeenSet() const { return m_budgetNameHasBeenSet; }
54 inline void SetBudgetName(const Aws::String& value) { m_budgetNameHasBeenSet = true; m_budgetName = value; }
55 inline void SetBudgetName(Aws::String&& value) { m_budgetNameHasBeenSet = true; m_budgetName = std::move(value); }
56 inline void SetBudgetName(const char* value) { m_budgetNameHasBeenSet = true; m_budgetName.assign(value); }
57 inline ExecuteBudgetActionRequest& WithBudgetName(const Aws::String& value) { SetBudgetName(value); return *this;}
58 inline ExecuteBudgetActionRequest& WithBudgetName(Aws::String&& value) { SetBudgetName(std::move(value)); return *this;}
59 inline ExecuteBudgetActionRequest& WithBudgetName(const char* value) { SetBudgetName(value); return *this;}
61
63
66 inline const Aws::String& GetActionId() const{ return m_actionId; }
67 inline bool ActionIdHasBeenSet() const { return m_actionIdHasBeenSet; }
68 inline void SetActionId(const Aws::String& value) { m_actionIdHasBeenSet = true; m_actionId = value; }
69 inline void SetActionId(Aws::String&& value) { m_actionIdHasBeenSet = true; m_actionId = std::move(value); }
70 inline void SetActionId(const char* value) { m_actionIdHasBeenSet = true; m_actionId.assign(value); }
71 inline ExecuteBudgetActionRequest& WithActionId(const Aws::String& value) { SetActionId(value); return *this;}
72 inline ExecuteBudgetActionRequest& WithActionId(Aws::String&& value) { SetActionId(std::move(value)); return *this;}
73 inline ExecuteBudgetActionRequest& WithActionId(const char* value) { SetActionId(value); return *this;}
75
77
80 inline const ExecutionType& GetExecutionType() const{ return m_executionType; }
81 inline bool ExecutionTypeHasBeenSet() const { return m_executionTypeHasBeenSet; }
82 inline void SetExecutionType(const ExecutionType& value) { m_executionTypeHasBeenSet = true; m_executionType = value; }
83 inline void SetExecutionType(ExecutionType&& value) { m_executionTypeHasBeenSet = true; m_executionType = std::move(value); }
84 inline ExecuteBudgetActionRequest& WithExecutionType(const ExecutionType& value) { SetExecutionType(value); return *this;}
85 inline ExecuteBudgetActionRequest& WithExecutionType(ExecutionType&& value) { SetExecutionType(std::move(value)); return *this;}
87 private:
88
89 Aws::String m_accountId;
90 bool m_accountIdHasBeenSet = false;
91
92 Aws::String m_budgetName;
93 bool m_budgetNameHasBeenSet = false;
94
95 Aws::String m_actionId;
96 bool m_actionIdHasBeenSet = false;
97
98 ExecutionType m_executionType;
99 bool m_executionTypeHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace Budgets
104} // namespace Aws
ExecuteBudgetActionRequest & WithBudgetName(Aws::String &&value)
AWS_BUDGETS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_BUDGETS_API Aws::String SerializePayload() const override
ExecuteBudgetActionRequest & WithActionId(Aws::String &&value)
ExecuteBudgetActionRequest & WithBudgetName(const char *value)
ExecuteBudgetActionRequest & WithAccountId(const char *value)
ExecuteBudgetActionRequest & WithBudgetName(const Aws::String &value)
ExecuteBudgetActionRequest & WithActionId(const Aws::String &value)
ExecuteBudgetActionRequest & WithActionId(const char *value)
ExecuteBudgetActionRequest & WithAccountId(const Aws::String &value)
ExecuteBudgetActionRequest & WithAccountId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ExecuteBudgetActionRequest & WithExecutionType(ExecutionType &&value)
ExecuteBudgetActionRequest & WithExecutionType(const ExecutionType &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String