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/NotificationType.h>
11#include <aws/budgets/model/ActionType.h>
12#include <aws/budgets/model/ActionThreshold.h>
13#include <aws/budgets/model/Definition.h>
14#include <aws/budgets/model/ApprovalModel.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/budgets/model/Subscriber.h>
17#include <aws/budgets/model/ResourceTag.h>
49 template<
typename AccountIdT = Aws::String>
50 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
51 template<
typename AccountIdT = Aws::String>
59 template<
typename BudgetNameT = Aws::String>
60 void SetBudgetName(BudgetNameT&& value) { m_budgetNameHasBeenSet =
true; m_budgetName = std::forward<BudgetNameT>(value); }
61 template<
typename BudgetNameT = Aws::String>
88 template<
typename ActionThresholdT = ActionThreshold>
89 void SetActionThreshold(ActionThresholdT&& value) { m_actionThresholdHasBeenSet =
true; m_actionThreshold = std::forward<ActionThresholdT>(value); }
90 template<
typename ActionThresholdT = ActionThreshold>
98 template<
typename DefinitionT = Definition>
99 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet =
true; m_definition = std::forward<DefinitionT>(value); }
100 template<
typename DefinitionT = Definition>
111 template<
typename ExecutionRoleArnT = Aws::String>
112 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
113 template<
typename ExecutionRoleArnT = Aws::String>
131 template<
typename SubscribersT = Aws::Vector<Subscriber>>
132 void SetSubscribers(SubscribersT&& value) { m_subscribersHasBeenSet =
true; m_subscribers = std::forward<SubscribersT>(value); }
133 template<
typename SubscribersT = Aws::Vector<Subscriber>>
135 template<
typename SubscribersT = Subscriber>
147 template<
typename ResourceTagsT = Aws::Vector<ResourceTag>>
148 void SetResourceTags(ResourceTagsT&& value) { m_resourceTagsHasBeenSet =
true; m_resourceTags = std::forward<ResourceTagsT>(value); }
149 template<
typename ResourceTagsT = Aws::Vector<ResourceTag>>
151 template<
typename ResourceTagsT = ResourceTag>
157 bool m_accountIdHasBeenSet =
false;
160 bool m_budgetNameHasBeenSet =
false;
163 bool m_notificationTypeHasBeenSet =
false;
166 bool m_actionTypeHasBeenSet =
false;
168 ActionThreshold m_actionThreshold;
169 bool m_actionThresholdHasBeenSet =
false;
171 Definition m_definition;
172 bool m_definitionHasBeenSet =
false;
175 bool m_executionRoleArnHasBeenSet =
false;
178 bool m_approvalModelHasBeenSet =
false;
181 bool m_subscribersHasBeenSet =
false;
184 bool m_resourceTagsHasBeenSet =
false;
bool BudgetNameHasBeenSet() const
AWS_BUDGETS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ApprovalModelHasBeenSet() const
const ActionThreshold & GetActionThreshold() const
CreateBudgetActionRequest & WithSubscribers(SubscribersT &&value)
bool NotificationTypeHasBeenSet() const
void SetActionThreshold(ActionThresholdT &&value)
CreateBudgetActionRequest & WithResourceTags(ResourceTagsT &&value)
const Aws::Vector< ResourceTag > & GetResourceTags() const
bool ActionTypeHasBeenSet() const
void SetActionType(ActionType value)
void SetApprovalModel(ApprovalModel value)
CreateBudgetActionRequest & WithActionThreshold(ActionThresholdT &&value)
bool AccountIdHasBeenSet() const
CreateBudgetActionRequest & AddSubscribers(SubscribersT &&value)
void SetSubscribers(SubscribersT &&value)
CreateBudgetActionRequest & WithDefinition(DefinitionT &&value)
const Aws::String & GetBudgetName() const
void SetNotificationType(NotificationType value)
bool ExecutionRoleArnHasBeenSet() const
void SetResourceTags(ResourceTagsT &&value)
bool DefinitionHasBeenSet() const
CreateBudgetActionRequest & WithAccountId(AccountIdT &&value)
bool ActionThresholdHasBeenSet() const
ActionType GetActionType() const
const Definition & GetDefinition() const
void SetBudgetName(BudgetNameT &&value)
ApprovalModel GetApprovalModel() const
CreateBudgetActionRequest & WithActionType(ActionType value)
const Aws::String & GetAccountId() const
void SetDefinition(DefinitionT &&value)
virtual const char * GetServiceRequestName() const override
AWS_BUDGETS_API Aws::String SerializePayload() const override
void SetAccountId(AccountIdT &&value)
const Aws::String & GetExecutionRoleArn() const
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
CreateBudgetActionRequest & WithNotificationType(NotificationType value)
AWS_BUDGETS_API CreateBudgetActionRequest()=default
NotificationType GetNotificationType() const
CreateBudgetActionRequest & WithBudgetName(BudgetNameT &&value)
CreateBudgetActionRequest & WithApprovalModel(ApprovalModel value)
bool ResourceTagsHasBeenSet() const
const Aws::Vector< Subscriber > & GetSubscribers() const
CreateBudgetActionRequest & AddResourceTags(ResourceTagsT &&value)
bool SubscribersHasBeenSet() const
CreateBudgetActionRequest & WithExecutionRoleArn(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