AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateNotificationRequest.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 UpdateNotificationRequest() = 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 "UpdateNotification"; }
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 UpdateNotificationRequest& 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 UpdateNotificationRequest& WithBudgetName(BudgetNameT&& value) { SetBudgetName(std::forward<BudgetNameT>(value)); return *this;}
65
67
70 inline const Notification& GetOldNotification() const { return m_oldNotification; }
71 inline bool OldNotificationHasBeenSet() const { return m_oldNotificationHasBeenSet; }
72 template<typename OldNotificationT = Notification>
73 void SetOldNotification(OldNotificationT&& value) { m_oldNotificationHasBeenSet = true; m_oldNotification = std::forward<OldNotificationT>(value); }
74 template<typename OldNotificationT = Notification>
75 UpdateNotificationRequest& WithOldNotification(OldNotificationT&& value) { SetOldNotification(std::forward<OldNotificationT>(value)); return *this;}
77
79
82 inline const Notification& GetNewNotification() const { return m_newNotification; }
83 inline bool NewNotificationHasBeenSet() const { return m_newNotificationHasBeenSet; }
84 template<typename NewNotificationT = Notification>
85 void SetNewNotification(NewNotificationT&& value) { m_newNotificationHasBeenSet = true; m_newNotification = std::forward<NewNotificationT>(value); }
86 template<typename NewNotificationT = Notification>
87 UpdateNotificationRequest& WithNewNotification(NewNotificationT&& value) { SetNewNotification(std::forward<NewNotificationT>(value)); return *this;}
89 private:
90
91 Aws::String m_accountId;
92 bool m_accountIdHasBeenSet = false;
93
94 Aws::String m_budgetName;
95 bool m_budgetNameHasBeenSet = false;
96
97 Notification m_oldNotification;
98 bool m_oldNotificationHasBeenSet = false;
99
100 Notification m_newNotification;
101 bool m_newNotificationHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Budgets
106} // namespace Aws
UpdateNotificationRequest & WithAccountId(AccountIdT &&value)
AWS_BUDGETS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_BUDGETS_API UpdateNotificationRequest()=default
AWS_BUDGETS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateNotificationRequest & WithBudgetName(BudgetNameT &&value)
UpdateNotificationRequest & WithOldNotification(OldNotificationT &&value)
UpdateNotificationRequest & WithNewNotification(NewNotificationT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String