AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResultRowValue.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Pinpoint
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_PINPOINT_API ResultRowValue();
37 AWS_PINPOINT_API ResultRowValue(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetKey() const{ return m_key; }
48 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
49 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
50 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
51 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
52 inline ResultRowValue& WithKey(const Aws::String& value) { SetKey(value); return *this;}
53 inline ResultRowValue& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
54 inline ResultRowValue& WithKey(const char* value) { SetKey(value); return *this;}
56
58
61 inline const Aws::String& GetType() const{ return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
64 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
65 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
66 inline ResultRowValue& WithType(const Aws::String& value) { SetType(value); return *this;}
67 inline ResultRowValue& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
68 inline ResultRowValue& WithType(const char* value) { SetType(value); return *this;}
70
72
77 inline const Aws::String& GetValue() const{ return m_value; }
78 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
79 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
80 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
81 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
82 inline ResultRowValue& WithValue(const Aws::String& value) { SetValue(value); return *this;}
83 inline ResultRowValue& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
84 inline ResultRowValue& WithValue(const char* value) { SetValue(value); return *this;}
86 private:
87
88 Aws::String m_key;
89 bool m_keyHasBeenSet = false;
90
91 Aws::String m_type;
92 bool m_typeHasBeenSet = false;
93
94 Aws::String m_value;
95 bool m_valueHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace Pinpoint
100} // namespace Aws
const Aws::String & GetKey() const
ResultRowValue & WithKey(const Aws::String &value)
ResultRowValue & WithType(Aws::String &&value)
void SetValue(const Aws::String &value)
void SetKey(const Aws::String &value)
void SetKey(Aws::String &&value)
void SetType(Aws::String &&value)
const Aws::String & GetType() const
void SetType(const Aws::String &value)
void SetValue(Aws::String &&value)
AWS_PINPOINT_API ResultRowValue & operator=(Aws::Utils::Json::JsonView jsonValue)
ResultRowValue & WithType(const char *value)
ResultRowValue & WithKey(Aws::String &&value)
const Aws::String & GetValue() const
AWS_PINPOINT_API ResultRowValue(Aws::Utils::Json::JsonView jsonValue)
ResultRowValue & WithValue(const Aws::String &value)
ResultRowValue & WithValue(const char *value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
ResultRowValue & WithType(const Aws::String &value)
ResultRowValue & WithKey(const char *value)
ResultRowValue & WithValue(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue