AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Csv.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iotsitewise/model/ColumnName.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
32 class Csv
33 {
34 public:
35 AWS_IOTSITEWISE_API Csv();
36 AWS_IOTSITEWISE_API Csv(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTSITEWISE_API Csv& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<ColumnName>& GetColumnNames() const{ return m_columnNames; }
46 inline bool ColumnNamesHasBeenSet() const { return m_columnNamesHasBeenSet; }
47 inline void SetColumnNames(const Aws::Vector<ColumnName>& value) { m_columnNamesHasBeenSet = true; m_columnNames = value; }
48 inline void SetColumnNames(Aws::Vector<ColumnName>&& value) { m_columnNamesHasBeenSet = true; m_columnNames = std::move(value); }
49 inline Csv& WithColumnNames(const Aws::Vector<ColumnName>& value) { SetColumnNames(value); return *this;}
50 inline Csv& WithColumnNames(Aws::Vector<ColumnName>&& value) { SetColumnNames(std::move(value)); return *this;}
51 inline Csv& AddColumnNames(const ColumnName& value) { m_columnNamesHasBeenSet = true; m_columnNames.push_back(value); return *this; }
52 inline Csv& AddColumnNames(ColumnName&& value) { m_columnNamesHasBeenSet = true; m_columnNames.push_back(std::move(value)); return *this; }
54 private:
55
56 Aws::Vector<ColumnName> m_columnNames;
57 bool m_columnNamesHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace IoTSiteWise
62} // namespace Aws
Csv & WithColumnNames(Aws::Vector< ColumnName > &&value)
Definition Csv.h:50
AWS_IOTSITEWISE_API Csv & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ColumnName > & GetColumnNames() const
Definition Csv.h:45
void SetColumnNames(Aws::Vector< ColumnName > &&value)
Definition Csv.h:48
Csv & AddColumnNames(const ColumnName &value)
Definition Csv.h:51
bool ColumnNamesHasBeenSet() const
Definition Csv.h:46
void SetColumnNames(const Aws::Vector< ColumnName > &value)
Definition Csv.h:47
Csv & WithColumnNames(const Aws::Vector< ColumnName > &value)
Definition Csv.h:49
Csv & AddColumnNames(ColumnName &&value)
Definition Csv.h:52
AWS_IOTSITEWISE_API Csv()
AWS_IOTSITEWISE_API Csv(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue