AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ComputeNodeGroupSlurmConfigurationRequest.h
1
6#pragma once
7#include <aws/pcs/PCS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/pcs/model/SlurmCustomSetting.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace PCS
23{
24namespace Model
25{
26
34 {
35 public:
40
41
43
47 inline const Aws::Vector<SlurmCustomSetting>& GetSlurmCustomSettings() const{ return m_slurmCustomSettings; }
48 inline bool SlurmCustomSettingsHasBeenSet() const { return m_slurmCustomSettingsHasBeenSet; }
49 inline void SetSlurmCustomSettings(const Aws::Vector<SlurmCustomSetting>& value) { m_slurmCustomSettingsHasBeenSet = true; m_slurmCustomSettings = value; }
50 inline void SetSlurmCustomSettings(Aws::Vector<SlurmCustomSetting>&& value) { m_slurmCustomSettingsHasBeenSet = true; m_slurmCustomSettings = std::move(value); }
53 inline ComputeNodeGroupSlurmConfigurationRequest& AddSlurmCustomSettings(const SlurmCustomSetting& value) { m_slurmCustomSettingsHasBeenSet = true; m_slurmCustomSettings.push_back(value); return *this; }
54 inline ComputeNodeGroupSlurmConfigurationRequest& AddSlurmCustomSettings(SlurmCustomSetting&& value) { m_slurmCustomSettingsHasBeenSet = true; m_slurmCustomSettings.push_back(std::move(value)); return *this; }
56 private:
57
58 Aws::Vector<SlurmCustomSetting> m_slurmCustomSettings;
59 bool m_slurmCustomSettingsHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace PCS
64} // namespace Aws
AWS_PCS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PCS_API ComputeNodeGroupSlurmConfigurationRequest(Aws::Utils::Json::JsonView jsonValue)
ComputeNodeGroupSlurmConfigurationRequest & AddSlurmCustomSettings(const SlurmCustomSetting &value)
ComputeNodeGroupSlurmConfigurationRequest & WithSlurmCustomSettings(Aws::Vector< SlurmCustomSetting > &&value)
void SetSlurmCustomSettings(const Aws::Vector< SlurmCustomSetting > &value)
ComputeNodeGroupSlurmConfigurationRequest & WithSlurmCustomSettings(const Aws::Vector< SlurmCustomSetting > &value)
AWS_PCS_API ComputeNodeGroupSlurmConfigurationRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
ComputeNodeGroupSlurmConfigurationRequest & AddSlurmCustomSettings(SlurmCustomSetting &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue