AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
FileFormat.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/iotsitewise/model/Csv.h>
9#include <aws/iotsitewise/model/Parquet.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 IoTSiteWise
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_IOTSITEWISE_API FileFormat() = default;
36 AWS_IOTSITEWISE_API FileFormat(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTSITEWISE_API FileFormat& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Csv& GetCsv() const { return m_csv; }
46 inline bool CsvHasBeenSet() const { return m_csvHasBeenSet; }
47 template<typename CsvT = Csv>
48 void SetCsv(CsvT&& value) { m_csvHasBeenSet = true; m_csv = std::forward<CsvT>(value); }
49 template<typename CsvT = Csv>
50 FileFormat& WithCsv(CsvT&& value) { SetCsv(std::forward<CsvT>(value)); return *this;}
52
54
57 inline const Parquet& GetParquet() const { return m_parquet; }
58 inline bool ParquetHasBeenSet() const { return m_parquetHasBeenSet; }
59 template<typename ParquetT = Parquet>
60 void SetParquet(ParquetT&& value) { m_parquetHasBeenSet = true; m_parquet = std::forward<ParquetT>(value); }
61 template<typename ParquetT = Parquet>
62 FileFormat& WithParquet(ParquetT&& value) { SetParquet(std::forward<ParquetT>(value)); return *this;}
64 private:
65
66 Csv m_csv;
67 bool m_csvHasBeenSet = false;
68
69 Parquet m_parquet;
70 bool m_parquetHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace IoTSiteWise
75} // namespace Aws
AWS_IOTSITEWISE_API FileFormat(Aws::Utils::Json::JsonView jsonValue)
void SetParquet(ParquetT &&value)
Definition FileFormat.h:60
FileFormat & WithCsv(CsvT &&value)
Definition FileFormat.h:50
FileFormat & WithParquet(ParquetT &&value)
Definition FileFormat.h:62
AWS_IOTSITEWISE_API FileFormat()=default
const Parquet & GetParquet() const
Definition FileFormat.h:57
AWS_IOTSITEWISE_API FileFormat & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue