AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MultiMeasureAttributeMapping.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/ScalarMeasureValueType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace TimestreamWrite
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_TIMESTREAMWRITE_API MultiMeasureAttributeMapping();
36 AWS_TIMESTREAMWRITE_API MultiMeasureAttributeMapping(Aws::Utils::Json::JsonView jsonValue);
38 AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetSourceColumn() const{ return m_sourceColumn; }
46 inline bool SourceColumnHasBeenSet() const { return m_sourceColumnHasBeenSet; }
47 inline void SetSourceColumn(const Aws::String& value) { m_sourceColumnHasBeenSet = true; m_sourceColumn = value; }
48 inline void SetSourceColumn(Aws::String&& value) { m_sourceColumnHasBeenSet = true; m_sourceColumn = std::move(value); }
49 inline void SetSourceColumn(const char* value) { m_sourceColumnHasBeenSet = true; m_sourceColumn.assign(value); }
50 inline MultiMeasureAttributeMapping& WithSourceColumn(const Aws::String& value) { SetSourceColumn(value); return *this;}
51 inline MultiMeasureAttributeMapping& WithSourceColumn(Aws::String&& value) { SetSourceColumn(std::move(value)); return *this;}
52 inline MultiMeasureAttributeMapping& WithSourceColumn(const char* value) { SetSourceColumn(value); return *this;}
54
56
59 inline const Aws::String& GetTargetMultiMeasureAttributeName() const{ return m_targetMultiMeasureAttributeName; }
60 inline bool TargetMultiMeasureAttributeNameHasBeenSet() const { return m_targetMultiMeasureAttributeNameHasBeenSet; }
61 inline void SetTargetMultiMeasureAttributeName(const Aws::String& value) { m_targetMultiMeasureAttributeNameHasBeenSet = true; m_targetMultiMeasureAttributeName = value; }
62 inline void SetTargetMultiMeasureAttributeName(Aws::String&& value) { m_targetMultiMeasureAttributeNameHasBeenSet = true; m_targetMultiMeasureAttributeName = std::move(value); }
63 inline void SetTargetMultiMeasureAttributeName(const char* value) { m_targetMultiMeasureAttributeNameHasBeenSet = true; m_targetMultiMeasureAttributeName.assign(value); }
68
70
73 inline const ScalarMeasureValueType& GetMeasureValueType() const{ return m_measureValueType; }
74 inline bool MeasureValueTypeHasBeenSet() const { return m_measureValueTypeHasBeenSet; }
75 inline void SetMeasureValueType(const ScalarMeasureValueType& value) { m_measureValueTypeHasBeenSet = true; m_measureValueType = value; }
76 inline void SetMeasureValueType(ScalarMeasureValueType&& value) { m_measureValueTypeHasBeenSet = true; m_measureValueType = std::move(value); }
80 private:
81
82 Aws::String m_sourceColumn;
83 bool m_sourceColumnHasBeenSet = false;
84
85 Aws::String m_targetMultiMeasureAttributeName;
86 bool m_targetMultiMeasureAttributeNameHasBeenSet = false;
87
88 ScalarMeasureValueType m_measureValueType;
89 bool m_measureValueTypeHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace TimestreamWrite
94} // namespace Aws
AWS_TIMESTREAMWRITE_API MultiMeasureAttributeMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
MultiMeasureAttributeMapping & WithTargetMultiMeasureAttributeName(const Aws::String &value)
MultiMeasureAttributeMapping & WithMeasureValueType(const ScalarMeasureValueType &value)
MultiMeasureAttributeMapping & WithSourceColumn(const char *value)
AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const
MultiMeasureAttributeMapping & WithTargetMultiMeasureAttributeName(const char *value)
MultiMeasureAttributeMapping & WithTargetMultiMeasureAttributeName(Aws::String &&value)
MultiMeasureAttributeMapping & WithSourceColumn(const Aws::String &value)
MultiMeasureAttributeMapping & WithSourceColumn(Aws::String &&value)
AWS_TIMESTREAMWRITE_API MultiMeasureAttributeMapping(Aws::Utils::Json::JsonView jsonValue)
MultiMeasureAttributeMapping & WithMeasureValueType(ScalarMeasureValueType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue