AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
SelectColumn.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
9#include <aws/timestream-query/model/Type.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace TimestreamQuery {
21namespace Model {
22
30 public:
31 AWS_TIMESTREAMQUERY_API SelectColumn() = default;
34 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
56 inline const Type& GetType() const { return m_type; }
57 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
58 template <typename TypeT = Type>
59 void SetType(TypeT&& value) {
60 m_typeHasBeenSet = true;
61 m_type = std::forward<TypeT>(value);
62 }
63 template <typename TypeT = Type>
65 SetType(std::forward<TypeT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
75 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
76 template <typename DatabaseNameT = Aws::String>
78 m_databaseNameHasBeenSet = true;
79 m_databaseName = std::forward<DatabaseNameT>(value);
80 }
81 template <typename DatabaseNameT = Aws::String>
83 SetDatabaseName(std::forward<DatabaseNameT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetTableName() const { return m_tableName; }
93 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
94 template <typename TableNameT = Aws::String>
95 void SetTableName(TableNameT&& value) {
96 m_tableNameHasBeenSet = true;
97 m_tableName = std::forward<TableNameT>(value);
98 }
99 template <typename TableNameT = Aws::String>
101 SetTableName(std::forward<TableNameT>(value));
102 return *this;
103 }
105
107
110 inline bool GetAliased() const { return m_aliased; }
111 inline bool AliasedHasBeenSet() const { return m_aliasedHasBeenSet; }
112 inline void SetAliased(bool value) {
113 m_aliasedHasBeenSet = true;
114 m_aliased = value;
115 }
116 inline SelectColumn& WithAliased(bool value) {
117 SetAliased(value);
118 return *this;
119 }
121 private:
122 Aws::String m_name;
123
124 Type m_type;
125
126 Aws::String m_databaseName;
127
128 Aws::String m_tableName;
129
130 bool m_aliased{false};
131 bool m_nameHasBeenSet = false;
132 bool m_typeHasBeenSet = false;
133 bool m_databaseNameHasBeenSet = false;
134 bool m_tableNameHasBeenSet = false;
135 bool m_aliasedHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace TimestreamQuery
140} // namespace Aws
AWS_TIMESTREAMQUERY_API SelectColumn & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTableName() const
SelectColumn & WithDatabaseName(DatabaseNameT &&value)
SelectColumn & WithAliased(bool value)
AWS_TIMESTREAMQUERY_API SelectColumn()=default
void SetTableName(TableNameT &&value)
const Aws::String & GetDatabaseName() const
SelectColumn & WithType(TypeT &&value)
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TIMESTREAMQUERY_API SelectColumn(Aws::Utils::Json::JsonView jsonValue)
SelectColumn & WithTableName(TableNameT &&value)
void SetDatabaseName(DatabaseNameT &&value)
SelectColumn & WithName(NameT &&value)
const Aws::String & GetName() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue