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-query/TimestreamQuery_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/timestream-query/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 TimestreamQuery
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_TIMESTREAMQUERY_API MultiMeasureAttributeMapping();
36 AWS_TIMESTREAMQUERY_API MultiMeasureAttributeMapping(Aws::Utils::Json::JsonView jsonValue);
38 AWS_TIMESTREAMQUERY_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
60 inline const Aws::String& GetTargetMultiMeasureAttributeName() const{ return m_targetMultiMeasureAttributeName; }
61 inline bool TargetMultiMeasureAttributeNameHasBeenSet() const { return m_targetMultiMeasureAttributeNameHasBeenSet; }
62 inline void SetTargetMultiMeasureAttributeName(const Aws::String& value) { m_targetMultiMeasureAttributeNameHasBeenSet = true; m_targetMultiMeasureAttributeName = value; }
63 inline void SetTargetMultiMeasureAttributeName(Aws::String&& value) { m_targetMultiMeasureAttributeNameHasBeenSet = true; m_targetMultiMeasureAttributeName = std::move(value); }
64 inline void SetTargetMultiMeasureAttributeName(const char* value) { m_targetMultiMeasureAttributeNameHasBeenSet = true; m_targetMultiMeasureAttributeName.assign(value); }
69
71
74 inline const ScalarMeasureValueType& GetMeasureValueType() const{ return m_measureValueType; }
75 inline bool MeasureValueTypeHasBeenSet() const { return m_measureValueTypeHasBeenSet; }
76 inline void SetMeasureValueType(const ScalarMeasureValueType& value) { m_measureValueTypeHasBeenSet = true; m_measureValueType = value; }
77 inline void SetMeasureValueType(ScalarMeasureValueType&& value) { m_measureValueTypeHasBeenSet = true; m_measureValueType = std::move(value); }
81 private:
82
83 Aws::String m_sourceColumn;
84 bool m_sourceColumnHasBeenSet = false;
85
86 Aws::String m_targetMultiMeasureAttributeName;
87 bool m_targetMultiMeasureAttributeNameHasBeenSet = false;
88
89 ScalarMeasureValueType m_measureValueType;
90 bool m_measureValueTypeHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace TimestreamQuery
95} // namespace Aws
AWS_TIMESTREAMQUERY_API MultiMeasureAttributeMapping(Aws::Utils::Json::JsonView jsonValue)
MultiMeasureAttributeMapping & WithSourceColumn(const char *value)
MultiMeasureAttributeMapping & WithSourceColumn(const Aws::String &value)
MultiMeasureAttributeMapping & WithMeasureValueType(const ScalarMeasureValueType &value)
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
MultiMeasureAttributeMapping & WithTargetMultiMeasureAttributeName(const char *value)
MultiMeasureAttributeMapping & WithTargetMultiMeasureAttributeName(const Aws::String &value)
MultiMeasureAttributeMapping & WithTargetMultiMeasureAttributeName(Aws::String &&value)
MultiMeasureAttributeMapping & WithMeasureValueType(ScalarMeasureValueType &&value)
MultiMeasureAttributeMapping & WithSourceColumn(Aws::String &&value)
AWS_TIMESTREAMQUERY_API MultiMeasureAttributeMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue