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/ActionType.h>
11#include <aws/budgets/model/ApprovalModel.h>
12#include <aws/budgets/model/Definition.h>
13#include <aws/budgets/model/NotificationType.h>
14#include <aws/budgets/model/ResourceTag.h>
15#include <aws/budgets/model/Subscriber.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
45 template <
typename AccountIdT = Aws::String>
47 m_accountIdHasBeenSet =
true;
48 m_accountId = std::forward<AccountIdT>(value);
50 template <
typename AccountIdT = Aws::String>
61 template <
typename BudgetNameT = Aws::String>
63 m_budgetNameHasBeenSet =
true;
64 m_budgetName = std::forward<BudgetNameT>(value);
66 template <
typename BudgetNameT = Aws::String>
78 m_notificationTypeHasBeenSet =
true;
79 m_notificationType = value;
95 m_actionTypeHasBeenSet =
true;
108 template <
typename ActionThresholdT = ActionThreshold>
110 m_actionThresholdHasBeenSet =
true;
111 m_actionThreshold = std::forward<ActionThresholdT>(value);
113 template <
typename ActionThresholdT = ActionThreshold>
124 template <
typename DefinitionT = Definition>
126 m_definitionHasBeenSet =
true;
127 m_definition = std::forward<DefinitionT>(value);
129 template <
typename DefinitionT = Definition>
143 template <
typename ExecutionRoleArnT = Aws::String>
145 m_executionRoleArnHasBeenSet =
true;
146 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
148 template <
typename ExecutionRoleArnT = Aws::String>
162 m_approvalModelHasBeenSet =
true;
163 m_approvalModel = value;
175 template <
typename SubscribersT = Aws::Vector<Subscriber>>
177 m_subscribersHasBeenSet =
true;
178 m_subscribers = std::forward<SubscribersT>(value);
180 template <
typename SubscribersT = Aws::Vector<Subscriber>>
185 template <
typename SubscribersT = Subscriber>
187 m_subscribersHasBeenSet =
true;
188 m_subscribers.emplace_back(std::forward<SubscribersT>(value));
201 template <
typename ResourceTagsT = Aws::Vector<ResourceTag>>
203 m_resourceTagsHasBeenSet =
true;
204 m_resourceTags = std::forward<ResourceTagsT>(value);
206 template <
typename ResourceTagsT = Aws::Vector<ResourceTag>>
211 template <
typename ResourceTagsT = ResourceTag>
213 m_resourceTagsHasBeenSet =
true;
214 m_resourceTags.emplace_back(std::forward<ResourceTagsT>(value));
227 ActionThreshold m_actionThreshold;
229 Definition m_definition;
238 bool m_accountIdHasBeenSet =
false;
239 bool m_budgetNameHasBeenSet =
false;
240 bool m_notificationTypeHasBeenSet =
false;
241 bool m_actionTypeHasBeenSet =
false;
242 bool m_actionThresholdHasBeenSet =
false;
243 bool m_definitionHasBeenSet =
false;
244 bool m_executionRoleArnHasBeenSet =
false;
245 bool m_approvalModelHasBeenSet =
false;
246 bool m_subscribersHasBeenSet =
false;
247 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