AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SingleMeasureMapping.h
1
6#pragma once
7#include <aws/pipes/Pipes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pipes/model/MeasureValueType.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 Pipes
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_PIPES_API SingleMeasureMapping();
41 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetMeasureValue() const{ return m_measureValue; }
49 inline bool MeasureValueHasBeenSet() const { return m_measureValueHasBeenSet; }
50 inline void SetMeasureValue(const Aws::String& value) { m_measureValueHasBeenSet = true; m_measureValue = value; }
51 inline void SetMeasureValue(Aws::String&& value) { m_measureValueHasBeenSet = true; m_measureValue = std::move(value); }
52 inline void SetMeasureValue(const char* value) { m_measureValueHasBeenSet = true; m_measureValue.assign(value); }
53 inline SingleMeasureMapping& WithMeasureValue(const Aws::String& value) { SetMeasureValue(value); return *this;}
54 inline SingleMeasureMapping& WithMeasureValue(Aws::String&& value) { SetMeasureValue(std::move(value)); return *this;}
55 inline SingleMeasureMapping& WithMeasureValue(const char* value) { SetMeasureValue(value); return *this;}
57
59
62 inline const MeasureValueType& GetMeasureValueType() const{ return m_measureValueType; }
63 inline bool MeasureValueTypeHasBeenSet() const { return m_measureValueTypeHasBeenSet; }
64 inline void SetMeasureValueType(const MeasureValueType& value) { m_measureValueTypeHasBeenSet = true; m_measureValueType = value; }
65 inline void SetMeasureValueType(MeasureValueType&& value) { m_measureValueTypeHasBeenSet = true; m_measureValueType = std::move(value); }
67 inline SingleMeasureMapping& WithMeasureValueType(MeasureValueType&& value) { SetMeasureValueType(std::move(value)); return *this;}
69
71
75 inline const Aws::String& GetMeasureName() const{ return m_measureName; }
76 inline bool MeasureNameHasBeenSet() const { return m_measureNameHasBeenSet; }
77 inline void SetMeasureName(const Aws::String& value) { m_measureNameHasBeenSet = true; m_measureName = value; }
78 inline void SetMeasureName(Aws::String&& value) { m_measureNameHasBeenSet = true; m_measureName = std::move(value); }
79 inline void SetMeasureName(const char* value) { m_measureNameHasBeenSet = true; m_measureName.assign(value); }
80 inline SingleMeasureMapping& WithMeasureName(const Aws::String& value) { SetMeasureName(value); return *this;}
81 inline SingleMeasureMapping& WithMeasureName(Aws::String&& value) { SetMeasureName(std::move(value)); return *this;}
82 inline SingleMeasureMapping& WithMeasureName(const char* value) { SetMeasureName(value); return *this;}
84 private:
85
86 Aws::String m_measureValue;
87 bool m_measureValueHasBeenSet = false;
88
89 MeasureValueType m_measureValueType;
90 bool m_measureValueTypeHasBeenSet = false;
91
92 Aws::String m_measureName;
93 bool m_measureNameHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Pipes
98} // namespace Aws
AWS_PIPES_API SingleMeasureMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
SingleMeasureMapping & WithMeasureValue(const char *value)
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
SingleMeasureMapping & WithMeasureName(const char *value)
void SetMeasureValue(const Aws::String &value)
void SetMeasureValueType(const MeasureValueType &value)
AWS_PIPES_API SingleMeasureMapping(Aws::Utils::Json::JsonView jsonValue)
SingleMeasureMapping & WithMeasureValueType(const MeasureValueType &value)
SingleMeasureMapping & WithMeasureValue(Aws::String &&value)
void SetMeasureName(const Aws::String &value)
SingleMeasureMapping & WithMeasureName(Aws::String &&value)
SingleMeasureMapping & WithMeasureValueType(MeasureValueType &&value)
void SetMeasureValueType(MeasureValueType &&value)
const Aws::String & GetMeasureValue() const
SingleMeasureMapping & WithMeasureValue(const Aws::String &value)
SingleMeasureMapping & WithMeasureName(const Aws::String &value)
const MeasureValueType & GetMeasureValueType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue