AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SchemaColumn.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_GLUE_API SchemaColumn();
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline SchemaColumn& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline SchemaColumn& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline SchemaColumn& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::String& GetDataType() const{ return m_dataType; }
61 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
62 inline void SetDataType(const Aws::String& value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
63 inline void SetDataType(Aws::String&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); }
64 inline void SetDataType(const char* value) { m_dataTypeHasBeenSet = true; m_dataType.assign(value); }
65 inline SchemaColumn& WithDataType(const Aws::String& value) { SetDataType(value); return *this;}
66 inline SchemaColumn& WithDataType(Aws::String&& value) { SetDataType(std::move(value)); return *this;}
67 inline SchemaColumn& WithDataType(const char* value) { SetDataType(value); return *this;}
69 private:
70
71 Aws::String m_name;
72 bool m_nameHasBeenSet = false;
73
74 Aws::String m_dataType;
75 bool m_dataTypeHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Glue
80} // namespace Aws
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDataType(const Aws::String &value)
const Aws::String & GetName() const
SchemaColumn & WithDataType(Aws::String &&value)
void SetDataType(const char *value)
void SetName(const char *value)
void SetDataType(Aws::String &&value)
SchemaColumn & WithDataType(const Aws::String &value)
void SetName(Aws::String &&value)
SchemaColumn & WithDataType(const char *value)
AWS_GLUE_API SchemaColumn(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API SchemaColumn & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
SchemaColumn & WithName(const char *value)
const Aws::String & GetDataType() const
SchemaColumn & WithName(Aws::String &&value)
SchemaColumn & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue