/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace KinesisAnalyticsV2 { namespace Model { class DiscoverInputSchemaResult { public: AWS_KINESISANALYTICSV2_API DiscoverInputSchemaResult(); AWS_KINESISANALYTICSV2_API DiscoverInputSchemaResult(const Aws::AmazonWebServiceResult& result); AWS_KINESISANALYTICSV2_API DiscoverInputSchemaResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The schema inferred from the streaming source. It identifies the format of * the data in the streaming source and how each data element maps to corresponding * columns in the in-application stream that you can create.

*/ inline const SourceSchema& GetInputSchema() const{ return m_inputSchema; } /** *

The schema inferred from the streaming source. It identifies the format of * the data in the streaming source and how each data element maps to corresponding * columns in the in-application stream that you can create.

*/ inline void SetInputSchema(const SourceSchema& value) { m_inputSchema = value; } /** *

The schema inferred from the streaming source. It identifies the format of * the data in the streaming source and how each data element maps to corresponding * columns in the in-application stream that you can create.

*/ inline void SetInputSchema(SourceSchema&& value) { m_inputSchema = std::move(value); } /** *

The schema inferred from the streaming source. It identifies the format of * the data in the streaming source and how each data element maps to corresponding * columns in the in-application stream that you can create.

*/ inline DiscoverInputSchemaResult& WithInputSchema(const SourceSchema& value) { SetInputSchema(value); return *this;} /** *

The schema inferred from the streaming source. It identifies the format of * the data in the streaming source and how each data element maps to corresponding * columns in the in-application stream that you can create.

*/ inline DiscoverInputSchemaResult& WithInputSchema(SourceSchema&& value) { SetInputSchema(std::move(value)); return *this;} /** *

An array of elements, where each element corresponds to a row in a stream * record (a stream record can have more than one row).

*/ inline const Aws::Vector>& GetParsedInputRecords() const{ return m_parsedInputRecords; } /** *

An array of elements, where each element corresponds to a row in a stream * record (a stream record can have more than one row).

*/ inline void SetParsedInputRecords(const Aws::Vector>& value) { m_parsedInputRecords = value; } /** *

An array of elements, where each element corresponds to a row in a stream * record (a stream record can have more than one row).

*/ inline void SetParsedInputRecords(Aws::Vector>&& value) { m_parsedInputRecords = std::move(value); } /** *

An array of elements, where each element corresponds to a row in a stream * record (a stream record can have more than one row).

*/ inline DiscoverInputSchemaResult& WithParsedInputRecords(const Aws::Vector>& value) { SetParsedInputRecords(value); return *this;} /** *

An array of elements, where each element corresponds to a row in a stream * record (a stream record can have more than one row).

*/ inline DiscoverInputSchemaResult& WithParsedInputRecords(Aws::Vector>&& value) { SetParsedInputRecords(std::move(value)); return *this;} /** *

An array of elements, where each element corresponds to a row in a stream * record (a stream record can have more than one row).

*/ inline DiscoverInputSchemaResult& AddParsedInputRecords(const Aws::Vector& value) { m_parsedInputRecords.push_back(value); return *this; } /** *

An array of elements, where each element corresponds to a row in a stream * record (a stream record can have more than one row).

*/ inline DiscoverInputSchemaResult& AddParsedInputRecords(Aws::Vector&& value) { m_parsedInputRecords.push_back(std::move(value)); return *this; } /** *

The stream data that was modified by the processor specified in the * InputProcessingConfiguration parameter.

*/ inline const Aws::Vector& GetProcessedInputRecords() const{ return m_processedInputRecords; } /** *

The stream data that was modified by the processor specified in the * InputProcessingConfiguration parameter.

*/ inline void SetProcessedInputRecords(const Aws::Vector& value) { m_processedInputRecords = value; } /** *

The stream data that was modified by the processor specified in the * InputProcessingConfiguration parameter.

*/ inline void SetProcessedInputRecords(Aws::Vector&& value) { m_processedInputRecords = std::move(value); } /** *

The stream data that was modified by the processor specified in the * InputProcessingConfiguration parameter.

*/ inline DiscoverInputSchemaResult& WithProcessedInputRecords(const Aws::Vector& value) { SetProcessedInputRecords(value); return *this;} /** *

The stream data that was modified by the processor specified in the * InputProcessingConfiguration parameter.

*/ inline DiscoverInputSchemaResult& WithProcessedInputRecords(Aws::Vector&& value) { SetProcessedInputRecords(std::move(value)); return *this;} /** *

The stream data that was modified by the processor specified in the * InputProcessingConfiguration parameter.

*/ inline DiscoverInputSchemaResult& AddProcessedInputRecords(const Aws::String& value) { m_processedInputRecords.push_back(value); return *this; } /** *

The stream data that was modified by the processor specified in the * InputProcessingConfiguration parameter.

*/ inline DiscoverInputSchemaResult& AddProcessedInputRecords(Aws::String&& value) { m_processedInputRecords.push_back(std::move(value)); return *this; } /** *

The stream data that was modified by the processor specified in the * InputProcessingConfiguration parameter.

*/ inline DiscoverInputSchemaResult& AddProcessedInputRecords(const char* value) { m_processedInputRecords.push_back(value); return *this; } /** *

The raw stream data that was sampled to infer the schema.

*/ inline const Aws::Vector& GetRawInputRecords() const{ return m_rawInputRecords; } /** *

The raw stream data that was sampled to infer the schema.

*/ inline void SetRawInputRecords(const Aws::Vector& value) { m_rawInputRecords = value; } /** *

The raw stream data that was sampled to infer the schema.

*/ inline void SetRawInputRecords(Aws::Vector&& value) { m_rawInputRecords = std::move(value); } /** *

The raw stream data that was sampled to infer the schema.

*/ inline DiscoverInputSchemaResult& WithRawInputRecords(const Aws::Vector& value) { SetRawInputRecords(value); return *this;} /** *

The raw stream data that was sampled to infer the schema.

*/ inline DiscoverInputSchemaResult& WithRawInputRecords(Aws::Vector&& value) { SetRawInputRecords(std::move(value)); return *this;} /** *

The raw stream data that was sampled to infer the schema.

*/ inline DiscoverInputSchemaResult& AddRawInputRecords(const Aws::String& value) { m_rawInputRecords.push_back(value); return *this; } /** *

The raw stream data that was sampled to infer the schema.

*/ inline DiscoverInputSchemaResult& AddRawInputRecords(Aws::String&& value) { m_rawInputRecords.push_back(std::move(value)); return *this; } /** *

The raw stream data that was sampled to infer the schema.

*/ inline DiscoverInputSchemaResult& AddRawInputRecords(const char* value) { m_rawInputRecords.push_back(value); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DiscoverInputSchemaResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DiscoverInputSchemaResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DiscoverInputSchemaResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: SourceSchema m_inputSchema; Aws::Vector> m_parsedInputRecords; Aws::Vector m_processedInputRecords; Aws::Vector m_rawInputRecords; Aws::String m_requestId; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws