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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/kinesisanalyticsv2/model/RecordFormatType.h>
9#include <aws/kinesisanalyticsv2/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 KinesisAnalyticsV2
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_KINESISANALYTICSV2_API RecordFormat();
38 AWS_KINESISANALYTICSV2_API RecordFormat(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KINESISANALYTICSV2_API RecordFormat& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const RecordFormatType& GetRecordFormatType() const{ return m_recordFormatType; }
48 inline bool RecordFormatTypeHasBeenSet() const { return m_recordFormatTypeHasBeenSet; }
49 inline void SetRecordFormatType(const RecordFormatType& value) { m_recordFormatTypeHasBeenSet = true; m_recordFormatType = value; }
50 inline void SetRecordFormatType(RecordFormatType&& value) { m_recordFormatTypeHasBeenSet = true; m_recordFormatType = std::move(value); }
51 inline RecordFormat& WithRecordFormatType(const RecordFormatType& value) { SetRecordFormatType(value); return *this;}
52 inline RecordFormat& WithRecordFormatType(RecordFormatType&& value) { SetRecordFormatType(std::move(value)); return *this;}
54
56
62 inline const MappingParameters& GetMappingParameters() const{ return m_mappingParameters; }
63 inline bool MappingParametersHasBeenSet() const { return m_mappingParametersHasBeenSet; }
64 inline void SetMappingParameters(const MappingParameters& value) { m_mappingParametersHasBeenSet = true; m_mappingParameters = value; }
65 inline void SetMappingParameters(MappingParameters&& value) { m_mappingParametersHasBeenSet = true; m_mappingParameters = std::move(value); }
66 inline RecordFormat& WithMappingParameters(const MappingParameters& value) { SetMappingParameters(value); return *this;}
67 inline RecordFormat& WithMappingParameters(MappingParameters&& value) { SetMappingParameters(std::move(value)); return *this;}
69 private:
70
71 RecordFormatType m_recordFormatType;
72 bool m_recordFormatTypeHasBeenSet = false;
73
74 MappingParameters m_mappingParameters;
75 bool m_mappingParametersHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace KinesisAnalyticsV2
80} // namespace Aws
void SetRecordFormatType(RecordFormatType &&value)
RecordFormat & WithMappingParameters(const MappingParameters &value)
RecordFormat & WithMappingParameters(MappingParameters &&value)
void SetRecordFormatType(const RecordFormatType &value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMappingParameters(MappingParameters &&value)
const MappingParameters & GetMappingParameters() const
RecordFormat & WithRecordFormatType(RecordFormatType &&value)
void SetMappingParameters(const MappingParameters &value)
AWS_KINESISANALYTICSV2_API RecordFormat & operator=(Aws::Utils::Json::JsonView jsonValue)
const RecordFormatType & GetRecordFormatType() const
RecordFormat & WithRecordFormatType(const RecordFormatType &value)
AWS_KINESISANALYTICSV2_API RecordFormat(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICSV2_API RecordFormat()
Aws::Utils::Json::JsonValue JsonValue