7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/deadline/DeadlineRequest.h>
12#include <aws/deadline/Deadline_EXPORTS.h>
13#include <aws/deadline/model/BudgetActionToAdd.h>
14#include <aws/deadline/model/BudgetSchedule.h>
15#include <aws/deadline/model/UsageTrackingResource.h>
50 template <
typename FarmIdT = Aws::String>
52 m_farmIdHasBeenSet =
true;
53 m_farmId = std::forward<FarmIdT>(value);
55 template <
typename FarmIdT = Aws::String>
70 template <
typename DisplayNameT = Aws::String>
72 m_displayNameHasBeenSet =
true;
73 m_displayName = std::forward<DisplayNameT>(value);
75 template <
typename DisplayNameT = Aws::String>
90 template <
typename DescriptionT = Aws::String>
92 m_descriptionHasBeenSet =
true;
93 m_description = std::forward<DescriptionT>(value);
95 template <
typename DescriptionT = Aws::String>
109 template <
typename ClientTokenT = Aws::String>
111 m_clientTokenHasBeenSet =
true;
112 m_clientToken = std::forward<ClientTokenT>(value);
114 template <
typename ClientTokenT = Aws::String>
127 template <
typename UsageTrackingResourceT = UsageTrackingResource>
129 m_usageTrackingResourceHasBeenSet =
true;
130 m_usageTrackingResource = std::forward<UsageTrackingResourceT>(value);
132 template <
typename UsageTrackingResourceT = UsageTrackingResource>
146 m_approximateDollarLimitHasBeenSet =
true;
147 m_approximateDollarLimit = value;
161 template <
typename ActionsT = Aws::Vector<BudgetActionToAdd>>
163 m_actionsHasBeenSet =
true;
164 m_actions = std::forward<ActionsT>(value);
166 template <
typename ActionsT = Aws::Vector<BudgetActionToAdd>>
171 template <
typename ActionsT = BudgetActionToAdd>
173 m_actionsHasBeenSet =
true;
174 m_actions.emplace_back(std::forward<ActionsT>(value));
185 template <
typename ScheduleT = BudgetSchedule>
187 m_scheduleHasBeenSet =
true;
188 m_schedule = std::forward<ScheduleT>(value);
190 template <
typename ScheduleT = BudgetSchedule>
204 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
206 m_tagsHasBeenSet =
true;
207 m_tags = std::forward<TagsT>(value);
209 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
211 SetTags(std::forward<TagsT>(value));
214 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
216 m_tagsHasBeenSet =
true;
217 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
230 UsageTrackingResource m_usageTrackingResource;
232 double m_approximateDollarLimit{0.0};
236 BudgetSchedule m_schedule;
239 bool m_farmIdHasBeenSet =
false;
240 bool m_displayNameHasBeenSet =
false;
241 bool m_descriptionHasBeenSet =
false;
242 bool m_clientTokenHasBeenSet =
true;
243 bool m_usageTrackingResourceHasBeenSet =
false;
244 bool m_approximateDollarLimitHasBeenSet =
false;
245 bool m_actionsHasBeenSet =
false;
246 bool m_scheduleHasBeenSet =
false;
247 bool m_tagsHasBeenSet =
false;
static Aws::Utils::UUID PseudoRandomUUID()
CreateBudgetRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool ActionsHasBeenSet() const
CreateBudgetRequest & WithSchedule(ScheduleT &&value)
double GetApproximateDollarLimit() const
bool TagsHasBeenSet() const
const Aws::String & GetFarmId() const
bool UsageTrackingResourceHasBeenSet() const
AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool DescriptionHasBeenSet() const
void SetDisplayName(DisplayNameT &&value)
void SetFarmId(FarmIdT &&value)
AWS_DEADLINE_API CreateBudgetRequest()=default
CreateBudgetRequest & WithDescription(DescriptionT &&value)
virtual const char * GetServiceRequestName() const override
void SetUsageTrackingResource(UsageTrackingResourceT &&value)
void SetSchedule(ScheduleT &&value)
CreateBudgetRequest & WithTags(TagsT &&value)
void SetDescription(DescriptionT &&value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
const Aws::String & GetDisplayName() const
bool ClientTokenHasBeenSet() const
bool ApproximateDollarLimitHasBeenSet() const
CreateBudgetRequest & WithApproximateDollarLimit(double value)
void SetActions(ActionsT &&value)
CreateBudgetRequest & WithClientToken(ClientTokenT &&value)
CreateBudgetRequest & WithActions(ActionsT &&value)
CreateBudgetRequest & AddActions(ActionsT &&value)
bool FarmIdHasBeenSet() const
CreateBudgetRequest & WithDisplayName(DisplayNameT &&value)
const Aws::String & GetClientToken() const
void SetTags(TagsT &&value)
void SetClientToken(ClientTokenT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const BudgetSchedule & GetSchedule() const
bool DisplayNameHasBeenSet() const
const UsageTrackingResource & GetUsageTrackingResource() const
CreateBudgetRequest & WithFarmId(FarmIdT &&value)
CreateBudgetRequest & WithUsageTrackingResource(UsageTrackingResourceT &&value)
void SetApproximateDollarLimit(double value)
const Aws::String & GetDescription() const
const Aws::Vector< BudgetActionToAdd > & GetActions() const
bool ScheduleHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector