AWS SDK for C++  1.8.71
AWS SDK for C++
DeleteBudgetRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Budgets
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DeleteBudget"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
39 
44  inline const Aws::String& GetAccountId() const{ return m_accountId; }
45 
50  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
51 
56  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
57 
62  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
63 
68  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
69 
74  inline DeleteBudgetRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
75 
80  inline DeleteBudgetRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
81 
86  inline DeleteBudgetRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
87 
88 
92  inline const Aws::String& GetBudgetName() const{ return m_budgetName; }
93 
97  inline bool BudgetNameHasBeenSet() const { return m_budgetNameHasBeenSet; }
98 
102  inline void SetBudgetName(const Aws::String& value) { m_budgetNameHasBeenSet = true; m_budgetName = value; }
103 
107  inline void SetBudgetName(Aws::String&& value) { m_budgetNameHasBeenSet = true; m_budgetName = std::move(value); }
108 
112  inline void SetBudgetName(const char* value) { m_budgetNameHasBeenSet = true; m_budgetName.assign(value); }
113 
117  inline DeleteBudgetRequest& WithBudgetName(const Aws::String& value) { SetBudgetName(value); return *this;}
118 
122  inline DeleteBudgetRequest& WithBudgetName(Aws::String&& value) { SetBudgetName(std::move(value)); return *this;}
123 
127  inline DeleteBudgetRequest& WithBudgetName(const char* value) { SetBudgetName(value); return *this;}
128 
129  private:
130 
131  Aws::String m_accountId;
132  bool m_accountIdHasBeenSet;
133 
134  Aws::String m_budgetName;
135  bool m_budgetNameHasBeenSet;
136  };
137 
138 } // namespace Model
139 } // namespace Budgets
140 } // namespace Aws
DeleteBudgetRequest & WithBudgetName(const Aws::String &value)
void SetBudgetName(const Aws::String &value)
DeleteBudgetRequest & WithAccountId(const Aws::String &value)
DeleteBudgetRequest & WithBudgetName(const char *value)
const Aws::String & GetBudgetName() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
DeleteBudgetRequest & WithBudgetName(Aws::String &&value)
const Aws::String & GetAccountId() const
DeleteBudgetRequest & WithAccountId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
DeleteBudgetRequest & WithAccountId(const char *value)
#define AWS_BUDGETS_API
void SetAccountId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97