AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
SchedulingMaxPriorityOverride.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/model/SchedulingMaxPriorityOverrideAlwaysScheduleFirst.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace deadline {
20namespace Model {
21
29 public:
30 AWS_DEADLINE_API SchedulingMaxPriorityOverride() = default;
33 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline const SchedulingMaxPriorityOverrideAlwaysScheduleFirst& GetAlwaysScheduleFirst() const { return m_alwaysScheduleFirst; }
42 inline bool AlwaysScheduleFirstHasBeenSet() const { return m_alwaysScheduleFirstHasBeenSet; }
43 template <typename AlwaysScheduleFirstT = SchedulingMaxPriorityOverrideAlwaysScheduleFirst>
44 void SetAlwaysScheduleFirst(AlwaysScheduleFirstT&& value) {
45 m_alwaysScheduleFirstHasBeenSet = true;
46 m_alwaysScheduleFirst = std::forward<AlwaysScheduleFirstT>(value);
47 }
48 template <typename AlwaysScheduleFirstT = SchedulingMaxPriorityOverrideAlwaysScheduleFirst>
50 SetAlwaysScheduleFirst(std::forward<AlwaysScheduleFirstT>(value));
51 return *this;
52 }
54 private:
56 bool m_alwaysScheduleFirstHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace deadline
61} // namespace Aws
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEADLINE_API SchedulingMaxPriorityOverride(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API SchedulingMaxPriorityOverride()=default
AWS_DEADLINE_API SchedulingMaxPriorityOverride & operator=(Aws::Utils::Json::JsonView jsonValue)
SchedulingMaxPriorityOverride & WithAlwaysScheduleFirst(AlwaysScheduleFirstT &&value)
const SchedulingMaxPriorityOverrideAlwaysScheduleFirst & GetAlwaysScheduleFirst() const
Aws::Utils::Json::JsonValue JsonValue