AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteNotificationRequest.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/Notification.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Budgets
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_BUDGETS_API DeleteNotificationRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DeleteNotification"; }
35
36 AWS_BUDGETS_API Aws::String SerializePayload() const override;
37
39
40
42
46 inline const Aws::String& GetAccountId() const { return m_accountId; }
47 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
48 template<typename AccountIdT = Aws::String>
49 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
50 template<typename AccountIdT = Aws::String>
51 DeleteNotificationRequest& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetBudgetName() const { return m_budgetName; }
59 inline bool BudgetNameHasBeenSet() const { return m_budgetNameHasBeenSet; }
60 template<typename BudgetNameT = Aws::String>
61 void SetBudgetName(BudgetNameT&& value) { m_budgetNameHasBeenSet = true; m_budgetName = std::forward<BudgetNameT>(value); }
62 template<typename BudgetNameT = Aws::String>
63 DeleteNotificationRequest& WithBudgetName(BudgetNameT&& value) { SetBudgetName(std::forward<BudgetNameT>(value)); return *this;}
65
67
70 inline const Notification& GetNotification() const { return m_notification; }
71 inline bool NotificationHasBeenSet() const { return m_notificationHasBeenSet; }
72 template<typename NotificationT = Notification>
73 void SetNotification(NotificationT&& value) { m_notificationHasBeenSet = true; m_notification = std::forward<NotificationT>(value); }
74 template<typename NotificationT = Notification>
75 DeleteNotificationRequest& WithNotification(NotificationT&& value) { SetNotification(std::forward<NotificationT>(value)); return *this;}
77 private:
78
79 Aws::String m_accountId;
80 bool m_accountIdHasBeenSet = false;
81
82 Aws::String m_budgetName;
83 bool m_budgetNameHasBeenSet = false;
84
85 Notification m_notification;
86 bool m_notificationHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Budgets
91} // namespace Aws
AWS_BUDGETS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_BUDGETS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_BUDGETS_API DeleteNotificationRequest()=default
DeleteNotificationRequest & WithAccountId(AccountIdT &&value)
DeleteNotificationRequest & WithNotification(NotificationT &&value)
DeleteNotificationRequest & WithBudgetName(BudgetNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String