7#include <aws/pcs/PCS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/pcs/model/SlurmAuthKey.h>
10#include <aws/pcs/model/Accounting.h>
11#include <aws/pcs/model/SlurmCustomSetting.h>
62 template<
typename SlurmCustomSettingsT = Aws::Vector<SlurmCustomSetting>>
63 void SetSlurmCustomSettings(SlurmCustomSettingsT&& value) { m_slurmCustomSettingsHasBeenSet =
true; m_slurmCustomSettings = std::forward<SlurmCustomSettingsT>(value); }
64 template<
typename SlurmCustomSettingsT = Aws::Vector<SlurmCustomSetting>>
66 template<
typename SlurmCustomSettingsT = SlurmCustomSetting>
77 template<
typename AuthKeyT = SlurmAuthKey>
78 void SetAuthKey(AuthKeyT&& value) { m_authKeyHasBeenSet =
true; m_authKey = std::forward<AuthKeyT>(value); }
79 template<
typename AuthKeyT = SlurmAuthKey>
90 template<
typename AccountingT = Accounting>
91 void SetAccounting(AccountingT&& value) { m_accountingHasBeenSet =
true; m_accounting = std::forward<AccountingT>(value); }
92 template<
typename AccountingT = Accounting>
97 int m_scaleDownIdleTimeInSeconds{0};
98 bool m_scaleDownIdleTimeInSecondsHasBeenSet =
false;
101 bool m_slurmCustomSettingsHasBeenSet =
false;
103 SlurmAuthKey m_authKey;
104 bool m_authKeyHasBeenSet =
false;
106 Accounting m_accounting;
107 bool m_accountingHasBeenSet =
false;
ClusterSlurmConfiguration & WithAccounting(AccountingT &&value)
bool ScaleDownIdleTimeInSecondsHasBeenSet() const
AWS_PCS_API ClusterSlurmConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PCS_API ClusterSlurmConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetScaleDownIdleTimeInSeconds(int value)
void SetAuthKey(AuthKeyT &&value)
const SlurmAuthKey & GetAuthKey() const
const Accounting & GetAccounting() const
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
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