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

Provides additional mapping information when JSON is the record format on the * streaming source.

See Also:

AWS * API Reference

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

Path to the top-level parent that contains the records.

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

Path to the top-level parent that contains the records.

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

Path to the top-level parent that contains the records.

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

Path to the top-level parent that contains the records.

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

Path to the top-level parent that contains the records.

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

Path to the top-level parent that contains the records.

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

Path to the top-level parent that contains the records.

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

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 KinesisAnalytics } // namespace Aws