AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 UpdateNotificationRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
52 inline UpdateNotificationRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
53 inline UpdateNotificationRequest& 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 UpdateNotificationRequest& WithBudgetName(const Aws::String& value) { SetBudgetName(value); return *this;}
66 inline UpdateNotificationRequest& WithBudgetName(Aws::String&& value) { SetBudgetName(std::move(value)); return *this;}
67 inline UpdateNotificationRequest& WithBudgetName(const char* value) { SetBudgetName(value); return *this;}
69
71
74 inline const Notification& GetOldNotification() const{ return m_oldNotification; }
75 inline bool OldNotificationHasBeenSet() const { return m_oldNotificationHasBeenSet; }
76 inline void SetOldNotification(const Notification& value) { m_oldNotificationHasBeenSet = true; m_oldNotification = value; }
77 inline void SetOldNotification(Notification&& value) { m_oldNotificationHasBeenSet = true; m_oldNotification = std::move(value); }
79 inline UpdateNotificationRequest& WithOldNotification(Notification&& value) { SetOldNotification(std::move(value)); return *this;}
81
83
86 inline const Notification& GetNewNotification() const{ return m_newNotification; }
87 inline bool NewNotificationHasBeenSet() const { return m_newNotificationHasBeenSet; }
88 inline void SetNewNotification(const Notification& value) { m_newNotificationHasBeenSet = true; m_newNotification = value; }
89 inline void SetNewNotification(Notification&& value) { m_newNotificationHasBeenSet = true; m_newNotification = std::move(value); }
91 inline UpdateNotificationRequest& WithNewNotification(Notification&& value) { SetNewNotification(std::move(value)); return *this;}
93 private:
94
95 Aws::String m_accountId;
96 bool m_accountIdHasBeenSet = false;
97
98 Aws::String m_budgetName;
99 bool m_budgetNameHasBeenSet = false;
100
101 Notification m_oldNotification;
102 bool m_oldNotificationHasBeenSet = false;
103
104 Notification m_newNotification;
105 bool m_newNotificationHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace Budgets
110} // namespace Aws
UpdateNotificationRequest & WithAccountId(const Aws::String &value)
UpdateNotificationRequest & WithNewNotification(const Notification &value)
UpdateNotificationRequest & WithOldNotification(const Notification &value)
AWS_BUDGETS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_BUDGETS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateNotificationRequest & WithOldNotification(Notification &&value)
UpdateNotificationRequest & WithBudgetName(const char *value)
UpdateNotificationRequest & WithNewNotification(Notification &&value)
UpdateNotificationRequest & WithBudgetName(const Aws::String &value)
UpdateNotificationRequest & WithAccountId(Aws::String &&value)
UpdateNotificationRequest & WithAccountId(const char *value)
UpdateNotificationRequest & WithBudgetName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String