AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCsv(const Csv& value) { m_csvHasBeenSet = true; m_csv = value; }
48 inline void SetCsv(Csv&& value) { m_csvHasBeenSet = true; m_csv = std::move(value); }
49 inline FileFormat& WithCsv(const Csv& value) { SetCsv(value); return *this;}
50 inline FileFormat& WithCsv(Csv&& value) { SetCsv(std::move(value)); return *this;}
52
54
57 inline const Parquet& GetParquet() const{ return m_parquet; }
58 inline bool ParquetHasBeenSet() const { return m_parquetHasBeenSet; }
59 inline void SetParquet(const Parquet& value) { m_parquetHasBeenSet = true; m_parquet = value; }
60 inline void SetParquet(Parquet&& value) { m_parquetHasBeenSet = true; m_parquet = std::move(value); }
61 inline FileFormat& WithParquet(const Parquet& value) { SetParquet(value); return *this;}
62 inline FileFormat& WithParquet(Parquet&& value) { SetParquet(std::move(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_IOTSITEWISE_API FileFormat(Aws::Utils::Json::JsonView jsonValue)
void SetCsv(const Csv &value)
Definition FileFormat.h:47
FileFormat & WithCsv(Csv &&value)
Definition FileFormat.h:50
FileFormat & WithParquet(Parquet &&value)
Definition FileFormat.h:62
const Parquet & GetParquet() const
Definition FileFormat.h:57
AWS_IOTSITEWISE_API FileFormat & operator=(Aws::Utils::Json::JsonView jsonValue)
FileFormat & WithCsv(const Csv &value)
Definition FileFormat.h:49
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
FileFormat & WithParquet(const Parquet &value)
Definition FileFormat.h:61
void SetParquet(Parquet &&value)
Definition FileFormat.h:60
void SetParquet(const Parquet &value)
Definition FileFormat.h:59
Aws::Utils::Json::JsonValue JsonValue