7#include <aws/budgets/Budgets_EXPORTS.h>
8#include <aws/budgets/model/ActionStatus.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/Subscriber.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
48 template <
typename ActionIdT = Aws::String>
50 m_actionIdHasBeenSet =
true;
51 m_actionId = std::forward<ActionIdT>(value);
53 template <
typename ActionIdT = Aws::String>
64 template <
typename BudgetNameT = Aws::String>
66 m_budgetNameHasBeenSet =
true;
67 m_budgetName = std::forward<BudgetNameT>(value);
69 template <
typename BudgetNameT = Aws::String>
81 m_notificationTypeHasBeenSet =
true;
82 m_notificationType = value;
98 m_actionTypeHasBeenSet =
true;
113 template <
typename ActionThresholdT = ActionThreshold>
115 m_actionThresholdHasBeenSet =
true;
116 m_actionThreshold = std::forward<ActionThresholdT>(value);
118 template <
typename ActionThresholdT = ActionThreshold>
131 template <
typename DefinitionT = Definition>
133 m_definitionHasBeenSet =
true;
134 m_definition = std::forward<DefinitionT>(value);
136 template <
typename DefinitionT = Definition>
150 template <
typename ExecutionRoleArnT = Aws::String>
152 m_executionRoleArnHasBeenSet =
true;
153 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
155 template <
typename ExecutionRoleArnT = Aws::String>
169 m_approvalModelHasBeenSet =
true;
170 m_approvalModel = value;
185 m_statusHasBeenSet =
true;
198 template <
typename SubscribersT = Aws::Vector<Subscriber>>
200 m_subscribersHasBeenSet =
true;
201 m_subscribers = std::forward<SubscribersT>(value);
203 template <
typename SubscribersT = Aws::Vector<Subscriber>>
208 template <
typename SubscribersT = Subscriber>
210 m_subscribersHasBeenSet =
true;
211 m_subscribers.emplace_back(std::forward<SubscribersT>(value));
224 ActionThreshold m_actionThreshold;
226 Definition m_definition;
235 bool m_actionIdHasBeenSet =
false;
236 bool m_budgetNameHasBeenSet =
false;
237 bool m_notificationTypeHasBeenSet =
false;
238 bool m_actionTypeHasBeenSet =
false;
239 bool m_actionThresholdHasBeenSet =
false;
240 bool m_definitionHasBeenSet =
false;
241 bool m_executionRoleArnHasBeenSet =
false;
242 bool m_approvalModelHasBeenSet =
false;
243 bool m_statusHasBeenSet =
false;
244 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