AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
MultiMeasureAttributeMapping.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pipes/Pipes_EXPORTS.h>
9#include <aws/pipes/model/MeasureValueType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Pipes {
21namespace Model {
22
30 public:
31 AWS_PIPES_API MultiMeasureAttributeMapping() = default;
34 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetMeasureValue() const { return m_measureValue; }
41 inline bool MeasureValueHasBeenSet() const { return m_measureValueHasBeenSet; }
42 template <typename MeasureValueT = Aws::String>
43 void SetMeasureValue(MeasureValueT&& value) {
44 m_measureValueHasBeenSet = true;
45 m_measureValue = std::forward<MeasureValueT>(value);
46 }
47 template <typename MeasureValueT = Aws::String>
49 SetMeasureValue(std::forward<MeasureValueT>(value));
50 return *this;
51 }
53
55
58 inline MeasureValueType GetMeasureValueType() const { return m_measureValueType; }
59 inline bool MeasureValueTypeHasBeenSet() const { return m_measureValueTypeHasBeenSet; }
61 m_measureValueTypeHasBeenSet = true;
62 m_measureValueType = value;
63 }
66 return *this;
67 }
69
71
74 inline const Aws::String& GetMultiMeasureAttributeName() const { return m_multiMeasureAttributeName; }
75 inline bool MultiMeasureAttributeNameHasBeenSet() const { return m_multiMeasureAttributeNameHasBeenSet; }
76 template <typename MultiMeasureAttributeNameT = Aws::String>
77 void SetMultiMeasureAttributeName(MultiMeasureAttributeNameT&& value) {
78 m_multiMeasureAttributeNameHasBeenSet = true;
79 m_multiMeasureAttributeName = std::forward<MultiMeasureAttributeNameT>(value);
80 }
81 template <typename MultiMeasureAttributeNameT = Aws::String>
82 MultiMeasureAttributeMapping& WithMultiMeasureAttributeName(MultiMeasureAttributeNameT&& value) {
83 SetMultiMeasureAttributeName(std::forward<MultiMeasureAttributeNameT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_measureValue;
89
91
92 Aws::String m_multiMeasureAttributeName;
93 bool m_measureValueHasBeenSet = false;
94 bool m_measureValueTypeHasBeenSet = false;
95 bool m_multiMeasureAttributeNameHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace Pipes
100} // namespace Aws
MultiMeasureAttributeMapping & WithMeasureValueType(MeasureValueType value)
MultiMeasureAttributeMapping & WithMeasureValue(MeasureValueT &&value)
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PIPES_API MultiMeasureAttributeMapping(Aws::Utils::Json::JsonView jsonValue)
void SetMultiMeasureAttributeName(MultiMeasureAttributeNameT &&value)
MultiMeasureAttributeMapping & WithMultiMeasureAttributeName(MultiMeasureAttributeNameT &&value)
AWS_PIPES_API MultiMeasureAttributeMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PIPES_API MultiMeasureAttributeMapping()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue