AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
ResultRowValue.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint/Pinpoint_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Pinpoint {
20namespace Model {
21
30 public:
31 AWS_PINPOINT_API ResultRowValue() = default;
32 AWS_PINPOINT_API ResultRowValue(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetKey() const { return m_key; }
42 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
43 template <typename KeyT = Aws::String>
44 void SetKey(KeyT&& value) {
45 m_keyHasBeenSet = true;
46 m_key = std::forward<KeyT>(value);
47 }
48 template <typename KeyT = Aws::String>
49 ResultRowValue& WithKey(KeyT&& value) {
50 SetKey(std::forward<KeyT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetType() const { return m_type; }
60 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
61 template <typename TypeT = Aws::String>
62 void SetType(TypeT&& value) {
63 m_typeHasBeenSet = true;
64 m_type = std::forward<TypeT>(value);
65 }
66 template <typename TypeT = Aws::String>
67 ResultRowValue& WithType(TypeT&& value) {
68 SetType(std::forward<TypeT>(value));
69 return *this;
70 }
72
74
79 inline const Aws::String& GetValue() const { return m_value; }
80 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
81 template <typename ValueT = Aws::String>
82 void SetValue(ValueT&& value) {
83 m_valueHasBeenSet = true;
84 m_value = std::forward<ValueT>(value);
85 }
86 template <typename ValueT = Aws::String>
87 ResultRowValue& WithValue(ValueT&& value) {
88 SetValue(std::forward<ValueT>(value));
89 return *this;
90 }
92 private:
93 Aws::String m_key;
94 bool m_keyHasBeenSet = false;
95
96 Aws::String m_type;
97 bool m_typeHasBeenSet = false;
98
99 Aws::String m_value;
100 bool m_valueHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace Pinpoint
105} // namespace Aws
const Aws::String & GetKey() const
ResultRowValue & WithType(TypeT &&value)
ResultRowValue & WithValue(ValueT &&value)
const Aws::String & GetType() const
ResultRowValue & WithKey(KeyT &&value)
AWS_PINPOINT_API ResultRowValue()=default
AWS_PINPOINT_API ResultRowValue & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetValue() const
AWS_PINPOINT_API ResultRowValue(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue