AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RecordFormat.h
1
6#pragma once
7#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
8#include <aws/kinesisanalytics/model/RecordFormatType.h>
9#include <aws/kinesisanalytics/model/MappingParameters.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace KinesisAnalytics
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_KINESISANALYTICS_API RecordFormat() = default;
37 AWS_KINESISANALYTICS_API RecordFormat(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KINESISANALYTICS_API RecordFormat& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline RecordFormatType GetRecordFormatType() const { return m_recordFormatType; }
47 inline bool RecordFormatTypeHasBeenSet() const { return m_recordFormatTypeHasBeenSet; }
48 inline void SetRecordFormatType(RecordFormatType value) { m_recordFormatTypeHasBeenSet = true; m_recordFormatType = value; }
51
53
59 inline const MappingParameters& GetMappingParameters() const { return m_mappingParameters; }
60 inline bool MappingParametersHasBeenSet() const { return m_mappingParametersHasBeenSet; }
61 template<typename MappingParametersT = MappingParameters>
62 void SetMappingParameters(MappingParametersT&& value) { m_mappingParametersHasBeenSet = true; m_mappingParameters = std::forward<MappingParametersT>(value); }
63 template<typename MappingParametersT = MappingParameters>
64 RecordFormat& WithMappingParameters(MappingParametersT&& value) { SetMappingParameters(std::forward<MappingParametersT>(value)); return *this;}
66 private:
67
69 bool m_recordFormatTypeHasBeenSet = false;
70
71 MappingParameters m_mappingParameters;
72 bool m_mappingParametersHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace KinesisAnalytics
77} // namespace Aws
void SetMappingParameters(MappingParametersT &&value)
void SetRecordFormatType(RecordFormatType value)
AWS_KINESISANALYTICS_API RecordFormat & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICS_API RecordFormat(Aws::Utils::Json::JsonView jsonValue)
RecordFormatType GetRecordFormatType() const
AWS_KINESISANALYTICS_API RecordFormat()=default
RecordFormat & WithRecordFormatType(RecordFormatType value)
const MappingParameters & GetMappingParameters() const
RecordFormat & WithMappingParameters(MappingParametersT &&value)
AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue