7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/deadline/DeadlineRequest.h>
11#include <aws/deadline/Deadline_EXPORTS.h>
12#include <aws/deadline/model/BudgetActionToAdd.h>
13#include <aws/deadline/model/BudgetActionToRemove.h>
14#include <aws/deadline/model/BudgetSchedule.h>
15#include <aws/deadline/model/BudgetStatus.h>
46 template <
typename ClientTokenT = Aws::String>
48 m_clientTokenHasBeenSet =
true;
49 m_clientToken = std::forward<ClientTokenT>(value);
51 template <
typename ClientTokenT = Aws::String>
64 template <
typename FarmIdT = Aws::String>
66 m_farmIdHasBeenSet =
true;
67 m_farmId = std::forward<FarmIdT>(value);
69 template <
typename FarmIdT = Aws::String>
82 template <
typename BudgetIdT = Aws::String>
84 m_budgetIdHasBeenSet =
true;
85 m_budgetId = std::forward<BudgetIdT>(value);
87 template <
typename BudgetIdT = Aws::String>
103 template <
typename DisplayNameT = Aws::String>
105 m_displayNameHasBeenSet =
true;
106 m_displayName = std::forward<DisplayNameT>(value);
108 template <
typename DisplayNameT = Aws::String>
124 template <
typename DescriptionT = Aws::String>
126 m_descriptionHasBeenSet =
true;
127 m_description = std::forward<DescriptionT>(value);
129 template <
typename DescriptionT = Aws::String>
146 m_statusHasBeenSet =
true;
162 m_approximateDollarLimitHasBeenSet =
true;
163 m_approximateDollarLimit = value;
178 template <
typename ActionsToAddT = Aws::Vector<BudgetActionToAdd>>
180 m_actionsToAddHasBeenSet =
true;
181 m_actionsToAdd = std::forward<ActionsToAddT>(value);
183 template <
typename ActionsToAddT = Aws::Vector<BudgetActionToAdd>>
188 template <
typename ActionsToAddT = BudgetActionToAdd>
190 m_actionsToAddHasBeenSet =
true;
191 m_actionsToAdd.emplace_back(std::forward<ActionsToAddT>(value));
202 template <
typename ActionsToRemoveT = Aws::Vector<BudgetActionToRemove>>
204 m_actionsToRemoveHasBeenSet =
true;
205 m_actionsToRemove = std::forward<ActionsToRemoveT>(value);
207 template <
typename ActionsToRemoveT = Aws::Vector<BudgetActionToRemove>>
212 template <
typename ActionsToRemoveT = BudgetActionToRemove>
214 m_actionsToRemoveHasBeenSet =
true;
215 m_actionsToRemove.emplace_back(std::forward<ActionsToRemoveT>(value));
226 template <
typename ScheduleT = BudgetSchedule>
228 m_scheduleHasBeenSet =
true;
229 m_schedule = std::forward<ScheduleT>(value);
231 template <
typename ScheduleT = BudgetSchedule>
250 double m_approximateDollarLimit{0.0};
256 BudgetSchedule m_schedule;
257 bool m_clientTokenHasBeenSet =
true;
258 bool m_farmIdHasBeenSet =
false;
259 bool m_budgetIdHasBeenSet =
false;
260 bool m_displayNameHasBeenSet =
false;
261 bool m_descriptionHasBeenSet =
false;
262 bool m_statusHasBeenSet =
false;
263 bool m_approximateDollarLimitHasBeenSet =
false;
264 bool m_actionsToAddHasBeenSet =
false;
265 bool m_actionsToRemoveHasBeenSet =
false;
266 bool m_scheduleHasBeenSet =
false;
static Aws::Utils::UUID PseudoRandomUUID()
bool FarmIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
double GetApproximateDollarLimit() const
bool DisplayNameHasBeenSet() const
void SetFarmId(FarmIdT &&value)
void SetApproximateDollarLimit(double value)
void SetSchedule(ScheduleT &&value)
bool ActionsToAddHasBeenSet() const
UpdateBudgetRequest & WithApproximateDollarLimit(double value)
UpdateBudgetRequest & WithDisplayName(DisplayNameT &&value)
const Aws::String & GetBudgetId() const
bool ClientTokenHasBeenSet() const
const Aws::String & GetFarmId() const
bool ActionsToRemoveHasBeenSet() const
bool ScheduleHasBeenSet() const
void SetBudgetId(BudgetIdT &&value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
const Aws::String & GetDescription() const
AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateBudgetRequest & WithDescription(DescriptionT &&value)
const BudgetSchedule & GetSchedule() const
bool DescriptionHasBeenSet() const
AWS_DEADLINE_API UpdateBudgetRequest()=default
UpdateBudgetRequest & AddActionsToRemove(ActionsToRemoveT &&value)
void SetActionsToAdd(ActionsToAddT &&value)
UpdateBudgetRequest & AddActionsToAdd(ActionsToAddT &&value)
const Aws::String & GetClientToken() const
const Aws::Vector< BudgetActionToAdd > & GetActionsToAdd() const
UpdateBudgetRequest & WithActionsToRemove(ActionsToRemoveT &&value)
const Aws::String & GetDisplayName() const
UpdateBudgetRequest & WithClientToken(ClientTokenT &&value)
void SetDescription(DescriptionT &&value)
UpdateBudgetRequest & WithSchedule(ScheduleT &&value)
UpdateBudgetRequest & WithBudgetId(BudgetIdT &&value)
const Aws::Vector< BudgetActionToRemove > & GetActionsToRemove() const
bool ApproximateDollarLimitHasBeenSet() const
void SetActionsToRemove(ActionsToRemoveT &&value)
bool BudgetIdHasBeenSet() const
UpdateBudgetRequest & WithActionsToAdd(ActionsToAddT &&value)
UpdateBudgetRequest & WithStatus(BudgetStatus value)
UpdateBudgetRequest & WithFarmId(FarmIdT &&value)
void SetStatus(BudgetStatus value)
void SetClientToken(ClientTokenT &&value)
bool StatusHasBeenSet() const
void SetDisplayName(DisplayNameT &&value)
BudgetStatus GetStatus() const
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