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>
51 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
63 inline void SetBudgetName(
const char* value) { m_budgetNameHasBeenSet =
true; m_budgetName.assign(value); }
121 inline void SetExecutionRoleArn(
const char* value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn.assign(value); }
169 bool m_accountIdHasBeenSet =
false;
172 bool m_budgetNameHasBeenSet =
false;
175 bool m_notificationTypeHasBeenSet =
false;
178 bool m_actionTypeHasBeenSet =
false;
181 bool m_actionThresholdHasBeenSet =
false;
184 bool m_definitionHasBeenSet =
false;
187 bool m_executionRoleArnHasBeenSet =
false;
190 bool m_approvalModelHasBeenSet =
false;
193 bool m_subscribersHasBeenSet =
false;
196 bool m_resourceTagsHasBeenSet =
false;
bool BudgetNameHasBeenSet() const
CreateBudgetActionRequest & WithResourceTags(const Aws::Vector< ResourceTag > &value)
CreateBudgetActionRequest & WithExecutionRoleArn(const Aws::String &value)
void SetSubscribers(Aws::Vector< Subscriber > &&value)
AWS_BUDGETS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ApprovalModelHasBeenSet() const
void SetAccountId(const char *value)
const ActionThreshold & GetActionThreshold() const
CreateBudgetActionRequest & WithApprovalModel(ApprovalModel &&value)
bool NotificationTypeHasBeenSet() const
AWS_BUDGETS_API CreateBudgetActionRequest()
CreateBudgetActionRequest & WithNotificationType(NotificationType &&value)
void SetActionType(ActionType &&value)
CreateBudgetActionRequest & WithDefinition(Definition &&value)
const ApprovalModel & GetApprovalModel() const
void SetSubscribers(const Aws::Vector< Subscriber > &value)
void SetApprovalModel(ApprovalModel &&value)
const Aws::Vector< ResourceTag > & GetResourceTags() const
bool ActionTypeHasBeenSet() const
void SetDefinition(Definition &&value)
CreateBudgetActionRequest & AddResourceTags(const ResourceTag &value)
CreateBudgetActionRequest & WithBudgetName(const Aws::String &value)
CreateBudgetActionRequest & WithActionType(ActionType &&value)
CreateBudgetActionRequest & AddSubscribers(const Subscriber &value)
void SetAccountId(const Aws::String &value)
void SetActionThreshold(ActionThreshold &&value)
void SetExecutionRoleArn(Aws::String &&value)
bool AccountIdHasBeenSet() const
CreateBudgetActionRequest & WithSubscribers(const Aws::Vector< Subscriber > &value)
CreateBudgetActionRequest & WithAccountId(const char *value)
CreateBudgetActionRequest & WithBudgetName(Aws::String &&value)
void SetDefinition(const Definition &value)
void SetExecutionRoleArn(const char *value)
const Aws::String & GetBudgetName() const
CreateBudgetActionRequest & WithExecutionRoleArn(const char *value)
bool ExecutionRoleArnHasBeenSet() const
CreateBudgetActionRequest & WithNotificationType(const NotificationType &value)
CreateBudgetActionRequest & WithActionThreshold(ActionThreshold &&value)
bool DefinitionHasBeenSet() const
CreateBudgetActionRequest & WithAccountId(Aws::String &&value)
void SetBudgetName(const char *value)
CreateBudgetActionRequest & WithActionThreshold(const ActionThreshold &value)
CreateBudgetActionRequest & WithAccountId(const Aws::String &value)
bool ActionThresholdHasBeenSet() const
CreateBudgetActionRequest & WithDefinition(const Definition &value)
CreateBudgetActionRequest & AddSubscribers(Subscriber &&value)
const Definition & GetDefinition() const
CreateBudgetActionRequest & AddResourceTags(ResourceTag &&value)
CreateBudgetActionRequest & WithActionType(const ActionType &value)
void SetNotificationType(const NotificationType &value)
void SetBudgetName(Aws::String &&value)
void SetAccountId(Aws::String &&value)
CreateBudgetActionRequest & WithSubscribers(Aws::Vector< Subscriber > &&value)
const Aws::String & GetAccountId() const
void SetResourceTags(Aws::Vector< ResourceTag > &&value)
virtual const char * GetServiceRequestName() const override
AWS_BUDGETS_API Aws::String SerializePayload() const override
void SetActionThreshold(const ActionThreshold &value)
const Aws::String & GetExecutionRoleArn() const
void SetBudgetName(const Aws::String &value)
void SetActionType(const ActionType &value)
CreateBudgetActionRequest & WithResourceTags(Aws::Vector< ResourceTag > &&value)
const NotificationType & GetNotificationType() const
const ActionType & GetActionType() const
CreateBudgetActionRequest & WithBudgetName(const char *value)
void SetExecutionRoleArn(const Aws::String &value)
bool ResourceTagsHasBeenSet() const
CreateBudgetActionRequest & WithApprovalModel(const ApprovalModel &value)
CreateBudgetActionRequest & WithExecutionRoleArn(Aws::String &&value)
const Aws::Vector< Subscriber > & GetSubscribers() const
void SetResourceTags(const Aws::Vector< ResourceTag > &value)
bool SubscribersHasBeenSet() const
void SetNotificationType(NotificationType &&value)
void SetApprovalModel(const ApprovalModel &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