7#include <aws/budgets/Budgets_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/budgets/model/NotificationType.h>
10#include <aws/budgets/model/ActionType.h>
11#include <aws/budgets/model/ActionThreshold.h>
12#include <aws/budgets/model/Definition.h>
13#include <aws/budgets/model/ApprovalModel.h>
14#include <aws/budgets/model/ActionStatus.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/budgets/model/Subscriber.h>
54 template<
typename ActionIdT = Aws::String>
55 void SetActionId(ActionIdT&& value) { m_actionIdHasBeenSet =
true; m_actionId = std::forward<ActionIdT>(value); }
56 template<
typename ActionIdT = Aws::String>
64 template<
typename BudgetNameT = Aws::String>
65 void SetBudgetName(BudgetNameT&& value) { m_budgetNameHasBeenSet =
true; m_budgetName = std::forward<BudgetNameT>(value); }
66 template<
typename BudgetNameT = Aws::String>
95 template<
typename ActionThresholdT = ActionThreshold>
96 void SetActionThreshold(ActionThresholdT&& value) { m_actionThresholdHasBeenSet =
true; m_actionThreshold = std::forward<ActionThresholdT>(value); }
97 template<
typename ActionThresholdT = ActionThreshold>
107 template<
typename DefinitionT = Definition>
108 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet =
true; m_definition = std::forward<DefinitionT>(value); }
109 template<
typename DefinitionT = Definition>
120 template<
typename ExecutionRoleArnT = Aws::String>
121 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
122 template<
typename ExecutionRoleArnT = Aws::String>
150 template<
typename SubscribersT = Aws::Vector<Subscriber>>
151 void SetSubscribers(SubscribersT&& value) { m_subscribersHasBeenSet =
true; m_subscribers = std::forward<SubscribersT>(value); }
152 template<
typename SubscribersT = Aws::Vector<Subscriber>>
154 template<
typename SubscribersT = Subscriber>
155 Action&
AddSubscribers(SubscribersT&& value) { m_subscribersHasBeenSet =
true; m_subscribers.emplace_back(std::forward<SubscribersT>(value));
return *
this; }
160 bool m_actionIdHasBeenSet =
false;
163 bool m_budgetNameHasBeenSet =
false;
166 bool m_notificationTypeHasBeenSet =
false;
169 bool m_actionTypeHasBeenSet =
false;
171 ActionThreshold m_actionThreshold;
172 bool m_actionThresholdHasBeenSet =
false;
174 Definition m_definition;
175 bool m_definitionHasBeenSet =
false;
178 bool m_executionRoleArnHasBeenSet =
false;
181 bool m_approvalModelHasBeenSet =
false;
184 bool m_statusHasBeenSet =
false;
187 bool m_subscribersHasBeenSet =
false;
Action & WithActionId(ActionIdT &&value)
bool BudgetNameHasBeenSet() const
bool ActionThresholdHasBeenSet() const
void SetActionThreshold(ActionThresholdT &&value)
bool StatusHasBeenSet() const
ActionType GetActionType() const
void SetSubscribers(SubscribersT &&value)
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
Action & WithBudgetName(BudgetNameT &&value)
AWS_BUDGETS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Subscriber > & GetSubscribers() const
AWS_BUDGETS_API Action & operator=(Aws::Utils::Json::JsonView jsonValue)
Action & WithExecutionRoleArn(ExecutionRoleArnT &&value)
const Definition & GetDefinition() const
bool ActionTypeHasBeenSet() const
Action & WithSubscribers(SubscribersT &&value)
void SetDefinition(DefinitionT &&value)
ApprovalModel GetApprovalModel() const
bool DefinitionHasBeenSet() const
void SetNotificationType(NotificationType value)
const Aws::String & GetActionId() const
AWS_BUDGETS_API Action(Aws::Utils::Json::JsonView jsonValue)
Action & WithStatus(ActionStatus value)
const Aws::String & GetBudgetName() const
AWS_BUDGETS_API Action()=default
const Aws::String & GetExecutionRoleArn() const
bool ApprovalModelHasBeenSet() const
void SetBudgetName(BudgetNameT &&value)
NotificationType GetNotificationType() const
bool ExecutionRoleArnHasBeenSet() const
void SetActionId(ActionIdT &&value)
bool SubscribersHasBeenSet() const
Action & AddSubscribers(SubscribersT &&value)
bool ActionIdHasBeenSet() const
ActionStatus GetStatus() const
bool NotificationTypeHasBeenSet() const
Action & WithActionThreshold(ActionThresholdT &&value)
void SetApprovalModel(ApprovalModel value)
Action & WithNotificationType(NotificationType value)
Action & WithActionType(ActionType value)
Action & WithApprovalModel(ApprovalModel value)
void SetStatus(ActionStatus value)
const ActionThreshold & GetActionThreshold() const
void SetActionType(ActionType value)
Action & WithDefinition(DefinitionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue