/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that represents the node properties of a multi-node parallel
* job. Node properties can't be specified for Amazon EKS based job
* definitions.See Also:
AWS
* API Reference
The number of nodes that are associated with a multi-node parallel job.
*/ inline int GetNumNodes() const{ return m_numNodes; } /** *The number of nodes that are associated with a multi-node parallel job.
*/ inline bool NumNodesHasBeenSet() const { return m_numNodesHasBeenSet; } /** *The number of nodes that are associated with a multi-node parallel job.
*/ inline void SetNumNodes(int value) { m_numNodesHasBeenSet = true; m_numNodes = value; } /** *The number of nodes that are associated with a multi-node parallel job.
*/ inline NodeProperties& WithNumNodes(int value) { SetNumNodes(value); return *this;} /** *Specifies the node index for the main node of a multi-node parallel job. This * node index value must be fewer than the number of nodes.
*/ inline int GetMainNode() const{ return m_mainNode; } /** *Specifies the node index for the main node of a multi-node parallel job. This * node index value must be fewer than the number of nodes.
*/ inline bool MainNodeHasBeenSet() const { return m_mainNodeHasBeenSet; } /** *Specifies the node index for the main node of a multi-node parallel job. This * node index value must be fewer than the number of nodes.
*/ inline void SetMainNode(int value) { m_mainNodeHasBeenSet = true; m_mainNode = value; } /** *Specifies the node index for the main node of a multi-node parallel job. This * node index value must be fewer than the number of nodes.
*/ inline NodeProperties& WithMainNode(int value) { SetMainNode(value); return *this;} /** *A list of node ranges and their properties that are associated with a * multi-node parallel job.
*/ inline const Aws::VectorA list of node ranges and their properties that are associated with a * multi-node parallel job.
*/ inline bool NodeRangePropertiesHasBeenSet() const { return m_nodeRangePropertiesHasBeenSet; } /** *A list of node ranges and their properties that are associated with a * multi-node parallel job.
*/ inline void SetNodeRangeProperties(const Aws::VectorA list of node ranges and their properties that are associated with a * multi-node parallel job.
*/ inline void SetNodeRangeProperties(Aws::VectorA list of node ranges and their properties that are associated with a * multi-node parallel job.
*/ inline NodeProperties& WithNodeRangeProperties(const Aws::VectorA list of node ranges and their properties that are associated with a * multi-node parallel job.
*/ inline NodeProperties& WithNodeRangeProperties(Aws::VectorA list of node ranges and their properties that are associated with a * multi-node parallel job.
*/ inline NodeProperties& AddNodeRangeProperties(const NodeRangeProperty& value) { m_nodeRangePropertiesHasBeenSet = true; m_nodeRangeProperties.push_back(value); return *this; } /** *A list of node ranges and their properties that are associated with a * multi-node parallel job.
*/ inline NodeProperties& AddNodeRangeProperties(NodeRangeProperty&& value) { m_nodeRangePropertiesHasBeenSet = true; m_nodeRangeProperties.push_back(std::move(value)); return *this; } private: int m_numNodes; bool m_numNodesHasBeenSet = false; int m_mainNode; bool m_mainNodeHasBeenSet = false; Aws::Vector