AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TimestreamConfiguration.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/core/utils/memory/stl/AWSVector.h>
10#include <aws/timestream-query/model/MultiMeasureMappings.h>
11#include <aws/timestream-query/model/DimensionMapping.h>
12#include <aws/timestream-query/model/MixedMeasureMapping.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace TimestreamQuery
26{
27namespace Model
28{
29
38 {
39 public:
40 AWS_TIMESTREAMQUERY_API TimestreamConfiguration();
41 AWS_TIMESTREAMQUERY_API TimestreamConfiguration(Aws::Utils::Json::JsonView jsonValue);
43 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
51 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
52 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
53 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
54 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
55 inline TimestreamConfiguration& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
56 inline TimestreamConfiguration& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
57 inline TimestreamConfiguration& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
59
61
66 inline const Aws::String& GetTableName() const{ return m_tableName; }
67 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
68 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
69 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
70 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
71 inline TimestreamConfiguration& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
72 inline TimestreamConfiguration& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
73 inline TimestreamConfiguration& WithTableName(const char* value) { SetTableName(value); return *this;}
75
77
81 inline const Aws::String& GetTimeColumn() const{ return m_timeColumn; }
82 inline bool TimeColumnHasBeenSet() const { return m_timeColumnHasBeenSet; }
83 inline void SetTimeColumn(const Aws::String& value) { m_timeColumnHasBeenSet = true; m_timeColumn = value; }
84 inline void SetTimeColumn(Aws::String&& value) { m_timeColumnHasBeenSet = true; m_timeColumn = std::move(value); }
85 inline void SetTimeColumn(const char* value) { m_timeColumnHasBeenSet = true; m_timeColumn.assign(value); }
86 inline TimestreamConfiguration& WithTimeColumn(const Aws::String& value) { SetTimeColumn(value); return *this;}
87 inline TimestreamConfiguration& WithTimeColumn(Aws::String&& value) { SetTimeColumn(std::move(value)); return *this;}
88 inline TimestreamConfiguration& WithTimeColumn(const char* value) { SetTimeColumn(value); return *this;}
90
92
96 inline const Aws::Vector<DimensionMapping>& GetDimensionMappings() const{ return m_dimensionMappings; }
97 inline bool DimensionMappingsHasBeenSet() const { return m_dimensionMappingsHasBeenSet; }
98 inline void SetDimensionMappings(const Aws::Vector<DimensionMapping>& value) { m_dimensionMappingsHasBeenSet = true; m_dimensionMappings = value; }
99 inline void SetDimensionMappings(Aws::Vector<DimensionMapping>&& value) { m_dimensionMappingsHasBeenSet = true; m_dimensionMappings = std::move(value); }
102 inline TimestreamConfiguration& AddDimensionMappings(const DimensionMapping& value) { m_dimensionMappingsHasBeenSet = true; m_dimensionMappings.push_back(value); return *this; }
103 inline TimestreamConfiguration& AddDimensionMappings(DimensionMapping&& value) { m_dimensionMappingsHasBeenSet = true; m_dimensionMappings.push_back(std::move(value)); return *this; }
105
107
110 inline const MultiMeasureMappings& GetMultiMeasureMappings() const{ return m_multiMeasureMappings; }
111 inline bool MultiMeasureMappingsHasBeenSet() const { return m_multiMeasureMappingsHasBeenSet; }
112 inline void SetMultiMeasureMappings(const MultiMeasureMappings& value) { m_multiMeasureMappingsHasBeenSet = true; m_multiMeasureMappings = value; }
113 inline void SetMultiMeasureMappings(MultiMeasureMappings&& value) { m_multiMeasureMappingsHasBeenSet = true; m_multiMeasureMappings = std::move(value); }
117
119
122 inline const Aws::Vector<MixedMeasureMapping>& GetMixedMeasureMappings() const{ return m_mixedMeasureMappings; }
123 inline bool MixedMeasureMappingsHasBeenSet() const { return m_mixedMeasureMappingsHasBeenSet; }
124 inline void SetMixedMeasureMappings(const Aws::Vector<MixedMeasureMapping>& value) { m_mixedMeasureMappingsHasBeenSet = true; m_mixedMeasureMappings = value; }
125 inline void SetMixedMeasureMappings(Aws::Vector<MixedMeasureMapping>&& value) { m_mixedMeasureMappingsHasBeenSet = true; m_mixedMeasureMappings = std::move(value); }
128 inline TimestreamConfiguration& AddMixedMeasureMappings(const MixedMeasureMapping& value) { m_mixedMeasureMappingsHasBeenSet = true; m_mixedMeasureMappings.push_back(value); return *this; }
129 inline TimestreamConfiguration& AddMixedMeasureMappings(MixedMeasureMapping&& value) { m_mixedMeasureMappingsHasBeenSet = true; m_mixedMeasureMappings.push_back(std::move(value)); return *this; }
131
133
136 inline const Aws::String& GetMeasureNameColumn() const{ return m_measureNameColumn; }
137 inline bool MeasureNameColumnHasBeenSet() const { return m_measureNameColumnHasBeenSet; }
138 inline void SetMeasureNameColumn(const Aws::String& value) { m_measureNameColumnHasBeenSet = true; m_measureNameColumn = value; }
139 inline void SetMeasureNameColumn(Aws::String&& value) { m_measureNameColumnHasBeenSet = true; m_measureNameColumn = std::move(value); }
140 inline void SetMeasureNameColumn(const char* value) { m_measureNameColumnHasBeenSet = true; m_measureNameColumn.assign(value); }
142 inline TimestreamConfiguration& WithMeasureNameColumn(Aws::String&& value) { SetMeasureNameColumn(std::move(value)); return *this;}
143 inline TimestreamConfiguration& WithMeasureNameColumn(const char* value) { SetMeasureNameColumn(value); return *this;}
145 private:
146
147 Aws::String m_databaseName;
148 bool m_databaseNameHasBeenSet = false;
149
150 Aws::String m_tableName;
151 bool m_tableNameHasBeenSet = false;
152
153 Aws::String m_timeColumn;
154 bool m_timeColumnHasBeenSet = false;
155
156 Aws::Vector<DimensionMapping> m_dimensionMappings;
157 bool m_dimensionMappingsHasBeenSet = false;
158
159 MultiMeasureMappings m_multiMeasureMappings;
160 bool m_multiMeasureMappingsHasBeenSet = false;
161
162 Aws::Vector<MixedMeasureMapping> m_mixedMeasureMappings;
163 bool m_mixedMeasureMappingsHasBeenSet = false;
164
165 Aws::String m_measureNameColumn;
166 bool m_measureNameColumnHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace TimestreamQuery
171} // namespace Aws
TimestreamConfiguration & AddMixedMeasureMappings(MixedMeasureMapping &&value)
const Aws::Vector< DimensionMapping > & GetDimensionMappings() const
void SetMixedMeasureMappings(Aws::Vector< MixedMeasureMapping > &&value)
void SetMultiMeasureMappings(const MultiMeasureMappings &value)
const Aws::Vector< MixedMeasureMapping > & GetMixedMeasureMappings() const
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
const MultiMeasureMappings & GetMultiMeasureMappings() const
TimestreamConfiguration & WithMixedMeasureMappings(const Aws::Vector< MixedMeasureMapping > &value)
void SetDimensionMappings(Aws::Vector< DimensionMapping > &&value)
TimestreamConfiguration & WithMultiMeasureMappings(MultiMeasureMappings &&value)
TimestreamConfiguration & WithMeasureNameColumn(const char *value)
TimestreamConfiguration & WithDatabaseName(const char *value)
TimestreamConfiguration & AddDimensionMappings(DimensionMapping &&value)
TimestreamConfiguration & WithDimensionMappings(const Aws::Vector< DimensionMapping > &value)
void SetDimensionMappings(const Aws::Vector< DimensionMapping > &value)
TimestreamConfiguration & WithTimeColumn(Aws::String &&value)
void SetMixedMeasureMappings(const Aws::Vector< MixedMeasureMapping > &value)
TimestreamConfiguration & WithMeasureNameColumn(const Aws::String &value)
TimestreamConfiguration & AddMixedMeasureMappings(const MixedMeasureMapping &value)
TimestreamConfiguration & WithDatabaseName(Aws::String &&value)
TimestreamConfiguration & WithTableName(const Aws::String &value)
TimestreamConfiguration & AddDimensionMappings(const DimensionMapping &value)
AWS_TIMESTREAMQUERY_API TimestreamConfiguration(Aws::Utils::Json::JsonView jsonValue)
TimestreamConfiguration & WithTableName(Aws::String &&value)
TimestreamConfiguration & WithMixedMeasureMappings(Aws::Vector< MixedMeasureMapping > &&value)
TimestreamConfiguration & WithDimensionMappings(Aws::Vector< DimensionMapping > &&value)
TimestreamConfiguration & WithTimeColumn(const char *value)
TimestreamConfiguration & WithMeasureNameColumn(Aws::String &&value)
TimestreamConfiguration & WithMultiMeasureMappings(const MultiMeasureMappings &value)
TimestreamConfiguration & WithTimeColumn(const Aws::String &value)
AWS_TIMESTREAMQUERY_API TimestreamConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
TimestreamConfiguration & WithDatabaseName(const Aws::String &value)
TimestreamConfiguration & WithTableName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue