7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/pcs/PCS_EXPORTS.h>
11#include <aws/pcs/model/ComputeNodeGroupConfiguration.h>
12#include <aws/pcs/model/ErrorInfo.h>
13#include <aws/pcs/model/QueueSlurmConfiguration.h>
14#include <aws/pcs/model/QueueStatus.h>
46 template <
typename NameT = Aws::String>
48 m_nameHasBeenSet =
true;
49 m_name = std::forward<NameT>(value);
51 template <
typename NameT = Aws::String>
53 SetName(std::forward<NameT>(value));
64 template <
typename IdT = Aws::String>
66 m_idHasBeenSet =
true;
67 m_id = std::forward<IdT>(value);
69 template <
typename IdT = Aws::String>
71 SetId(std::forward<IdT>(value));
82 template <
typename ArnT = Aws::String>
84 m_arnHasBeenSet =
true;
85 m_arn = std::forward<ArnT>(value);
87 template <
typename ArnT = Aws::String>
89 SetArn(std::forward<ArnT>(value));
100 template <
typename ClusterIdT = Aws::String>
102 m_clusterIdHasBeenSet =
true;
103 m_clusterId = std::forward<ClusterIdT>(value);
105 template <
typename ClusterIdT = Aws::String>
118 template <
typename CreatedAtT = Aws::Utils::DateTime>
120 m_createdAtHasBeenSet =
true;
121 m_createdAt = std::forward<CreatedAtT>(value);
123 template <
typename CreatedAtT = Aws::Utils::DateTime>
136 template <
typename ModifiedAtT = Aws::Utils::DateTime>
138 m_modifiedAtHasBeenSet =
true;
139 m_modifiedAt = std::forward<ModifiedAtT>(value);
141 template <
typename ModifiedAtT = Aws::Utils::DateTime>
165 m_statusHasBeenSet =
true;
180 return m_computeNodeGroupConfigurations;
183 template <
typename ComputeNodeGroupConfigurationsT = Aws::Vector<ComputeNodeGroupConfiguration>>
185 m_computeNodeGroupConfigurationsHasBeenSet =
true;
186 m_computeNodeGroupConfigurations = std::forward<ComputeNodeGroupConfigurationsT>(value);
188 template <
typename ComputeNodeGroupConfigurationsT = Aws::Vector<ComputeNodeGroupConfiguration>>
193 template <
typename ComputeNodeGroupConfigurationsT = ComputeNodeGroupConfiguration>
195 m_computeNodeGroupConfigurationsHasBeenSet =
true;
196 m_computeNodeGroupConfigurations.emplace_back(std::forward<ComputeNodeGroupConfigurationsT>(value));
207 template <
typename SlurmConfigurationT = QueueSlurmConfiguration>
209 m_slurmConfigurationHasBeenSet =
true;
210 m_slurmConfiguration = std::forward<SlurmConfigurationT>(value);
212 template <
typename SlurmConfigurationT = QueueSlurmConfiguration>
225 template <
typename ErrorInfoT = Aws::Vector<ErrorInfo>>
227 m_errorInfoHasBeenSet =
true;
228 m_errorInfo = std::forward<ErrorInfoT>(value);
230 template <
typename ErrorInfoT = Aws::Vector<ErrorInfo>>
235 template <
typename ErrorInfoT = ErrorInfo>
237 m_errorInfoHasBeenSet =
true;
238 m_errorInfo.emplace_back(std::forward<ErrorInfoT>(value));
259 QueueSlurmConfiguration m_slurmConfiguration;
262 bool m_nameHasBeenSet =
false;
263 bool m_idHasBeenSet =
false;
264 bool m_arnHasBeenSet =
false;
265 bool m_clusterIdHasBeenSet =
false;
266 bool m_createdAtHasBeenSet =
false;
267 bool m_modifiedAtHasBeenSet =
false;
268 bool m_statusHasBeenSet =
false;
269 bool m_computeNodeGroupConfigurationsHasBeenSet =
false;
270 bool m_slurmConfigurationHasBeenSet =
false;
271 bool m_errorInfoHasBeenSet =
false;
bool ModifiedAtHasBeenSet() const
const Aws::Vector< ErrorInfo > & GetErrorInfo() const
Queue & AddErrorInfo(ErrorInfoT &&value)
Queue & WithErrorInfo(ErrorInfoT &&value)
const Aws::String & GetArn() const
AWS_PCS_API Queue(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
void SetArn(ArnT &&value)
void SetSlurmConfiguration(SlurmConfigurationT &&value)
AWS_PCS_API Queue()=default
bool CreatedAtHasBeenSet() const
const Aws::Vector< ComputeNodeGroupConfiguration > & GetComputeNodeGroupConfigurations() const
void SetErrorInfo(ErrorInfoT &&value)
bool ClusterIdHasBeenSet() const
const Aws::Utils::DateTime & GetModifiedAt() const
Queue & WithStatus(QueueStatus value)
Queue & WithComputeNodeGroupConfigurations(ComputeNodeGroupConfigurationsT &&value)
void SetClusterId(ClusterIdT &&value)
bool ArnHasBeenSet() const
void SetModifiedAt(ModifiedAtT &&value)
bool NameHasBeenSet() const
Queue & AddComputeNodeGroupConfigurations(ComputeNodeGroupConfigurationsT &&value)
void SetCreatedAt(CreatedAtT &&value)
Queue & WithClusterId(ClusterIdT &&value)
QueueStatus GetStatus() const
Queue & WithCreatedAt(CreatedAtT &&value)
AWS_PCS_API Queue & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ErrorInfoHasBeenSet() const
AWS_PCS_API Aws::Utils::Json::JsonValue Jsonize() const
Queue & WithName(NameT &&value)
Queue & WithArn(ArnT &&value)
bool SlurmConfigurationHasBeenSet() const
void SetName(NameT &&value)
Queue & WithId(IdT &&value)
bool ComputeNodeGroupConfigurationsHasBeenSet() const
const Aws::String & GetId() const
bool IdHasBeenSet() const
Queue & WithModifiedAt(ModifiedAtT &&value)
void SetStatus(QueueStatus value)
Queue & WithSlurmConfiguration(SlurmConfigurationT &&value)
const Aws::String & GetClusterId() const
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetComputeNodeGroupConfigurations(ComputeNodeGroupConfigurationsT &&value)
const QueueSlurmConfiguration & GetSlurmConfiguration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue