AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
49 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
50 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
51 inline DeleteNotificationRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
52 inline DeleteNotificationRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
53 inline DeleteNotificationRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
55
57
60 inline const Aws::String& GetBudgetName() const{ return m_budgetName; }
61 inline bool BudgetNameHasBeenSet() const { return m_budgetNameHasBeenSet; }
62 inline void SetBudgetName(const Aws::String& value) { m_budgetNameHasBeenSet = true; m_budgetName = value; }
63 inline void SetBudgetName(Aws::String&& value) { m_budgetNameHasBeenSet = true; m_budgetName = std::move(value); }
64 inline void SetBudgetName(const char* value) { m_budgetNameHasBeenSet = true; m_budgetName.assign(value); }
65 inline DeleteNotificationRequest& WithBudgetName(const Aws::String& value) { SetBudgetName(value); return *this;}
66 inline DeleteNotificationRequest& WithBudgetName(Aws::String&& value) { SetBudgetName(std::move(value)); return *this;}
67 inline DeleteNotificationRequest& WithBudgetName(const char* value) { SetBudgetName(value); return *this;}
69
71
74 inline const Notification& GetNotification() const{ return m_notification; }
75 inline bool NotificationHasBeenSet() const { return m_notificationHasBeenSet; }
76 inline void SetNotification(const Notification& value) { m_notificationHasBeenSet = true; m_notification = value; }
77 inline void SetNotification(Notification&& value) { m_notificationHasBeenSet = true; m_notification = std::move(value); }
78 inline DeleteNotificationRequest& WithNotification(const Notification& value) { SetNotification(value); return *this;}
79 inline DeleteNotificationRequest& WithNotification(Notification&& value) { SetNotification(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_accountId;
84 bool m_accountIdHasBeenSet = false;
85
86 Aws::String m_budgetName;
87 bool m_budgetNameHasBeenSet = false;
88
89 Notification m_notification;
90 bool m_notificationHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Budgets
95} // namespace Aws
AWS_BUDGETS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteNotificationRequest & WithBudgetName(const char *value)
DeleteNotificationRequest & WithBudgetName(Aws::String &&value)
AWS_BUDGETS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DeleteNotificationRequest & WithAccountId(const Aws::String &value)
DeleteNotificationRequest & WithBudgetName(const Aws::String &value)
DeleteNotificationRequest & WithAccountId(Aws::String &&value)
DeleteNotificationRequest & WithNotification(const Notification &value)
DeleteNotificationRequest & WithNotification(Notification &&value)
DeleteNotificationRequest & WithAccountId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String