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-write/TimestreamWrite_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/timestream-write/model/MeasureValueType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/timestream-write/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 TimestreamWrite
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_TIMESTREAMWRITE_API MixedMeasureMapping();
38 AWS_TIMESTREAMWRITE_API MixedMeasureMapping(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TIMESTREAMWRITE_API MixedMeasureMapping& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetMeasureName() const{ return m_measureName; }
48 inline bool MeasureNameHasBeenSet() const { return m_measureNameHasBeenSet; }
49 inline void SetMeasureName(const Aws::String& value) { m_measureNameHasBeenSet = true; m_measureName = value; }
50 inline void SetMeasureName(Aws::String&& value) { m_measureNameHasBeenSet = true; m_measureName = std::move(value); }
51 inline void SetMeasureName(const char* value) { m_measureNameHasBeenSet = true; m_measureName.assign(value); }
52 inline MixedMeasureMapping& WithMeasureName(const Aws::String& value) { SetMeasureName(value); return *this;}
53 inline MixedMeasureMapping& WithMeasureName(Aws::String&& value) { SetMeasureName(std::move(value)); return *this;}
54 inline MixedMeasureMapping& WithMeasureName(const char* value) { SetMeasureName(value); return *this;}
56
58
61 inline const Aws::String& GetSourceColumn() const{ return m_sourceColumn; }
62 inline bool SourceColumnHasBeenSet() const { return m_sourceColumnHasBeenSet; }
63 inline void SetSourceColumn(const Aws::String& value) { m_sourceColumnHasBeenSet = true; m_sourceColumn = value; }
64 inline void SetSourceColumn(Aws::String&& value) { m_sourceColumnHasBeenSet = true; m_sourceColumn = std::move(value); }
65 inline void SetSourceColumn(const char* value) { m_sourceColumnHasBeenSet = true; m_sourceColumn.assign(value); }
66 inline MixedMeasureMapping& WithSourceColumn(const Aws::String& value) { SetSourceColumn(value); return *this;}
67 inline MixedMeasureMapping& WithSourceColumn(Aws::String&& value) { SetSourceColumn(std::move(value)); return *this;}
68 inline MixedMeasureMapping& WithSourceColumn(const char* value) { SetSourceColumn(value); return *this;}
70
72
75 inline const Aws::String& GetTargetMeasureName() const{ return m_targetMeasureName; }
76 inline bool TargetMeasureNameHasBeenSet() const { return m_targetMeasureNameHasBeenSet; }
77 inline void SetTargetMeasureName(const Aws::String& value) { m_targetMeasureNameHasBeenSet = true; m_targetMeasureName = value; }
78 inline void SetTargetMeasureName(Aws::String&& value) { m_targetMeasureNameHasBeenSet = true; m_targetMeasureName = std::move(value); }
79 inline void SetTargetMeasureName(const char* value) { m_targetMeasureNameHasBeenSet = true; m_targetMeasureName.assign(value); }
80 inline MixedMeasureMapping& WithTargetMeasureName(const Aws::String& value) { SetTargetMeasureName(value); return *this;}
81 inline MixedMeasureMapping& WithTargetMeasureName(Aws::String&& value) { SetTargetMeasureName(std::move(value)); return *this;}
82 inline MixedMeasureMapping& WithTargetMeasureName(const char* value) { SetTargetMeasureName(value); return *this;}
84
86
89 inline const MeasureValueType& GetMeasureValueType() const{ return m_measureValueType; }
90 inline bool MeasureValueTypeHasBeenSet() const { return m_measureValueTypeHasBeenSet; }
91 inline void SetMeasureValueType(const MeasureValueType& value) { m_measureValueTypeHasBeenSet = true; m_measureValueType = value; }
92 inline void SetMeasureValueType(MeasureValueType&& value) { m_measureValueTypeHasBeenSet = true; m_measureValueType = std::move(value); }
94 inline MixedMeasureMapping& WithMeasureValueType(MeasureValueType&& value) { SetMeasureValueType(std::move(value)); return *this;}
96
98
101 inline const Aws::Vector<MultiMeasureAttributeMapping>& GetMultiMeasureAttributeMappings() const{ return m_multiMeasureAttributeMappings; }
102 inline bool MultiMeasureAttributeMappingsHasBeenSet() const { return m_multiMeasureAttributeMappingsHasBeenSet; }
103 inline void SetMultiMeasureAttributeMappings(const Aws::Vector<MultiMeasureAttributeMapping>& value) { m_multiMeasureAttributeMappingsHasBeenSet = true; m_multiMeasureAttributeMappings = value; }
104 inline void SetMultiMeasureAttributeMappings(Aws::Vector<MultiMeasureAttributeMapping>&& value) { m_multiMeasureAttributeMappingsHasBeenSet = true; m_multiMeasureAttributeMappings = std::move(value); }
107 inline MixedMeasureMapping& AddMultiMeasureAttributeMappings(const MultiMeasureAttributeMapping& value) { m_multiMeasureAttributeMappingsHasBeenSet = true; m_multiMeasureAttributeMappings.push_back(value); return *this; }
108 inline MixedMeasureMapping& AddMultiMeasureAttributeMappings(MultiMeasureAttributeMapping&& value) { m_multiMeasureAttributeMappingsHasBeenSet = true; m_multiMeasureAttributeMappings.push_back(std::move(value)); return *this; }
110 private:
111
112 Aws::String m_measureName;
113 bool m_measureNameHasBeenSet = false;
114
115 Aws::String m_sourceColumn;
116 bool m_sourceColumnHasBeenSet = false;
117
118 Aws::String m_targetMeasureName;
119 bool m_targetMeasureNameHasBeenSet = false;
120
121 MeasureValueType m_measureValueType;
122 bool m_measureValueTypeHasBeenSet = false;
123
124 Aws::Vector<MultiMeasureAttributeMapping> m_multiMeasureAttributeMappings;
125 bool m_multiMeasureAttributeMappingsHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace TimestreamWrite
130} // namespace Aws
void SetMultiMeasureAttributeMappings(Aws::Vector< MultiMeasureAttributeMapping > &&value)
const Aws::Vector< MultiMeasureAttributeMapping > & GetMultiMeasureAttributeMappings() const
AWS_TIMESTREAMWRITE_API MixedMeasureMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
MixedMeasureMapping & WithMeasureName(Aws::String &&value)
MixedMeasureMapping & WithTargetMeasureName(const Aws::String &value)
MixedMeasureMapping & WithMultiMeasureAttributeMappings(const Aws::Vector< MultiMeasureAttributeMapping > &value)
void SetMeasureValueType(const MeasureValueType &value)
MixedMeasureMapping & AddMultiMeasureAttributeMappings(const MultiMeasureAttributeMapping &value)
MixedMeasureMapping & WithMultiMeasureAttributeMappings(Aws::Vector< MultiMeasureAttributeMapping > &&value)
AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const
MixedMeasureMapping & WithMeasureName(const Aws::String &value)
MixedMeasureMapping & WithMeasureValueType(MeasureValueType &&value)
MixedMeasureMapping & WithMeasureName(const char *value)
MixedMeasureMapping & AddMultiMeasureAttributeMappings(MultiMeasureAttributeMapping &&value)
MixedMeasureMapping & WithSourceColumn(const char *value)
MixedMeasureMapping & WithMeasureValueType(const MeasureValueType &value)
const MeasureValueType & GetMeasureValueType() const
MixedMeasureMapping & WithTargetMeasureName(Aws::String &&value)
MixedMeasureMapping & WithSourceColumn(Aws::String &&value)
AWS_TIMESTREAMWRITE_API MixedMeasureMapping(Aws::Utils::Json::JsonView jsonValue)
void SetMultiMeasureAttributeMappings(const Aws::Vector< MultiMeasureAttributeMapping > &value)
MixedMeasureMapping & WithTargetMeasureName(const char *value)
MixedMeasureMapping & WithSourceColumn(const Aws::String &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