/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that represents the details of a multi-node parallel job
* node.See Also:
AWS
* API Reference
The node index for the node. Node index numbering starts at zero. This index
* is also available on the node with the AWS_BATCH_JOB_NODE_INDEX
* environment variable.
The node index for the node. Node index numbering starts at zero. This index
* is also available on the node with the AWS_BATCH_JOB_NODE_INDEX
* environment variable.
The node index for the node. Node index numbering starts at zero. This index
* is also available on the node with the AWS_BATCH_JOB_NODE_INDEX
* environment variable.
The node index for the node. Node index numbering starts at zero. This index
* is also available on the node with the AWS_BATCH_JOB_NODE_INDEX
* environment variable.
Specifies whether the current node is the main node for a multi-node parallel * job.
*/ inline bool GetIsMainNode() const{ return m_isMainNode; } /** *Specifies whether the current node is the main node for a multi-node parallel * job.
*/ inline bool IsMainNodeHasBeenSet() const { return m_isMainNodeHasBeenSet; } /** *Specifies whether the current node is the main node for a multi-node parallel * job.
*/ inline void SetIsMainNode(bool value) { m_isMainNodeHasBeenSet = true; m_isMainNode = value; } /** *Specifies whether the current node is the main node for a multi-node parallel * job.
*/ inline NodeDetails& WithIsMainNode(bool value) { SetIsMainNode(value); return *this;} private: int m_nodeIndex; bool m_nodeIndexHasBeenSet = false; bool m_isMainNode; bool m_isMainNodeHasBeenSet = false; }; } // namespace Model } // namespace Batch } // namespace Aws