/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the batch-2016-08-10.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Batch.Model { /// /// An object that represents the properties of a node that's associated with a multi-node /// parallel job. /// public partial class NodePropertiesSummary { private bool? _isMainNode; private int? _nodeIndex; private int? _numNodes; /// /// Gets and sets the property IsMainNode. /// /// Specifies whether the current node is the main node for a multi-node parallel job. /// /// public bool IsMainNode { get { return this._isMainNode.GetValueOrDefault(); } set { this._isMainNode = value; } } // Check to see if IsMainNode property is set internal bool IsSetIsMainNode() { return this._isMainNode.HasValue; } /// /// Gets and sets the property NodeIndex. /// /// The node index for the node. Node index numbering begins at zero. This index is also /// available on the node with the AWS_BATCH_JOB_NODE_INDEX environment variable. /// /// public int NodeIndex { get { return this._nodeIndex.GetValueOrDefault(); } set { this._nodeIndex = value; } } // Check to see if NodeIndex property is set internal bool IsSetNodeIndex() { return this._nodeIndex.HasValue; } /// /// Gets and sets the property NumNodes. /// /// The number of nodes that are associated with a multi-node parallel job. /// /// public int NumNodes { get { return this._numNodes.GetValueOrDefault(); } set { this._numNodes = value; } } // Check to see if NumNodes property is set internal bool IsSetNumNodes() { return this._numNodes.HasValue; } } }