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

For a SQL-based Kinesis Data Analytics application, provides additional * mapping information when JSON is the record format on the streaming * source.

See Also:

AWS * API Reference

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

The path to the top-level parent that contains the records.

*/ inline const Aws::String& GetRecordRowPath() const{ return m_recordRowPath; } /** *

The path to the top-level parent that contains the records.

*/ inline bool RecordRowPathHasBeenSet() const { return m_recordRowPathHasBeenSet; } /** *

The path to the top-level parent that contains the records.

*/ inline void SetRecordRowPath(const Aws::String& value) { m_recordRowPathHasBeenSet = true; m_recordRowPath = value; } /** *

The path to the top-level parent that contains the records.

*/ inline void SetRecordRowPath(Aws::String&& value) { m_recordRowPathHasBeenSet = true; m_recordRowPath = std::move(value); } /** *

The path to the top-level parent that contains the records.

*/ inline void SetRecordRowPath(const char* value) { m_recordRowPathHasBeenSet = true; m_recordRowPath.assign(value); } /** *

The path to the top-level parent that contains the records.

*/ inline JSONMappingParameters& WithRecordRowPath(const Aws::String& value) { SetRecordRowPath(value); return *this;} /** *

The path to the top-level parent that contains the records.

*/ inline JSONMappingParameters& WithRecordRowPath(Aws::String&& value) { SetRecordRowPath(std::move(value)); return *this;} /** *

The path to the top-level parent that contains the records.

*/ inline JSONMappingParameters& WithRecordRowPath(const char* value) { SetRecordRowPath(value); return *this;} private: Aws::String m_recordRowPath; bool m_recordRowPathHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws