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

Describes the data format when records are written to the destination. For * more information, see Configuring * Application Output.

See Also:

AWS * API Reference

*/ class DestinationSchema { public: AWS_KINESISANALYTICS_API DestinationSchema(); AWS_KINESISANALYTICS_API DestinationSchema(Aws::Utils::Json::JsonView jsonValue); AWS_KINESISANALYTICS_API DestinationSchema& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_KINESISANALYTICS_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 KinesisAnalytics } // namespace Aws