AWS SDK for C++  1.9.109
AWS SDK for C++
Type.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 #include <memory>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace TimestreamQuery
24 {
25 namespace Model
26 {
27  class ColumnInfo;
28  class ColumnInfo;
29 
39  {
40  public:
41  Type();
45 
46 
51  inline const ScalarType& GetScalarType() const{ return m_scalarType; }
52 
57  inline bool ScalarTypeHasBeenSet() const { return m_scalarTypeHasBeenSet; }
58 
63  inline void SetScalarType(const ScalarType& value) { m_scalarTypeHasBeenSet = true; m_scalarType = value; }
64 
69  inline void SetScalarType(ScalarType&& value) { m_scalarTypeHasBeenSet = true; m_scalarType = std::move(value); }
70 
75  inline Type& WithScalarType(const ScalarType& value) { SetScalarType(value); return *this;}
76 
81  inline Type& WithScalarType(ScalarType&& value) { SetScalarType(std::move(value)); return *this;}
82 
83 
88 
93 
97  void SetArrayColumnInfo(const ColumnInfo& value);
98 
103 
108 
113 
114 
119 
124 
129 
134 
139 
144 
145 
149  inline const Aws::Vector<ColumnInfo>& GetRowColumnInfo() const{ return m_rowColumnInfo; }
150 
154  inline bool RowColumnInfoHasBeenSet() const { return m_rowColumnInfoHasBeenSet; }
155 
159  inline void SetRowColumnInfo(const Aws::Vector<ColumnInfo>& value) { m_rowColumnInfoHasBeenSet = true; m_rowColumnInfo = value; }
160 
164  inline void SetRowColumnInfo(Aws::Vector<ColumnInfo>&& value) { m_rowColumnInfoHasBeenSet = true; m_rowColumnInfo = std::move(value); }
165 
169  inline Type& WithRowColumnInfo(const Aws::Vector<ColumnInfo>& value) { SetRowColumnInfo(value); return *this;}
170 
174  inline Type& WithRowColumnInfo(Aws::Vector<ColumnInfo>&& value) { SetRowColumnInfo(std::move(value)); return *this;}
175 
179  inline Type& AddRowColumnInfo(const ColumnInfo& value) { m_rowColumnInfoHasBeenSet = true; m_rowColumnInfo.push_back(value); return *this; }
180 
184  inline Type& AddRowColumnInfo(ColumnInfo&& value) { m_rowColumnInfoHasBeenSet = true; m_rowColumnInfo.push_back(std::move(value)); return *this; }
185 
186  private:
187 
188  ScalarType m_scalarType;
189  bool m_scalarTypeHasBeenSet;
190 
191  std::shared_ptr<ColumnInfo> m_arrayColumnInfo;
192  bool m_arrayColumnInfoHasBeenSet;
193 
194  std::shared_ptr<ColumnInfo> m_timeSeriesMeasureValueColumnInfo;
195  bool m_timeSeriesMeasureValueColumnInfoHasBeenSet;
196 
197  Aws::Vector<ColumnInfo> m_rowColumnInfo;
198  bool m_rowColumnInfoHasBeenSet;
199  };
200 
201 } // namespace Model
202 } // namespace TimestreamQuery
203 } // namespace Aws
Aws::TimestreamQuery::Model::Type::ScalarTypeHasBeenSet
bool ScalarTypeHasBeenSet() const
Definition: Type.h:57
Aws::TimestreamQuery::Model::Type::WithArrayColumnInfo
Type & WithArrayColumnInfo(const ColumnInfo &value)
AWS_TIMESTREAMQUERY_API
#define AWS_TIMESTREAMQUERY_API
Definition: TimestreamQuery_EXPORTS.h:28
ScalarType.h
Aws::TimestreamQuery::Model::Type::SetRowColumnInfo
void SetRowColumnInfo(const Aws::Vector< ColumnInfo > &value)
Definition: Type.h:159
Aws::TimestreamQuery::Model::Type::GetRowColumnInfo
const Aws::Vector< ColumnInfo > & GetRowColumnInfo() const
Definition: Type.h:149
Aws::TimestreamQuery::Model::ColumnInfo
Definition: ColumnInfo.h:35
Aws::TimestreamQuery::Model::Type
Definition: Type.h:39
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::TimestreamQuery::Model::Type::Type
Type(Aws::Utils::Json::JsonView jsonValue)
Aws::TimestreamQuery::Model::Type::WithRowColumnInfo
Type & WithRowColumnInfo(const Aws::Vector< ColumnInfo > &value)
Definition: Type.h:169
Aws::TimestreamQuery::Model::Type::ArrayColumnInfoHasBeenSet
bool ArrayColumnInfoHasBeenSet() const
AWSVector.h
Aws::TimestreamQuery::Model::Type::operator=
Type & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::TimestreamQuery::Model::Type::Type
Type()
TimestreamQuery_EXPORTS.h
Aws::TimestreamQuery::Model::Type::TimeSeriesMeasureValueColumnInfoHasBeenSet
bool TimeSeriesMeasureValueColumnInfoHasBeenSet() const
Aws::TimestreamQuery::Model::Type::AddRowColumnInfo
Type & AddRowColumnInfo(const ColumnInfo &value)
Definition: Type.h:179
Aws::TimestreamQuery::Model::Type::GetScalarType
const ScalarType & GetScalarType() const
Definition: Type.h:51
Aws::TimestreamQuery::Model::Type::SetScalarType
void SetScalarType(const ScalarType &value)
Definition: Type.h:63
Aws::TimestreamQuery::Model::Type::SetArrayColumnInfo
void SetArrayColumnInfo(ColumnInfo &&value)
Aws::TimestreamQuery::Model::Type::SetArrayColumnInfo
void SetArrayColumnInfo(const ColumnInfo &value)
Aws::TimestreamQuery::Model::Type::SetTimeSeriesMeasureValueColumnInfo
void SetTimeSeriesMeasureValueColumnInfo(const ColumnInfo &value)
Aws::TimestreamQuery::Model::Type::WithTimeSeriesMeasureValueColumnInfo
Type & WithTimeSeriesMeasureValueColumnInfo(ColumnInfo &&value)
Aws::TimestreamQuery::Model::Type::GetTimeSeriesMeasureValueColumnInfo
const ColumnInfo & GetTimeSeriesMeasureValueColumnInfo() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::TimestreamQuery::Model::Type::SetScalarType
void SetScalarType(ScalarType &&value)
Definition: Type.h:69
Aws::TimestreamQuery::Model::Type::SetTimeSeriesMeasureValueColumnInfo
void SetTimeSeriesMeasureValueColumnInfo(ColumnInfo &&value)
Aws::TimestreamQuery::Model::Type::RowColumnInfoHasBeenSet
bool RowColumnInfoHasBeenSet() const
Definition: Type.h:154
Aws::TimestreamQuery::Model::Type::WithScalarType
Type & WithScalarType(const ScalarType &value)
Definition: Type.h:75
Aws::TimestreamQuery::Model::Type::WithRowColumnInfo
Type & WithRowColumnInfo(Aws::Vector< ColumnInfo > &&value)
Definition: Type.h:174
Aws
Definition: AccessManagementClient.h:15
Aws::TimestreamQuery::Model::Type::WithArrayColumnInfo
Type & WithArrayColumnInfo(ColumnInfo &&value)
Aws::TimestreamQuery::Model::Type::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::TimestreamQuery::Model::Type::SetRowColumnInfo
void SetRowColumnInfo(Aws::Vector< ColumnInfo > &&value)
Definition: Type.h:164
Aws::TimestreamQuery::Model::ScalarType
ScalarType
Definition: ScalarType.h:17
Aws::TimestreamQuery::Model::Type::WithScalarType
Type & WithScalarType(ScalarType &&value)
Definition: Type.h:81
Aws::TimestreamQuery::Model::Type::AddRowColumnInfo
Type & AddRowColumnInfo(ColumnInfo &&value)
Definition: Type.h:184
Aws::TimestreamQuery::Model::Type::WithTimeSeriesMeasureValueColumnInfo
Type & WithTimeSeriesMeasureValueColumnInfo(const ColumnInfo &value)
Aws::TimestreamQuery::Model::Type::GetArrayColumnInfo
const ColumnInfo & GetArrayColumnInfo() const