AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SelectColumn.h
1
6#pragma once
7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/timestream-query/model/Type.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 TimestreamQuery
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_TIMESTREAMQUERY_API SelectColumn();
37 AWS_TIMESTREAMQUERY_API SelectColumn(Aws::Utils::Json::JsonView jsonValue);
38 AWS_TIMESTREAMQUERY_API SelectColumn& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
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 SelectColumn& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline SelectColumn& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline SelectColumn& WithName(const char* value) { SetName(value); return *this;}
55
57
58 inline const Type& GetType() const{ return m_type; }
59 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
60 inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; }
61 inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
62 inline SelectColumn& WithType(const Type& value) { SetType(value); return *this;}
63 inline SelectColumn& WithType(Type&& value) { SetType(std::move(value)); return *this;}
65
67
70 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
71 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
72 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
73 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
74 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
75 inline SelectColumn& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
76 inline SelectColumn& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
77 inline SelectColumn& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
79
81
84 inline const Aws::String& GetTableName() const{ return m_tableName; }
85 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
86 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
87 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
88 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
89 inline SelectColumn& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
90 inline SelectColumn& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
91 inline SelectColumn& WithTableName(const char* value) { SetTableName(value); return *this;}
93
95
98 inline bool GetAliased() const{ return m_aliased; }
99 inline bool AliasedHasBeenSet() const { return m_aliasedHasBeenSet; }
100 inline void SetAliased(bool value) { m_aliasedHasBeenSet = true; m_aliased = value; }
101 inline SelectColumn& WithAliased(bool value) { SetAliased(value); return *this;}
103 private:
104
105 Aws::String m_name;
106 bool m_nameHasBeenSet = false;
107
108 Type m_type;
109 bool m_typeHasBeenSet = false;
110
111 Aws::String m_databaseName;
112 bool m_databaseNameHasBeenSet = false;
113
114 Aws::String m_tableName;
115 bool m_tableNameHasBeenSet = false;
116
117 bool m_aliased;
118 bool m_aliasedHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace TimestreamQuery
123} // namespace Aws
AWS_TIMESTREAMQUERY_API SelectColumn & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDatabaseName(Aws::String &&value)
SelectColumn & WithName(const char *value)
SelectColumn & WithDatabaseName(Aws::String &&value)
const Aws::String & GetTableName() const
SelectColumn & WithAliased(bool value)
SelectColumn & WithDatabaseName(const char *value)
SelectColumn & WithType(Type &&value)
SelectColumn & WithType(const Type &value)
SelectColumn & WithTableName(const char *value)
void SetName(const Aws::String &value)
SelectColumn & WithDatabaseName(const Aws::String &value)
const Aws::String & GetDatabaseName() const
void SetDatabaseName(const Aws::String &value)
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
SelectColumn & WithTableName(const Aws::String &value)
AWS_TIMESTREAMQUERY_API SelectColumn(Aws::Utils::Json::JsonView jsonValue)
SelectColumn & WithTableName(Aws::String &&value)
SelectColumn & WithName(Aws::String &&value)
const Aws::String & GetName() const
void SetTableName(Aws::String &&value)
SelectColumn & WithName(const Aws::String &value)
void SetDatabaseName(const char *value)
void SetTableName(const Aws::String &value)
AWS_TIMESTREAMQUERY_API SelectColumn()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue