7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/model/SchedulingMaxPriorityOverride.h>
9#include <aws/deadline/model/SchedulingMinPriorityOverride.h>
50 m_priorityWeightHasBeenSet =
true;
51 m_priorityWeight = value;
68 m_errorWeightHasBeenSet =
true;
69 m_errorWeight = value;
86 m_submissionTimeWeightHasBeenSet =
true;
87 m_submissionTimeWeight = value;
105 m_renderingTaskWeightHasBeenSet =
true;
106 m_renderingTaskWeight = value;
126 m_renderingTaskBufferHasBeenSet =
true;
127 m_renderingTaskBuffer = value;
144 template <
typename MaxPriorityOverr
ideT = SchedulingMaxPriorityOverr
ide>
146 m_maxPriorityOverrideHasBeenSet =
true;
147 m_maxPriorityOverride = std::forward<MaxPriorityOverrideT>(value);
149 template <
typename MaxPriorityOverr
ideT = SchedulingMaxPriorityOverr
ide>
165 template <
typename MinPriorityOverr
ideT = SchedulingMinPriorityOverr
ide>
167 m_minPriorityOverrideHasBeenSet =
true;
168 m_minPriorityOverride = std::forward<MinPriorityOverrideT>(value);
170 template <
typename MinPriorityOverr
ideT = SchedulingMinPriorityOverr
ide>
177 double m_priorityWeight{0.0};
179 double m_errorWeight{0.0};
181 double m_submissionTimeWeight{0.0};
183 double m_renderingTaskWeight{0.0};
185 int m_renderingTaskBuffer{0};
187 SchedulingMaxPriorityOverride m_maxPriorityOverride;
189 SchedulingMinPriorityOverride m_minPriorityOverride;
190 bool m_priorityWeightHasBeenSet =
false;
191 bool m_errorWeightHasBeenSet =
false;
192 bool m_submissionTimeWeightHasBeenSet =
false;
193 bool m_renderingTaskWeightHasBeenSet =
false;
194 bool m_renderingTaskBufferHasBeenSet =
false;
195 bool m_maxPriorityOverrideHasBeenSet =
false;
196 bool m_minPriorityOverrideHasBeenSet =
false;
double GetRenderingTaskWeight() const
AWS_DEADLINE_API WeightedBalancedSchedulingConfiguration(Aws::Utils::Json::JsonView jsonValue)
WeightedBalancedSchedulingConfiguration & WithRenderingTaskWeight(double value)
bool MinPriorityOverrideHasBeenSet() const
bool SubmissionTimeWeightHasBeenSet() const
double GetErrorWeight() const
bool MaxPriorityOverrideHasBeenSet() const
WeightedBalancedSchedulingConfiguration & WithRenderingTaskBuffer(int value)
bool RenderingTaskWeightHasBeenSet() const
bool RenderingTaskBufferHasBeenSet() const
void SetSubmissionTimeWeight(double value)
void SetRenderingTaskBuffer(int value)
void SetMinPriorityOverride(MinPriorityOverrideT &&value)
WeightedBalancedSchedulingConfiguration & WithMaxPriorityOverride(MaxPriorityOverrideT &&value)
WeightedBalancedSchedulingConfiguration & WithSubmissionTimeWeight(double value)
const SchedulingMaxPriorityOverride & GetMaxPriorityOverride() const
double GetPriorityWeight() const
const SchedulingMinPriorityOverride & GetMinPriorityOverride() const
WeightedBalancedSchedulingConfiguration & WithPriorityWeight(double value)
void SetPriorityWeight(double value)
AWS_DEADLINE_API WeightedBalancedSchedulingConfiguration()=default
void SetRenderingTaskWeight(double value)
void SetMaxPriorityOverride(MaxPriorityOverrideT &&value)
double GetSubmissionTimeWeight() const
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
WeightedBalancedSchedulingConfiguration & WithMinPriorityOverride(MinPriorityOverrideT &&value)
AWS_DEADLINE_API WeightedBalancedSchedulingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
WeightedBalancedSchedulingConfiguration & WithErrorWeight(double value)
bool ErrorWeightHasBeenSet() const
void SetErrorWeight(double value)
int GetRenderingTaskBuffer() const
bool PriorityWeightHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue