AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ColumnDefinition.h
1
6#pragma once
7#include <aws/finspace-data/FinSpaceData_EXPORTS.h>
8#include <aws/finspace-data/model/ColumnDataType.h>
9#include <aws/core/utils/memory/stl/AWSString.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 FinSpaceData
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_FINSPACEDATA_API ColumnDefinition();
37 AWS_FINSPACEDATA_API ColumnDefinition(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FINSPACEDATA_API ColumnDefinition& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_FINSPACEDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
54 inline const ColumnDataType& GetDataType() const{ return m_dataType; }
55 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
56 inline void SetDataType(const ColumnDataType& value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
57 inline void SetDataType(ColumnDataType&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); }
58 inline ColumnDefinition& WithDataType(const ColumnDataType& value) { SetDataType(value); return *this;}
59 inline ColumnDefinition& WithDataType(ColumnDataType&& value) { SetDataType(std::move(value)); return *this;}
61
63
66 inline const Aws::String& GetColumnName() const{ return m_columnName; }
67 inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; }
68 inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; }
69 inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); }
70 inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); }
71 inline ColumnDefinition& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;}
72 inline ColumnDefinition& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;}
73 inline ColumnDefinition& WithColumnName(const char* value) { SetColumnName(value); return *this;}
75
77
80 inline const Aws::String& GetColumnDescription() const{ return m_columnDescription; }
81 inline bool ColumnDescriptionHasBeenSet() const { return m_columnDescriptionHasBeenSet; }
82 inline void SetColumnDescription(const Aws::String& value) { m_columnDescriptionHasBeenSet = true; m_columnDescription = value; }
83 inline void SetColumnDescription(Aws::String&& value) { m_columnDescriptionHasBeenSet = true; m_columnDescription = std::move(value); }
84 inline void SetColumnDescription(const char* value) { m_columnDescriptionHasBeenSet = true; m_columnDescription.assign(value); }
85 inline ColumnDefinition& WithColumnDescription(const Aws::String& value) { SetColumnDescription(value); return *this;}
86 inline ColumnDefinition& WithColumnDescription(Aws::String&& value) { SetColumnDescription(std::move(value)); return *this;}
87 inline ColumnDefinition& WithColumnDescription(const char* value) { SetColumnDescription(value); return *this;}
89 private:
90
91 ColumnDataType m_dataType;
92 bool m_dataTypeHasBeenSet = false;
93
94 Aws::String m_columnName;
95 bool m_columnNameHasBeenSet = false;
96
97 Aws::String m_columnDescription;
98 bool m_columnDescriptionHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace FinSpaceData
103} // namespace Aws
ColumnDefinition & WithColumnName(Aws::String &&value)
void SetDataType(ColumnDataType &&value)
ColumnDefinition & WithColumnDescription(const char *value)
ColumnDefinition & WithColumnDescription(const Aws::String &value)
AWS_FINSPACEDATA_API ColumnDefinition(Aws::Utils::Json::JsonView jsonValue)
AWS_FINSPACEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FINSPACEDATA_API ColumnDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
ColumnDefinition & WithColumnDescription(Aws::String &&value)
ColumnDefinition & WithColumnName(const Aws::String &value)
const ColumnDataType & GetDataType() const
const Aws::String & GetColumnDescription() const
void SetColumnName(const Aws::String &value)
ColumnDefinition & WithDataType(const ColumnDataType &value)
ColumnDefinition & WithDataType(ColumnDataType &&value)
void SetDataType(const ColumnDataType &value)
const Aws::String & GetColumnName() const
void SetColumnDescription(const Aws::String &value)
void SetColumnDescription(Aws::String &&value)
ColumnDefinition & WithColumnName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue