AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DeleteBudgetRequest.h
1
6#pragma once
7#include <aws/budgets/BudgetsRequest.h>
8#include <aws/budgets/Budgets_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Budgets {
15namespace Model {
16
23 public:
24 AWS_BUDGETS_API DeleteBudgetRequest() = default;
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 "DeleteBudget"; }
31
32 AWS_BUDGETS_API Aws::String SerializePayload() const override;
33
35
37
41 inline const Aws::String& GetAccountId() const { return m_accountId; }
42 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
43 template <typename AccountIdT = Aws::String>
44 void SetAccountId(AccountIdT&& value) {
45 m_accountIdHasBeenSet = true;
46 m_accountId = std::forward<AccountIdT>(value);
47 }
48 template <typename AccountIdT = Aws::String>
49 DeleteBudgetRequest& WithAccountId(AccountIdT&& value) {
50 SetAccountId(std::forward<AccountIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetBudgetName() const { return m_budgetName; }
60 inline bool BudgetNameHasBeenSet() const { return m_budgetNameHasBeenSet; }
61 template <typename BudgetNameT = Aws::String>
62 void SetBudgetName(BudgetNameT&& value) {
63 m_budgetNameHasBeenSet = true;
64 m_budgetName = std::forward<BudgetNameT>(value);
65 }
66 template <typename BudgetNameT = Aws::String>
67 DeleteBudgetRequest& WithBudgetName(BudgetNameT&& value) {
68 SetBudgetName(std::forward<BudgetNameT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_accountId;
74
75 Aws::String m_budgetName;
76 bool m_accountIdHasBeenSet = false;
77 bool m_budgetNameHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Budgets
82} // namespace Aws
AWS_BUDGETS_API DeleteBudgetRequest()=default
AWS_BUDGETS_API Aws::String SerializePayload() const override
AWS_BUDGETS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteBudgetRequest & WithAccountId(AccountIdT &&value)
DeleteBudgetRequest & WithBudgetName(BudgetNameT &&value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String