/* * 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 details of a multi-node parallel job node. /// public partial class NodeDetails { private bool? _isMainNode; private int? _nodeIndex; /// /// 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 starts 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; } } }