/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that represents any node overrides to a job definition that's used
* in a SubmitJob API operation. This parameter isn't
* applicable to jobs that are running on Fargate resources. Don't provide it for
* these jobs. Rather, use containerOverrides
instead.See Also:
AWS
* API Reference
The number of nodes to use with a multi-node parallel job. This value * overrides the number of nodes that are specified in the job definition. To use * this override, you must meet the following conditions:
There
* must be at least one node range in your job definition that has an open upper
* boundary, such as :
or n:
.
The lower * boundary of the node range that's specified in the job definition must be fewer * than the number of nodes specified in the override.
The main * node index that's specified in the job definition must be fewer than the number * of nodes specified in the override.
The number of nodes to use with a multi-node parallel job. This value * overrides the number of nodes that are specified in the job definition. To use * this override, you must meet the following conditions:
There
* must be at least one node range in your job definition that has an open upper
* boundary, such as :
or n:
.
The lower * boundary of the node range that's specified in the job definition must be fewer * than the number of nodes specified in the override.
The main * node index that's specified in the job definition must be fewer than the number * of nodes specified in the override.
The number of nodes to use with a multi-node parallel job. This value * overrides the number of nodes that are specified in the job definition. To use * this override, you must meet the following conditions:
There
* must be at least one node range in your job definition that has an open upper
* boundary, such as :
or n:
.
The lower * boundary of the node range that's specified in the job definition must be fewer * than the number of nodes specified in the override.
The main * node index that's specified in the job definition must be fewer than the number * of nodes specified in the override.
The number of nodes to use with a multi-node parallel job. This value * overrides the number of nodes that are specified in the job definition. To use * this override, you must meet the following conditions:
There
* must be at least one node range in your job definition that has an open upper
* boundary, such as :
or n:
.
The lower * boundary of the node range that's specified in the job definition must be fewer * than the number of nodes specified in the override.
The main * node index that's specified in the job definition must be fewer than the number * of nodes specified in the override.
The node property overrides for the job.
*/ inline const Aws::VectorThe node property overrides for the job.
*/ inline bool NodePropertyOverridesHasBeenSet() const { return m_nodePropertyOverridesHasBeenSet; } /** *The node property overrides for the job.
*/ inline void SetNodePropertyOverrides(const Aws::VectorThe node property overrides for the job.
*/ inline void SetNodePropertyOverrides(Aws::VectorThe node property overrides for the job.
*/ inline NodeOverrides& WithNodePropertyOverrides(const Aws::VectorThe node property overrides for the job.
*/ inline NodeOverrides& WithNodePropertyOverrides(Aws::VectorThe node property overrides for the job.
*/ inline NodeOverrides& AddNodePropertyOverrides(const NodePropertyOverride& value) { m_nodePropertyOverridesHasBeenSet = true; m_nodePropertyOverrides.push_back(value); return *this; } /** *The node property overrides for the job.
*/ inline NodeOverrides& AddNodePropertyOverrides(NodePropertyOverride&& value) { m_nodePropertyOverridesHasBeenSet = true; m_nodePropertyOverrides.push_back(std::move(value)); return *this; } private: int m_numNodes; bool m_numNodesHasBeenSet = false; Aws::Vector