/** * 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 { /** *

Describes the data format when records are written to the destination in a * SQL-based Kinesis Data Analytics application.

See Also:

AWS * API Reference

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

Specifies the format of the records on the output stream.

*/ inline const RecordFormatType& GetRecordFormatType() const{ return m_recordFormatType; } /** *

Specifies the format of the records on the output stream.

*/ inline bool RecordFormatTypeHasBeenSet() const { return m_recordFormatTypeHasBeenSet; } /** *

Specifies the format of the records on the output stream.

*/ inline void SetRecordFormatType(const RecordFormatType& value) { m_recordFormatTypeHasBeenSet = true; m_recordFormatType = value; } /** *

Specifies the format of the records on the output stream.

*/ inline void SetRecordFormatType(RecordFormatType&& value) { m_recordFormatTypeHasBeenSet = true; m_recordFormatType = std::move(value); } /** *

Specifies the format of the records on the output stream.

*/ inline DestinationSchema& WithRecordFormatType(const RecordFormatType& value) { SetRecordFormatType(value); return *this;} /** *

Specifies the format of the records on the output stream.

*/ inline DestinationSchema& WithRecordFormatType(RecordFormatType&& value) { SetRecordFormatType(std::move(value)); return *this;} private: RecordFormatType m_recordFormatType; bool m_recordFormatTypeHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws