AWS SDK for C++

AWS SDK for C++ Version 1.11.773

Loading...
Searching...
No Matches
QuotaSharePreemptionConfiguration.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/QuotaShareInSharePreemptionState.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Batch {
20namespace Model {
21
29 public:
30 AWS_BATCH_API QuotaSharePreemptionConfiguration() = default;
33 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline QuotaShareInSharePreemptionState GetInSharePreemption() const { return m_inSharePreemption; }
41 inline bool InSharePreemptionHasBeenSet() const { return m_inSharePreemptionHasBeenSet; }
43 m_inSharePreemptionHasBeenSet = true;
44 m_inSharePreemption = value;
45 }
48 return *this;
49 }
51 private:
53 bool m_inSharePreemptionHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace Batch
58} // namespace Aws
AWS_BATCH_API QuotaSharePreemptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
QuotaSharePreemptionConfiguration & WithInSharePreemption(QuotaShareInSharePreemptionState value)
void SetInSharePreemption(QuotaShareInSharePreemptionState value)
AWS_BATCH_API QuotaSharePreemptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue