AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const RecordFormatType& GetRecordFormatType() const{ return m_recordFormatType; }
47 inline bool RecordFormatTypeHasBeenSet() const { return m_recordFormatTypeHasBeenSet; }
48 inline void SetRecordFormatType(const RecordFormatType& value) { m_recordFormatTypeHasBeenSet = true; m_recordFormatType = value; }
49 inline void SetRecordFormatType(RecordFormatType&& value) { m_recordFormatTypeHasBeenSet = true; m_recordFormatType = std::move(value); }
50 inline RecordFormat& WithRecordFormatType(const RecordFormatType& value) { SetRecordFormatType(value); return *this;}
51 inline RecordFormat& WithRecordFormatType(RecordFormatType&& value) { SetRecordFormatType(std::move(value)); return *this;}
53
55
61 inline const MappingParameters& GetMappingParameters() const{ return m_mappingParameters; }
62 inline bool MappingParametersHasBeenSet() const { return m_mappingParametersHasBeenSet; }
63 inline void SetMappingParameters(const MappingParameters& value) { m_mappingParametersHasBeenSet = true; m_mappingParameters = value; }
64 inline void SetMappingParameters(MappingParameters&& value) { m_mappingParametersHasBeenSet = true; m_mappingParameters = std::move(value); }
65 inline RecordFormat& WithMappingParameters(const MappingParameters& value) { SetMappingParameters(value); return *this;}
66 inline RecordFormat& WithMappingParameters(MappingParameters&& value) { SetMappingParameters(std::move(value)); return *this;}
68 private:
69
70 RecordFormatType m_recordFormatType;
71 bool m_recordFormatTypeHasBeenSet = false;
72
73 MappingParameters m_mappingParameters;
74 bool m_mappingParametersHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace KinesisAnalytics
79} // namespace Aws
void SetRecordFormatType(RecordFormatType &&value)
AWS_KINESISANALYTICS_API RecordFormat()
RecordFormat & WithRecordFormatType(const RecordFormatType &value)
void SetMappingParameters(MappingParameters &&value)
RecordFormat & WithRecordFormatType(RecordFormatType &&value)
AWS_KINESISANALYTICS_API RecordFormat & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICS_API RecordFormat(Aws::Utils::Json::JsonView jsonValue)
RecordFormat & WithMappingParameters(const MappingParameters &value)
void SetRecordFormatType(const RecordFormatType &value)
void SetMappingParameters(const MappingParameters &value)
const RecordFormatType & GetRecordFormatType() const
const MappingParameters & GetMappingParameters() const
RecordFormat & WithMappingParameters(MappingParameters &&value)
AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue