82 lines
2.5 KiB
C
82 lines
2.5 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
|
|||
|
|
#include <aws/kinesisanalytics/model/RecordFormatType.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
class JsonView;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace KinesisAnalytics
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes the data format when records are written to the destination. For
|
|||
|
|
* more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html">Configuring
|
|||
|
|
* Application Output</a>. </p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DestinationSchema">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_KINESISANALYTICS_API DestinationSchema
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
DestinationSchema();
|
|||
|
|
DestinationSchema(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
DestinationSchema& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Specifies the format of the records on the output stream.</p>
|
|||
|
|
*/
|
|||
|
|
inline const RecordFormatType& GetRecordFormatType() const{ return m_recordFormatType; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Specifies the format of the records on the output stream.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool RecordFormatTypeHasBeenSet() const { return m_recordFormatTypeHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Specifies the format of the records on the output stream.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetRecordFormatType(const RecordFormatType& value) { m_recordFormatTypeHasBeenSet = true; m_recordFormatType = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Specifies the format of the records on the output stream.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetRecordFormatType(RecordFormatType&& value) { m_recordFormatTypeHasBeenSet = true; m_recordFormatType = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Specifies the format of the records on the output stream.</p>
|
|||
|
|
*/
|
|||
|
|
inline DestinationSchema& WithRecordFormatType(const RecordFormatType& value) { SetRecordFormatType(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Specifies the format of the records on the output stream.</p>
|
|||
|
|
*/
|
|||
|
|
inline DestinationSchema& WithRecordFormatType(RecordFormatType&& value) { SetRecordFormatType(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
RecordFormatType m_recordFormatType;
|
|||
|
|
bool m_recordFormatTypeHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace KinesisAnalytics
|
|||
|
|
} // namespace Aws
|