AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SchemaDefinition.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iotanalytics/model/Column.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
33 {
34 public:
35 AWS_IOTANALYTICS_API SchemaDefinition();
36 AWS_IOTANALYTICS_API SchemaDefinition(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTANALYTICS_API SchemaDefinition& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::Vector<Column>& GetColumns() const{ return m_columns; }
47 inline bool ColumnsHasBeenSet() const { return m_columnsHasBeenSet; }
48 inline void SetColumns(const Aws::Vector<Column>& value) { m_columnsHasBeenSet = true; m_columns = value; }
49 inline void SetColumns(Aws::Vector<Column>&& value) { m_columnsHasBeenSet = true; m_columns = std::move(value); }
50 inline SchemaDefinition& WithColumns(const Aws::Vector<Column>& value) { SetColumns(value); return *this;}
51 inline SchemaDefinition& WithColumns(Aws::Vector<Column>&& value) { SetColumns(std::move(value)); return *this;}
52 inline SchemaDefinition& AddColumns(const Column& value) { m_columnsHasBeenSet = true; m_columns.push_back(value); return *this; }
53 inline SchemaDefinition& AddColumns(Column&& value) { m_columnsHasBeenSet = true; m_columns.push_back(std::move(value)); return *this; }
55 private:
56
57 Aws::Vector<Column> m_columns;
58 bool m_columnsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace IoTAnalytics
63} // namespace Aws
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Column > & GetColumns() const
AWS_IOTANALYTICS_API SchemaDefinition(Aws::Utils::Json::JsonView jsonValue)
SchemaDefinition & AddColumns(Column &&value)
SchemaDefinition & WithColumns(const Aws::Vector< Column > &value)
SchemaDefinition & WithColumns(Aws::Vector< Column > &&value)
SchemaDefinition & AddColumns(const Column &value)
void SetColumns(const Aws::Vector< Column > &value)
AWS_IOTANALYTICS_API SchemaDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetColumns(Aws::Vector< Column > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue