AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DimensionMapping.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/DimensionValueType.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
34 {
35 public:
36 AWS_TIMESTREAMQUERY_API DimensionMapping() = default;
39 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 DimensionMapping& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline DimensionValueType GetDimensionValueType() const { return m_dimensionValueType; }
59 inline bool DimensionValueTypeHasBeenSet() const { return m_dimensionValueTypeHasBeenSet; }
60 inline void SetDimensionValueType(DimensionValueType value) { m_dimensionValueTypeHasBeenSet = true; m_dimensionValueType = value; }
63 private:
64
65 Aws::String m_name;
66 bool m_nameHasBeenSet = false;
67
69 bool m_dimensionValueTypeHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace TimestreamQuery
74} // namespace Aws
void SetDimensionValueType(DimensionValueType value)
AWS_TIMESTREAMQUERY_API DimensionMapping(Aws::Utils::Json::JsonView jsonValue)
DimensionMapping & WithName(NameT &&value)
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
DimensionMapping & WithDimensionValueType(DimensionValueType value)
AWS_TIMESTREAMQUERY_API DimensionMapping()=default
AWS_TIMESTREAMQUERY_API DimensionMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue