91 lines
2.8 KiB
C++
91 lines
2.8 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace KinesisAnalyticsV2
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>For an SQL-based Amazon Kinesis Data Analytics application, provides
|
|
* additional mapping information when JSON is the record format on the streaming
|
|
* source.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/JSONMappingParameters">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_KINESISANALYTICSV2_API JSONMappingParameters
|
|
{
|
|
public:
|
|
JSONMappingParameters();
|
|
JSONMappingParameters(Aws::Utils::Json::JsonView jsonValue);
|
|
JSONMappingParameters& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The path to the top-level parent that contains the records.</p>
|
|
*/
|
|
inline const Aws::String& GetRecordRowPath() const{ return m_recordRowPath; }
|
|
|
|
/**
|
|
* <p>The path to the top-level parent that contains the records.</p>
|
|
*/
|
|
inline bool RecordRowPathHasBeenSet() const { return m_recordRowPathHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The path to the top-level parent that contains the records.</p>
|
|
*/
|
|
inline void SetRecordRowPath(const Aws::String& value) { m_recordRowPathHasBeenSet = true; m_recordRowPath = value; }
|
|
|
|
/**
|
|
* <p>The path to the top-level parent that contains the records.</p>
|
|
*/
|
|
inline void SetRecordRowPath(Aws::String&& value) { m_recordRowPathHasBeenSet = true; m_recordRowPath = std::move(value); }
|
|
|
|
/**
|
|
* <p>The path to the top-level parent that contains the records.</p>
|
|
*/
|
|
inline void SetRecordRowPath(const char* value) { m_recordRowPathHasBeenSet = true; m_recordRowPath.assign(value); }
|
|
|
|
/**
|
|
* <p>The path to the top-level parent that contains the records.</p>
|
|
*/
|
|
inline JSONMappingParameters& WithRecordRowPath(const Aws::String& value) { SetRecordRowPath(value); return *this;}
|
|
|
|
/**
|
|
* <p>The path to the top-level parent that contains the records.</p>
|
|
*/
|
|
inline JSONMappingParameters& WithRecordRowPath(Aws::String&& value) { SetRecordRowPath(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The path to the top-level parent that contains the records.</p>
|
|
*/
|
|
inline JSONMappingParameters& WithRecordRowPath(const char* value) { SetRecordRowPath(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_recordRowPath;
|
|
bool m_recordRowPathHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace KinesisAnalyticsV2
|
|
} // namespace Aws
|