AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ColumnSchema.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/cleanroomsml/model/ColumnType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace CleanRoomsML
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_CLEANROOMSML_API ColumnSchema();
37 AWS_CLEANROOMSML_API ColumnSchema(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLEANROOMSML_API ColumnSchema& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetColumnName() const{ return m_columnName; }
47 inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; }
48 inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; }
49 inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); }
50 inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); }
51 inline ColumnSchema& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;}
52 inline ColumnSchema& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;}
53 inline ColumnSchema& WithColumnName(const char* value) { SetColumnName(value); return *this;}
55
57
60 inline const Aws::Vector<ColumnType>& GetColumnTypes() const{ return m_columnTypes; }
61 inline bool ColumnTypesHasBeenSet() const { return m_columnTypesHasBeenSet; }
62 inline void SetColumnTypes(const Aws::Vector<ColumnType>& value) { m_columnTypesHasBeenSet = true; m_columnTypes = value; }
63 inline void SetColumnTypes(Aws::Vector<ColumnType>&& value) { m_columnTypesHasBeenSet = true; m_columnTypes = std::move(value); }
64 inline ColumnSchema& WithColumnTypes(const Aws::Vector<ColumnType>& value) { SetColumnTypes(value); return *this;}
65 inline ColumnSchema& WithColumnTypes(Aws::Vector<ColumnType>&& value) { SetColumnTypes(std::move(value)); return *this;}
66 inline ColumnSchema& AddColumnTypes(const ColumnType& value) { m_columnTypesHasBeenSet = true; m_columnTypes.push_back(value); return *this; }
67 inline ColumnSchema& AddColumnTypes(ColumnType&& value) { m_columnTypesHasBeenSet = true; m_columnTypes.push_back(std::move(value)); return *this; }
69 private:
70
71 Aws::String m_columnName;
72 bool m_columnNameHasBeenSet = false;
73
74 Aws::Vector<ColumnType> m_columnTypes;
75 bool m_columnTypesHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace CleanRoomsML
80} // namespace Aws
ColumnSchema & WithColumnName(const Aws::String &value)
ColumnSchema & WithColumnName(const char *value)
AWS_CLEANROOMSML_API ColumnSchema & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetColumnName() const
AWS_CLEANROOMSML_API ColumnSchema(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< ColumnType > & GetColumnTypes() const
void SetColumnName(Aws::String &&value)
ColumnSchema & WithColumnTypes(const Aws::Vector< ColumnType > &value)
AWS_CLEANROOMSML_API ColumnSchema()
ColumnSchema & AddColumnTypes(ColumnType &&value)
void SetColumnTypes(const Aws::Vector< ColumnType > &value)
ColumnSchema & WithColumnTypes(Aws::Vector< ColumnType > &&value)
ColumnSchema & WithColumnName(Aws::String &&value)
void SetColumnTypes(Aws::Vector< ColumnType > &&value)
void SetColumnName(const char *value)
ColumnSchema & AddColumnTypes(const ColumnType &value)
void SetColumnName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue