AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MixedMeasureMapping.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/MeasureValueType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/timestream-query/model/MultiMeasureAttributeMapping.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace TimestreamQuery
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_TIMESTREAMQUERY_API MixedMeasureMapping();
40 AWS_TIMESTREAMQUERY_API MixedMeasureMapping(Aws::Utils::Json::JsonView jsonValue);
41 AWS_TIMESTREAMQUERY_API MixedMeasureMapping& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::String& GetMeasureName() const{ return m_measureName; }
51 inline bool MeasureNameHasBeenSet() const { return m_measureNameHasBeenSet; }
52 inline void SetMeasureName(const Aws::String& value) { m_measureNameHasBeenSet = true; m_measureName = value; }
53 inline void SetMeasureName(Aws::String&& value) { m_measureNameHasBeenSet = true; m_measureName = std::move(value); }
54 inline void SetMeasureName(const char* value) { m_measureNameHasBeenSet = true; m_measureName.assign(value); }
55 inline MixedMeasureMapping& WithMeasureName(const Aws::String& value) { SetMeasureName(value); return *this;}
56 inline MixedMeasureMapping& WithMeasureName(Aws::String&& value) { SetMeasureName(std::move(value)); return *this;}
57 inline MixedMeasureMapping& WithMeasureName(const char* value) { SetMeasureName(value); return *this;}
59
61
65 inline const Aws::String& GetSourceColumn() const{ return m_sourceColumn; }
66 inline bool SourceColumnHasBeenSet() const { return m_sourceColumnHasBeenSet; }
67 inline void SetSourceColumn(const Aws::String& value) { m_sourceColumnHasBeenSet = true; m_sourceColumn = value; }
68 inline void SetSourceColumn(Aws::String&& value) { m_sourceColumnHasBeenSet = true; m_sourceColumn = std::move(value); }
69 inline void SetSourceColumn(const char* value) { m_sourceColumnHasBeenSet = true; m_sourceColumn.assign(value); }
70 inline MixedMeasureMapping& WithSourceColumn(const Aws::String& value) { SetSourceColumn(value); return *this;}
71 inline MixedMeasureMapping& WithSourceColumn(Aws::String&& value) { SetSourceColumn(std::move(value)); return *this;}
72 inline MixedMeasureMapping& WithSourceColumn(const char* value) { SetSourceColumn(value); return *this;}
74
76
80 inline const Aws::String& GetTargetMeasureName() const{ return m_targetMeasureName; }
81 inline bool TargetMeasureNameHasBeenSet() const { return m_targetMeasureNameHasBeenSet; }
82 inline void SetTargetMeasureName(const Aws::String& value) { m_targetMeasureNameHasBeenSet = true; m_targetMeasureName = value; }
83 inline void SetTargetMeasureName(Aws::String&& value) { m_targetMeasureNameHasBeenSet = true; m_targetMeasureName = std::move(value); }
84 inline void SetTargetMeasureName(const char* value) { m_targetMeasureNameHasBeenSet = true; m_targetMeasureName.assign(value); }
85 inline MixedMeasureMapping& WithTargetMeasureName(const Aws::String& value) { SetTargetMeasureName(value); return *this;}
86 inline MixedMeasureMapping& WithTargetMeasureName(Aws::String&& value) { SetTargetMeasureName(std::move(value)); return *this;}
87 inline MixedMeasureMapping& WithTargetMeasureName(const char* value) { SetTargetMeasureName(value); return *this;}
89
91
95 inline const MeasureValueType& GetMeasureValueType() const{ return m_measureValueType; }
96 inline bool MeasureValueTypeHasBeenSet() const { return m_measureValueTypeHasBeenSet; }
97 inline void SetMeasureValueType(const MeasureValueType& value) { m_measureValueTypeHasBeenSet = true; m_measureValueType = value; }
98 inline void SetMeasureValueType(MeasureValueType&& value) { m_measureValueTypeHasBeenSet = true; m_measureValueType = std::move(value); }
100 inline MixedMeasureMapping& WithMeasureValueType(MeasureValueType&& value) { SetMeasureValueType(std::move(value)); return *this;}
102
104
108 inline const Aws::Vector<MultiMeasureAttributeMapping>& GetMultiMeasureAttributeMappings() const{ return m_multiMeasureAttributeMappings; }
109 inline bool MultiMeasureAttributeMappingsHasBeenSet() const { return m_multiMeasureAttributeMappingsHasBeenSet; }
110 inline void SetMultiMeasureAttributeMappings(const Aws::Vector<MultiMeasureAttributeMapping>& value) { m_multiMeasureAttributeMappingsHasBeenSet = true; m_multiMeasureAttributeMappings = value; }
111 inline void SetMultiMeasureAttributeMappings(Aws::Vector<MultiMeasureAttributeMapping>&& value) { m_multiMeasureAttributeMappingsHasBeenSet = true; m_multiMeasureAttributeMappings = std::move(value); }
114 inline MixedMeasureMapping& AddMultiMeasureAttributeMappings(const MultiMeasureAttributeMapping& value) { m_multiMeasureAttributeMappingsHasBeenSet = true; m_multiMeasureAttributeMappings.push_back(value); return *this; }
115 inline MixedMeasureMapping& AddMultiMeasureAttributeMappings(MultiMeasureAttributeMapping&& value) { m_multiMeasureAttributeMappingsHasBeenSet = true; m_multiMeasureAttributeMappings.push_back(std::move(value)); return *this; }
117 private:
118
119 Aws::String m_measureName;
120 bool m_measureNameHasBeenSet = false;
121
122 Aws::String m_sourceColumn;
123 bool m_sourceColumnHasBeenSet = false;
124
125 Aws::String m_targetMeasureName;
126 bool m_targetMeasureNameHasBeenSet = false;
127
128 MeasureValueType m_measureValueType;
129 bool m_measureValueTypeHasBeenSet = false;
130
131 Aws::Vector<MultiMeasureAttributeMapping> m_multiMeasureAttributeMappings;
132 bool m_multiMeasureAttributeMappingsHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace TimestreamQuery
137} // namespace Aws
MixedMeasureMapping & WithMultiMeasureAttributeMappings(Aws::Vector< MultiMeasureAttributeMapping > &&value)
MixedMeasureMapping & WithMeasureValueType(const MeasureValueType &value)
MixedMeasureMapping & WithMeasureName(const char *value)
MixedMeasureMapping & WithSourceColumn(const char *value)
MixedMeasureMapping & WithTargetMeasureName(const Aws::String &value)
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMultiMeasureAttributeMappings(const Aws::Vector< MultiMeasureAttributeMapping > &value)
void SetMultiMeasureAttributeMappings(Aws::Vector< MultiMeasureAttributeMapping > &&value)
AWS_TIMESTREAMQUERY_API MixedMeasureMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
MixedMeasureMapping & AddMultiMeasureAttributeMappings(const MultiMeasureAttributeMapping &value)
void SetMeasureValueType(const MeasureValueType &value)
MixedMeasureMapping & WithSourceColumn(const Aws::String &value)
MixedMeasureMapping & WithSourceColumn(Aws::String &&value)
const MeasureValueType & GetMeasureValueType() const
MixedMeasureMapping & WithMeasureName(const Aws::String &value)
AWS_TIMESTREAMQUERY_API MixedMeasureMapping(Aws::Utils::Json::JsonView jsonValue)
MixedMeasureMapping & WithTargetMeasureName(Aws::String &&value)
MixedMeasureMapping & WithMultiMeasureAttributeMappings(const Aws::Vector< MultiMeasureAttributeMapping > &value)
MixedMeasureMapping & WithMeasureName(Aws::String &&value)
MixedMeasureMapping & AddMultiMeasureAttributeMappings(MultiMeasureAttributeMapping &&value)
const Aws::Vector< MultiMeasureAttributeMapping > & GetMultiMeasureAttributeMappings() const
MixedMeasureMapping & WithMeasureValueType(MeasureValueType &&value)
MixedMeasureMapping & WithTargetMeasureName(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