7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/DeadlineRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/deadline/model/UsageTrackingResource.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/deadline/model/BudgetSchedule.h>
13#include <aws/deadline/model/BudgetActionToAdd.h>
15#include <aws/core/utils/UUID.h>
51 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
65 inline void SetFarmId(
const char* value) { m_farmIdHasBeenSet =
true; m_farmId.assign(value); }
93 inline void SetDisplayName(
const char* value) { m_displayNameHasBeenSet =
true; m_displayName.assign(value); }
109 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
153 bool m_clientTokenHasBeenSet =
false;
156 bool m_farmIdHasBeenSet =
false;
159 bool m_usageTrackingResourceHasBeenSet =
false;
162 bool m_displayNameHasBeenSet =
false;
165 bool m_descriptionHasBeenSet =
false;
167 double m_approximateDollarLimit;
168 bool m_approximateDollarLimitHasBeenSet =
false;
171 bool m_actionsHasBeenSet =
false;
174 bool m_scheduleHasBeenSet =
false;
void SetDisplayName(Aws::String &&value)
void SetClientToken(const char *value)
CreateBudgetRequest & WithActions(const Aws::Vector< BudgetActionToAdd > &value)
void SetSchedule(const BudgetSchedule &value)
CreateBudgetRequest & AddActions(BudgetActionToAdd &&value)
void SetDescription(const Aws::String &value)
void SetDescription(const char *value)
CreateBudgetRequest & WithDisplayName(Aws::String &&value)
void SetDisplayName(const Aws::String &value)
CreateBudgetRequest & WithClientToken(const Aws::String &value)
bool ActionsHasBeenSet() const
double GetApproximateDollarLimit() const
void SetFarmId(const Aws::String &value)
const Aws::String & GetFarmId() const
CreateBudgetRequest & WithSchedule(const BudgetSchedule &value)
CreateBudgetRequest & WithDisplayName(const char *value)
CreateBudgetRequest & WithUsageTrackingResource(UsageTrackingResource &&value)
void SetFarmId(const char *value)
CreateBudgetRequest & WithActions(Aws::Vector< BudgetActionToAdd > &&value)
void SetUsageTrackingResource(const UsageTrackingResource &value)
CreateBudgetRequest & WithFarmId(Aws::String &&value)
bool UsageTrackingResourceHasBeenSet() const
AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateBudgetRequest & WithFarmId(const char *value)
bool DescriptionHasBeenSet() const
void SetFarmId(Aws::String &&value)
CreateBudgetRequest & WithSchedule(BudgetSchedule &&value)
virtual const char * GetServiceRequestName() const override
AWS_DEADLINE_API CreateBudgetRequest()
AWS_DEADLINE_API Aws::String SerializePayload() const override
void SetActions(const Aws::Vector< BudgetActionToAdd > &value)
const Aws::String & GetDisplayName() const
bool ClientTokenHasBeenSet() const
void SetClientToken(Aws::String &&value)
bool ApproximateDollarLimitHasBeenSet() const
CreateBudgetRequest & WithApproximateDollarLimit(double value)
void SetDescription(Aws::String &&value)
CreateBudgetRequest & WithClientToken(const char *value)
CreateBudgetRequest & WithDescription(const Aws::String &value)
CreateBudgetRequest & WithUsageTrackingResource(const UsageTrackingResource &value)
bool FarmIdHasBeenSet() const
const Aws::String & GetClientToken() const
void SetDisplayName(const char *value)
void SetActions(Aws::Vector< BudgetActionToAdd > &&value)
CreateBudgetRequest & WithDescription(const char *value)
void SetUsageTrackingResource(UsageTrackingResource &&value)
void SetSchedule(BudgetSchedule &&value)
CreateBudgetRequest & WithDescription(Aws::String &&value)
const BudgetSchedule & GetSchedule() const
bool DisplayNameHasBeenSet() const
const UsageTrackingResource & GetUsageTrackingResource() const
CreateBudgetRequest & AddActions(const BudgetActionToAdd &value)
CreateBudgetRequest & WithFarmId(const Aws::String &value)
void SetApproximateDollarLimit(double value)
void SetClientToken(const Aws::String &value)
const Aws::String & GetDescription() const
const Aws::Vector< BudgetActionToAdd > & GetActions() const
bool ScheduleHasBeenSet() const
CreateBudgetRequest & WithDisplayName(const Aws::String &value)
CreateBudgetRequest & WithClientToken(Aws::String &&value)
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