/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A position in a policy.See Also:
AWS
* API Reference
The line of the position, starting from 1.
*/ inline int GetLine() const{ return m_line; } /** *The line of the position, starting from 1.
*/ inline bool LineHasBeenSet() const { return m_lineHasBeenSet; } /** *The line of the position, starting from 1.
*/ inline void SetLine(int value) { m_lineHasBeenSet = true; m_line = value; } /** *The line of the position, starting from 1.
*/ inline Position& WithLine(int value) { SetLine(value); return *this;} /** *The column of the position, starting from 0.
*/ inline int GetColumn() const{ return m_column; } /** *The column of the position, starting from 0.
*/ inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; } /** *The column of the position, starting from 0.
*/ inline void SetColumn(int value) { m_columnHasBeenSet = true; m_column = value; } /** *The column of the position, starting from 0.
*/ inline Position& WithColumn(int value) { SetColumn(value); return *this;} /** *The offset within the policy that corresponds to the position, starting from * 0.
*/ inline int GetOffset() const{ return m_offset; } /** *The offset within the policy that corresponds to the position, starting from * 0.
*/ inline bool OffsetHasBeenSet() const { return m_offsetHasBeenSet; } /** *The offset within the policy that corresponds to the position, starting from * 0.
*/ inline void SetOffset(int value) { m_offsetHasBeenSet = true; m_offset = value; } /** *The offset within the policy that corresponds to the position, starting from * 0.
*/ inline Position& WithOffset(int value) { SetOffset(value); return *this;} private: int m_line; bool m_lineHasBeenSet = false; int m_column; bool m_columnHasBeenSet = false; int m_offset; bool m_offsetHasBeenSet = false; }; } // namespace Model } // namespace AccessAnalyzer } // namespace Aws