AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FileFormatConfiguration.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/iotanalytics/model/JsonConfiguration.h>
9#include <aws/iotanalytics/model/ParquetConfiguration.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 IoTAnalytics
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_IOTANALYTICS_API FileFormatConfiguration() = default;
40 AWS_IOTANALYTICS_API FileFormatConfiguration(Aws::Utils::Json::JsonView jsonValue);
42 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const JsonConfiguration& GetJsonConfiguration() const { return m_jsonConfiguration; }
50 inline bool JsonConfigurationHasBeenSet() const { return m_jsonConfigurationHasBeenSet; }
51 template<typename JsonConfigurationT = JsonConfiguration>
52 void SetJsonConfiguration(JsonConfigurationT&& value) { m_jsonConfigurationHasBeenSet = true; m_jsonConfiguration = std::forward<JsonConfigurationT>(value); }
53 template<typename JsonConfigurationT = JsonConfiguration>
54 FileFormatConfiguration& WithJsonConfiguration(JsonConfigurationT&& value) { SetJsonConfiguration(std::forward<JsonConfigurationT>(value)); return *this;}
56
58
61 inline const ParquetConfiguration& GetParquetConfiguration() const { return m_parquetConfiguration; }
62 inline bool ParquetConfigurationHasBeenSet() const { return m_parquetConfigurationHasBeenSet; }
63 template<typename ParquetConfigurationT = ParquetConfiguration>
64 void SetParquetConfiguration(ParquetConfigurationT&& value) { m_parquetConfigurationHasBeenSet = true; m_parquetConfiguration = std::forward<ParquetConfigurationT>(value); }
65 template<typename ParquetConfigurationT = ParquetConfiguration>
66 FileFormatConfiguration& WithParquetConfiguration(ParquetConfigurationT&& value) { SetParquetConfiguration(std::forward<ParquetConfigurationT>(value)); return *this;}
68 private:
69
70 JsonConfiguration m_jsonConfiguration;
71 bool m_jsonConfigurationHasBeenSet = false;
72
73 ParquetConfiguration m_parquetConfiguration;
74 bool m_parquetConfigurationHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace IoTAnalytics
79} // namespace Aws
FileFormatConfiguration & WithParquetConfiguration(ParquetConfigurationT &&value)
void SetParquetConfiguration(ParquetConfigurationT &&value)
AWS_IOTANALYTICS_API FileFormatConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTANALYTICS_API FileFormatConfiguration(Aws::Utils::Json::JsonView jsonValue)
FileFormatConfiguration & WithJsonConfiguration(JsonConfigurationT &&value)
AWS_IOTANALYTICS_API FileFormatConfiguration()=default
const ParquetConfiguration & GetParquetConfiguration() const
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue