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>
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 UsageTrackingResourceT = UsageTrackingResource>
84 m_usageTrackingResourceHasBeenSet =
true;
85 m_usageTrackingResource = std::forward<UsageTrackingResourceT>(value);
87 template <
typename UsageTrackingResourceT = UsageTrackingResource>
102 template <
typename DisplayNameT = Aws::String>
104 m_displayNameHasBeenSet =
true;
105 m_displayName = std::forward<DisplayNameT>(value);
107 template <
typename DisplayNameT = Aws::String>
122 template <
typename DescriptionT = Aws::String>
124 m_descriptionHasBeenSet =
true;
125 m_description = std::forward<DescriptionT>(value);
127 template <
typename DescriptionT = Aws::String>
141 m_approximateDollarLimitHasBeenSet =
true;
142 m_approximateDollarLimit = value;
156 template <
typename ActionsT = Aws::Vector<BudgetActionToAdd>>
158 m_actionsHasBeenSet =
true;
159 m_actions = std::forward<ActionsT>(value);
161 template <
typename ActionsT = Aws::Vector<BudgetActionToAdd>>
166 template <
typename ActionsT = BudgetActionToAdd>
168 m_actionsHasBeenSet =
true;
169 m_actions.emplace_back(std::forward<ActionsT>(value));
180 template <
typename ScheduleT = BudgetSchedule>
182 m_scheduleHasBeenSet =
true;
183 m_schedule = std::forward<ScheduleT>(value);
185 template <
typename ScheduleT = BudgetSchedule>
199 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
201 m_tagsHasBeenSet =
true;
202 m_tags = std::forward<TagsT>(value);
204 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
206 SetTags(std::forward<TagsT>(value));
209 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
211 m_tagsHasBeenSet =
true;
212 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
221 UsageTrackingResource m_usageTrackingResource;
227 double m_approximateDollarLimit{0.0};
231 BudgetSchedule m_schedule;
234 bool m_clientTokenHasBeenSet =
true;
235 bool m_farmIdHasBeenSet =
false;
236 bool m_usageTrackingResourceHasBeenSet =
false;
237 bool m_displayNameHasBeenSet =
false;
238 bool m_descriptionHasBeenSet =
false;
239 bool m_approximateDollarLimitHasBeenSet =
false;
240 bool m_actionsHasBeenSet =
false;
241 bool m_scheduleHasBeenSet =
false;
242 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