/* * 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 macie2-2020-01-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.Macie2.Model { /// /// Specifies the location of an occurrence of sensitive data in a Microsoft Excel workbook, /// CSV file, or TSV file. /// public partial class Cell { private string _cellReference; private long? _column; private string _columnName; private long? _row; /// /// Gets and sets the property CellReference. /// /// The location of the cell, as an absolute cell reference, that contains the sensitive /// data, for example Sheet2!C5 for cell C5 on Sheet2 in a Microsoft Excel workbook. This /// value is null for CSV and TSV files. /// /// public string CellReference { get { return this._cellReference; } set { this._cellReference = value; } } // Check to see if CellReference property is set internal bool IsSetCellReference() { return this._cellReference != null; } /// /// Gets and sets the property Column. /// /// The column number of the column that contains the sensitive data. For a Microsoft /// Excel workbook, this value correlates to the alphabetical character(s) for a column /// identifier, for example: 1 for column A, 2 for column B, and so on. /// /// public long 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 ColumnName. /// /// The name of the column that contains the sensitive data, if available. /// /// public string ColumnName { get { return this._columnName; } set { this._columnName = value; } } // Check to see if ColumnName property is set internal bool IsSetColumnName() { return this._columnName != null; } /// /// Gets and sets the property Row. /// /// The row number of the row that contains the sensitive data. /// /// public long Row { get { return this._row.GetValueOrDefault(); } set { this._row = value; } } // Check to see if Row property is set internal bool IsSetRow() { return this._row.HasValue; } } }