/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Macie2 { namespace Model { /** *

Specifies the location of an occurrence of sensitive data in an email message * or a non-binary text file such as an HTML, TXT, or XML file.

See * Also:

AWS API * Reference

*/ class Range { public: AWS_MACIE2_API Range(); AWS_MACIE2_API Range(Aws::Utils::Json::JsonView jsonValue); AWS_MACIE2_API Range& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The number of lines from the beginning of the file to the end of the * sensitive data.

*/ inline long long GetEnd() const{ return m_end; } /** *

The number of lines from the beginning of the file to the end of the * sensitive data.

*/ inline bool EndHasBeenSet() const { return m_endHasBeenSet; } /** *

The number of lines from the beginning of the file to the end of the * sensitive data.

*/ inline void SetEnd(long long value) { m_endHasBeenSet = true; m_end = value; } /** *

The number of lines from the beginning of the file to the end of the * sensitive data.

*/ inline Range& WithEnd(long long value) { SetEnd(value); return *this;} /** *

The number of lines from the beginning of the file to the beginning of the * sensitive data.

*/ inline long long GetStart() const{ return m_start; } /** *

The number of lines from the beginning of the file to the beginning of the * sensitive data.

*/ inline bool StartHasBeenSet() const { return m_startHasBeenSet; } /** *

The number of lines from the beginning of the file to the beginning of the * sensitive data.

*/ inline void SetStart(long long value) { m_startHasBeenSet = true; m_start = value; } /** *

The number of lines from the beginning of the file to the beginning of the * sensitive data.

*/ inline Range& WithStart(long long value) { SetStart(value); return *this;} /** *

The number of characters, with spaces and starting from 1, from the beginning * of the first line that contains the sensitive data (start) to the beginning of * the sensitive data.

*/ inline long long GetStartColumn() const{ return m_startColumn; } /** *

The number of characters, with spaces and starting from 1, from the beginning * of the first line that contains the sensitive data (start) to the beginning of * the sensitive data.

*/ inline bool StartColumnHasBeenSet() const { return m_startColumnHasBeenSet; } /** *

The number of characters, with spaces and starting from 1, from the beginning * of the first line that contains the sensitive data (start) to the beginning of * the sensitive data.

*/ inline void SetStartColumn(long long value) { m_startColumnHasBeenSet = true; m_startColumn = value; } /** *

The number of characters, with spaces and starting from 1, from the beginning * of the first line that contains the sensitive data (start) to the beginning of * the sensitive data.

*/ inline Range& WithStartColumn(long long value) { SetStartColumn(value); return *this;} private: long long m_end; bool m_endHasBeenSet = false; long long m_start; bool m_startHasBeenSet = false; long long m_startColumn; bool m_startColumnHasBeenSet = false; }; } // namespace Model } // namespace Macie2 } // namespace Aws