7#include <aws/budgets/BudgetsRequest.h>
8#include <aws/budgets/Budgets_EXPORTS.h>
9#include <aws/budgets/model/ActionThreshold.h>
10#include <aws/budgets/model/ApprovalModel.h>
11#include <aws/budgets/model/Definition.h>
12#include <aws/budgets/model/NotificationType.h>
13#include <aws/budgets/model/Subscriber.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
43 template <
typename AccountIdT = Aws::String>
45 m_accountIdHasBeenSet =
true;
46 m_accountId = std::forward<AccountIdT>(value);
48 template <
typename AccountIdT = Aws::String>
59 template <
typename BudgetNameT = Aws::String>
61 m_budgetNameHasBeenSet =
true;
62 m_budgetName = std::forward<BudgetNameT>(value);
64 template <
typename BudgetNameT = Aws::String>
77 template <
typename ActionIdT = Aws::String>
79 m_actionIdHasBeenSet =
true;
80 m_actionId = std::forward<ActionIdT>(value);
82 template <
typename ActionIdT = Aws::String>
94 m_notificationTypeHasBeenSet =
true;
95 m_notificationType = value;
107 template <
typename ActionThresholdT = ActionThreshold>
109 m_actionThresholdHasBeenSet =
true;
110 m_actionThreshold = std::forward<ActionThresholdT>(value);
112 template <
typename ActionThresholdT = ActionThreshold>
123 template <
typename DefinitionT = Definition>
125 m_definitionHasBeenSet =
true;
126 m_definition = std::forward<DefinitionT>(value);
128 template <
typename DefinitionT = Definition>
142 template <
typename ExecutionRoleArnT = Aws::String>
144 m_executionRoleArnHasBeenSet =
true;
145 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
147 template <
typename ExecutionRoleArnT = Aws::String>
161 m_approvalModelHasBeenSet =
true;
162 m_approvalModel = value;
174 template <
typename SubscribersT = Aws::Vector<Subscriber>>
176 m_subscribersHasBeenSet =
true;
177 m_subscribers = std::forward<SubscribersT>(value);
179 template <
typename SubscribersT = Aws::Vector<Subscriber>>
184 template <
typename SubscribersT = Subscriber>
186 m_subscribersHasBeenSet =
true;
187 m_subscribers.emplace_back(std::forward<SubscribersT>(value));
200 ActionThreshold m_actionThreshold;
202 Definition m_definition;
209 bool m_accountIdHasBeenSet =
false;
210 bool m_budgetNameHasBeenSet =
false;
211 bool m_actionIdHasBeenSet =
false;
212 bool m_notificationTypeHasBeenSet =
false;
213 bool m_actionThresholdHasBeenSet =
false;
214 bool m_definitionHasBeenSet =
false;
215 bool m_executionRoleArnHasBeenSet =
false;
216 bool m_approvalModelHasBeenSet =
false;
217 bool m_subscribersHasBeenSet =
false;
void SetBudgetName(BudgetNameT &&value)
NotificationType GetNotificationType() const
const Aws::String & GetActionId() const
UpdateBudgetActionRequest & WithExecutionRoleArn(ExecutionRoleArnT &&value)
bool ApprovalModelHasBeenSet() const
const Aws::String & GetBudgetName() const
UpdateBudgetActionRequest & WithSubscribers(SubscribersT &&value)
bool SubscribersHasBeenSet() const
void SetActionId(ActionIdT &&value)
UpdateBudgetActionRequest & WithAccountId(AccountIdT &&value)
const Definition & GetDefinition() const
AWS_BUDGETS_API Aws::String SerializePayload() const override
const Aws::String & GetExecutionRoleArn() const
void SetDefinition(DefinitionT &&value)
bool ExecutionRoleArnHasBeenSet() const
bool ActionThresholdHasBeenSet() const
AWS_BUDGETS_API UpdateBudgetActionRequest()=default
bool AccountIdHasBeenSet() const
UpdateBudgetActionRequest & WithActionId(ActionIdT &&value)
UpdateBudgetActionRequest & WithDefinition(DefinitionT &&value)
void SetNotificationType(NotificationType value)
AWS_BUDGETS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateBudgetActionRequest & WithApprovalModel(ApprovalModel value)
bool ActionIdHasBeenSet() const
bool BudgetNameHasBeenSet() const
const Aws::Vector< Subscriber > & GetSubscribers() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetAccountId() const
void SetActionThreshold(ActionThresholdT &&value)
bool NotificationTypeHasBeenSet() const
UpdateBudgetActionRequest & WithNotificationType(NotificationType value)
UpdateBudgetActionRequest & AddSubscribers(SubscribersT &&value)
const ActionThreshold & GetActionThreshold() const
ApprovalModel GetApprovalModel() const
bool DefinitionHasBeenSet() const
void SetAccountId(AccountIdT &&value)
void SetApprovalModel(ApprovalModel value)
UpdateBudgetActionRequest & WithBudgetName(BudgetNameT &&value)
UpdateBudgetActionRequest & WithActionThreshold(ActionThresholdT &&value)
void SetSubscribers(SubscribersT &&value)
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector