7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/pcs/PCS_EXPORTS.h>
9#include <aws/pcs/model/Accounting.h>
10#include <aws/pcs/model/JwtAuth.h>
11#include <aws/pcs/model/SlurmAuthKey.h>
12#include <aws/pcs/model/SlurmCustomSetting.h>
13#include <aws/pcs/model/SlurmRest.h>
48 m_scaleDownIdleTimeInSecondsHasBeenSet =
true;
49 m_scaleDownIdleTimeInSeconds = value;
64 template <
typename SlurmCustomSettingsT = Aws::Vector<SlurmCustomSetting>>
66 m_slurmCustomSettingsHasBeenSet =
true;
67 m_slurmCustomSettings = std::forward<SlurmCustomSettingsT>(value);
69 template <
typename SlurmCustomSettingsT = Aws::Vector<SlurmCustomSetting>>
74 template <
typename SlurmCustomSettingsT = SlurmCustomSetting>
76 m_slurmCustomSettingsHasBeenSet =
true;
77 m_slurmCustomSettings.emplace_back(std::forward<SlurmCustomSettingsT>(value));
89 template <
typename AuthKeyT = SlurmAuthKey>
91 m_authKeyHasBeenSet =
true;
92 m_authKey = std::forward<AuthKeyT>(value);
94 template <
typename AuthKeyT = SlurmAuthKey>
107 template <
typename JwtAuthT = JwtAuth>
109 m_jwtAuthHasBeenSet =
true;
110 m_jwtAuth = std::forward<JwtAuthT>(value);
112 template <
typename JwtAuthT = JwtAuth>
126 template <
typename AccountingT = Accounting>
128 m_accountingHasBeenSet =
true;
129 m_accounting = std::forward<AccountingT>(value);
131 template <
typename AccountingT = Accounting>
144 template <
typename SlurmRestT = SlurmRest>
146 m_slurmRestHasBeenSet =
true;
147 m_slurmRest = std::forward<SlurmRestT>(value);
149 template <
typename SlurmRestT = SlurmRest>
156 int m_scaleDownIdleTimeInSeconds{0};
160 SlurmAuthKey m_authKey;
164 Accounting m_accounting;
166 SlurmRest m_slurmRest;
167 bool m_scaleDownIdleTimeInSecondsHasBeenSet =
false;
168 bool m_slurmCustomSettingsHasBeenSet =
false;
169 bool m_authKeyHasBeenSet =
false;
170 bool m_jwtAuthHasBeenSet =
false;
171 bool m_accountingHasBeenSet =
false;
172 bool m_slurmRestHasBeenSet =
false;
ClusterSlurmConfiguration & WithAccounting(AccountingT &&value)
bool ScaleDownIdleTimeInSecondsHasBeenSet() const
AWS_PCS_API ClusterSlurmConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetJwtAuth(JwtAuthT &&value)
void SetSlurmRest(SlurmRestT &&value)
AWS_PCS_API ClusterSlurmConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool SlurmRestHasBeenSet() const
const JwtAuth & GetJwtAuth() const
ClusterSlurmConfiguration & WithSlurmRest(SlurmRestT &&value)
void SetScaleDownIdleTimeInSeconds(int value)
void SetAuthKey(AuthKeyT &&value)
const SlurmRest & GetSlurmRest() const
const SlurmAuthKey & GetAuthKey() const
const Accounting & GetAccounting() const
ClusterSlurmConfiguration & WithJwtAuth(JwtAuthT &&value)
bool AccountingHasBeenSet() const
int GetScaleDownIdleTimeInSeconds() const
AWS_PCS_API ClusterSlurmConfiguration()=default
ClusterSlurmConfiguration & AddSlurmCustomSettings(SlurmCustomSettingsT &&value)
ClusterSlurmConfiguration & WithScaleDownIdleTimeInSeconds(int value)
bool SlurmCustomSettingsHasBeenSet() const
ClusterSlurmConfiguration & WithSlurmCustomSettings(SlurmCustomSettingsT &&value)
AWS_PCS_API Aws::Utils::Json::JsonValue Jsonize() const
bool JwtAuthHasBeenSet() const
void SetSlurmCustomSettings(SlurmCustomSettingsT &&value)
const Aws::Vector< SlurmCustomSetting > & GetSlurmCustomSettings() const
bool AuthKeyHasBeenSet() const
ClusterSlurmConfiguration & WithAuthKey(AuthKeyT &&value)
void SetAccounting(AccountingT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue