/* * 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 accessanalyzer-2019-11-01.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.AccessAnalyzer.Model { /// /// A position in a policy. /// public partial class Position { private int? _column; private int? _line; private int? _offset; /// /// Gets and sets the property Column. /// /// The column of the position, starting from 0. /// /// [AWSProperty(Required=true)] public int Column { get { return this._column.GetValueOrDefault(); } set { this._column = value; } } // Check to see if Column property is set internal bool IsSetColumn() { return this._column.HasValue; } /// /// Gets and sets the property Line. /// /// The line of the position, starting from 1. /// /// [AWSProperty(Required=true)] public int Line { get { return this._line.GetValueOrDefault(); } set { this._line = value; } } // Check to see if Line property is set internal bool IsSetLine() { return this._line.HasValue; } /// /// Gets and sets the property Offset. /// /// The offset within the policy that corresponds to the position, starting from 0. /// /// [AWSProperty(Required=true)] public int Offset { get { return this._offset.GetValueOrDefault(); } set { this._offset = value; } } // Check to see if Offset property is set internal bool IsSetOffset() { return this._offset.HasValue; } } }