AWS SDK for C++  1.9.104
AWS SDK for C++
Column.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Athena
22 {
23 namespace Model
24 {
25 
32  {
33  public:
34  Column();
38 
39 
43  inline const Aws::String& GetName() const{ return m_name; }
44 
48  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 
53  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
54 
58  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
59 
63  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 
68  inline Column& WithName(const Aws::String& value) { SetName(value); return *this;}
69 
73  inline Column& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
74 
78  inline Column& WithName(const char* value) { SetName(value); return *this;}
79 
80 
84  inline const Aws::String& GetType() const{ return m_type; }
85 
89  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
90 
94  inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
95 
99  inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
100 
104  inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
105 
109  inline Column& WithType(const Aws::String& value) { SetType(value); return *this;}
110 
114  inline Column& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
115 
119  inline Column& WithType(const char* value) { SetType(value); return *this;}
120 
121 
125  inline const Aws::String& GetComment() const{ return m_comment; }
126 
130  inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
131 
135  inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
136 
140  inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
141 
145  inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
146 
150  inline Column& WithComment(const Aws::String& value) { SetComment(value); return *this;}
151 
155  inline Column& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
156 
160  inline Column& WithComment(const char* value) { SetComment(value); return *this;}
161 
162  private:
163 
164  Aws::String m_name;
165  bool m_nameHasBeenSet;
166 
167  Aws::String m_type;
168  bool m_typeHasBeenSet;
169 
170  Aws::String m_comment;
171  bool m_commentHasBeenSet;
172  };
173 
174 } // namespace Model
175 } // namespace Athena
176 } // namespace Aws
Aws::Athena::Model::Column::SetType
void SetType(const Aws::String &value)
Definition: Column.h:94
Aws::Athena::Model::Column::WithName
Column & WithName(Aws::String &&value)
Definition: Column.h:73
Aws::Athena::Model::Column::CommentHasBeenSet
bool CommentHasBeenSet() const
Definition: Column.h:130
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::Column::Column
Column(Aws::Utils::Json::JsonView jsonValue)
Aws::Athena::Model::Column::Column
Column()
Aws::Athena::Model::Column::operator=
Column & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Athena::Model::Column::WithComment
Column & WithComment(const char *value)
Definition: Column.h:160
Aws::Athena::Model::Column::SetType
void SetType(Aws::String &&value)
Definition: Column.h:99
Aws::Athena::Model::Column::SetComment
void SetComment(const Aws::String &value)
Definition: Column.h:135
Aws::Athena::Model::Column::WithComment
Column & WithComment(const Aws::String &value)
Definition: Column.h:150
Aws::Athena::Model::Column::SetComment
void SetComment(Aws::String &&value)
Definition: Column.h:140
Aws::Athena::Model::Column::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: Column.h:89
Aws::Athena::Model::Column::WithType
Column & WithType(const char *value)
Definition: Column.h:119
Aws::Athena::Model::Column::WithComment
Column & WithComment(Aws::String &&value)
Definition: Column.h:155
Aws::Athena::Model::Column::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Athena::Model::Column
Definition: Column.h:32
Aws::Athena::Model::Column::WithName
Column & WithName(const char *value)
Definition: Column.h:78
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Athena_EXPORTS.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Athena::Model::Column::WithName
Column & WithName(const Aws::String &value)
Definition: Column.h:68
Aws::Athena::Model::Column::GetType
const Aws::String & GetType() const
Definition: Column.h:84
Aws::Athena::Model::Column::SetType
void SetType(const char *value)
Definition: Column.h:104
Aws::Athena::Model::Column::SetName
void SetName(const char *value)
Definition: Column.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::Athena::Model::Column::SetComment
void SetComment(const char *value)
Definition: Column.h:145
Aws::Athena::Model::Column::SetName
void SetName(const Aws::String &value)
Definition: Column.h:53
Aws::Athena::Model::Column::WithType
Column & WithType(const Aws::String &value)
Definition: Column.h:109
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Athena::Model::Column::GetComment
const Aws::String & GetComment() const
Definition: Column.h:125
Aws::Athena::Model::Column::GetName
const Aws::String & GetName() const
Definition: Column.h:43
Aws::Athena::Model::Column::NameHasBeenSet
bool NameHasBeenSet() const
Definition: Column.h:48
Aws::Athena::Model::Column::WithType
Column & WithType(Aws::String &&value)
Definition: Column.h:114
Aws::Athena::Model::Column::SetName
void SetName(Aws::String &&value)
Definition: Column.h:58