/** * 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 SecurityHub { namespace Model { /** *

Identifies where the sensitive data begins and ends.

See Also:

* AWS * API Reference

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

The number of lines (for a line range) or characters (for an offset range) * from the beginning of the file to the end of the sensitive data.

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

The number of lines (for a line range) or characters (for an offset range) * from the beginning of the file to the end of the sensitive data.

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

The number of lines (for a line range) or characters (for an offset range) * from the beginning of the file to the end of the sensitive data.

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

The number of lines (for a line range) or characters (for an offset range) * from the beginning of the file to the end of the sensitive data.

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

The number of lines (for a line range) or characters (for an offset range) * 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 (for a line range) or characters (for an offset range) * from the beginning of the file to the end of the sensitive data.

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

The number of lines (for a line range) or characters (for an offset range) * 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 (for a line range) or characters (for an offset range) * from the beginning of the file to the end of the sensitive data.

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

In the line where the sensitive data starts, the column within the line where * the sensitive data starts.

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

In the line where the sensitive data starts, the column within the line where * the sensitive data starts.

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

In the line where the sensitive data starts, the column within the line where * the sensitive data starts.

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

In the line where the sensitive data starts, the column within the line where * the sensitive data starts.

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