AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DeleteNotificationRequest.h
1
6#pragma once
7#include <aws/budgets/BudgetsRequest.h>
8#include <aws/budgets/Budgets_EXPORTS.h>
9#include <aws/budgets/model/Notification.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Budgets {
16namespace Model {
17
24 public:
25 AWS_BUDGETS_API DeleteNotificationRequest() = default;
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 "DeleteNotification"; }
32
33 AWS_BUDGETS_API Aws::String SerializePayload() const override;
34
36
38
42 inline const Aws::String& GetAccountId() const { return m_accountId; }
43 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
44 template <typename AccountIdT = Aws::String>
45 void SetAccountId(AccountIdT&& value) {
46 m_accountIdHasBeenSet = true;
47 m_accountId = std::forward<AccountIdT>(value);
48 }
49 template <typename AccountIdT = Aws::String>
51 SetAccountId(std::forward<AccountIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetBudgetName() const { return m_budgetName; }
61 inline bool BudgetNameHasBeenSet() const { return m_budgetNameHasBeenSet; }
62 template <typename BudgetNameT = Aws::String>
63 void SetBudgetName(BudgetNameT&& value) {
64 m_budgetNameHasBeenSet = true;
65 m_budgetName = std::forward<BudgetNameT>(value);
66 }
67 template <typename BudgetNameT = Aws::String>
69 SetBudgetName(std::forward<BudgetNameT>(value));
70 return *this;
71 }
73
75
78 inline const Notification& GetNotification() const { return m_notification; }
79 inline bool NotificationHasBeenSet() const { return m_notificationHasBeenSet; }
80 template <typename NotificationT = Notification>
81 void SetNotification(NotificationT&& value) {
82 m_notificationHasBeenSet = true;
83 m_notification = std::forward<NotificationT>(value);
84 }
85 template <typename NotificationT = Notification>
87 SetNotification(std::forward<NotificationT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_accountId;
93
94 Aws::String m_budgetName;
95
96 Notification m_notification;
97 bool m_accountIdHasBeenSet = false;
98 bool m_budgetNameHasBeenSet = false;
99 bool m_notificationHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace Budgets
104} // 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