AWS SDK for C++

AWS SDK for C++ Version 1.11.773

Loading...
Searching...
No Matches
QuotaShareResourceSharingConfiguration.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/QuotaShareResourceSharingStrategy.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 QuotaShareResourceSharingConfiguration() = default;
33 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
44 inline QuotaShareResourceSharingStrategy GetStrategy() const { return m_strategy; }
45 inline bool StrategyHasBeenSet() const { return m_strategyHasBeenSet; }
47 m_strategyHasBeenSet = true;
48 m_strategy = value;
49 }
51 SetStrategy(value);
52 return *this;
53 }
55
57
69 inline int GetBorrowLimit() const { return m_borrowLimit; }
70 inline bool BorrowLimitHasBeenSet() const { return m_borrowLimitHasBeenSet; }
71 inline void SetBorrowLimit(int value) {
72 m_borrowLimitHasBeenSet = true;
73 m_borrowLimit = value;
74 }
76 SetBorrowLimit(value);
77 return *this;
78 }
80 private:
82
83 int m_borrowLimit{0};
84 bool m_strategyHasBeenSet = false;
85 bool m_borrowLimitHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace Batch
90} // namespace Aws
AWS_BATCH_API QuotaShareResourceSharingConfiguration(Aws::Utils::Json::JsonView jsonValue)
QuotaShareResourceSharingConfiguration & WithBorrowLimit(int value)
QuotaShareResourceSharingConfiguration & WithStrategy(QuotaShareResourceSharingStrategy value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BATCH_API QuotaShareResourceSharingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue