AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DimensionMapping.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
9#include <aws/timestream-query/model/DimensionValueType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace TimestreamQuery {
21namespace Model {
22
30 public:
31 AWS_TIMESTREAMQUERY_API DimensionMapping() = default;
34 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
58 inline DimensionValueType GetDimensionValueType() const { return m_dimensionValueType; }
59 inline bool DimensionValueTypeHasBeenSet() const { return m_dimensionValueTypeHasBeenSet; }
61 m_dimensionValueTypeHasBeenSet = true;
62 m_dimensionValueType = value;
63 }
66 return *this;
67 }
69 private:
70 Aws::String m_name;
71
73 bool m_nameHasBeenSet = false;
74 bool m_dimensionValueTypeHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace TimestreamQuery
79} // 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