/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An occurrence of sensitive data in an Apache Avro object container or an
* Apache Parquet file.See Also:
AWS
* API Reference
The path, as a JSONPath expression, to the field in the record that contains * the data. If the field name is longer than 20 characters, it is truncated. If * the path is longer than 250 characters, it is truncated.
*/ inline const Aws::String& GetJsonPath() const{ return m_jsonPath; } /** *The path, as a JSONPath expression, to the field in the record that contains * the data. If the field name is longer than 20 characters, it is truncated. If * the path is longer than 250 characters, it is truncated.
*/ inline bool JsonPathHasBeenSet() const { return m_jsonPathHasBeenSet; } /** *The path, as a JSONPath expression, to the field in the record that contains * the data. If the field name is longer than 20 characters, it is truncated. If * the path is longer than 250 characters, it is truncated.
*/ inline void SetJsonPath(const Aws::String& value) { m_jsonPathHasBeenSet = true; m_jsonPath = value; } /** *The path, as a JSONPath expression, to the field in the record that contains * the data. If the field name is longer than 20 characters, it is truncated. If * the path is longer than 250 characters, it is truncated.
*/ inline void SetJsonPath(Aws::String&& value) { m_jsonPathHasBeenSet = true; m_jsonPath = std::move(value); } /** *The path, as a JSONPath expression, to the field in the record that contains * the data. If the field name is longer than 20 characters, it is truncated. If * the path is longer than 250 characters, it is truncated.
*/ inline void SetJsonPath(const char* value) { m_jsonPathHasBeenSet = true; m_jsonPath.assign(value); } /** *The path, as a JSONPath expression, to the field in the record that contains * the data. If the field name is longer than 20 characters, it is truncated. If * the path is longer than 250 characters, it is truncated.
*/ inline Record& WithJsonPath(const Aws::String& value) { SetJsonPath(value); return *this;} /** *The path, as a JSONPath expression, to the field in the record that contains * the data. If the field name is longer than 20 characters, it is truncated. If * the path is longer than 250 characters, it is truncated.
*/ inline Record& WithJsonPath(Aws::String&& value) { SetJsonPath(std::move(value)); return *this;} /** *The path, as a JSONPath expression, to the field in the record that contains * the data. If the field name is longer than 20 characters, it is truncated. If * the path is longer than 250 characters, it is truncated.
*/ inline Record& WithJsonPath(const char* value) { SetJsonPath(value); return *this;} /** *The record index, starting from 0, for the record that contains the data.
*/ inline long long GetRecordIndex() const{ return m_recordIndex; } /** *The record index, starting from 0, for the record that contains the data.
*/ inline bool RecordIndexHasBeenSet() const { return m_recordIndexHasBeenSet; } /** *The record index, starting from 0, for the record that contains the data.
*/ inline void SetRecordIndex(long long value) { m_recordIndexHasBeenSet = true; m_recordIndex = value; } /** *The record index, starting from 0, for the record that contains the data.
*/ inline Record& WithRecordIndex(long long value) { SetRecordIndex(value); return *this;} private: Aws::String m_jsonPath; bool m_jsonPathHasBeenSet = false; long long m_recordIndex; bool m_recordIndexHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws