AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResultRow.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/pinpoint/model/ResultRowValue.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 Pinpoint
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_PINPOINT_API ResultRow();
38 AWS_PINPOINT_API ResultRow(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PINPOINT_API ResultRow& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::Vector<ResultRowValue>& GetGroupedBys() const{ return m_groupedBys; }
50 inline bool GroupedBysHasBeenSet() const { return m_groupedBysHasBeenSet; }
51 inline void SetGroupedBys(const Aws::Vector<ResultRowValue>& value) { m_groupedBysHasBeenSet = true; m_groupedBys = value; }
52 inline void SetGroupedBys(Aws::Vector<ResultRowValue>&& value) { m_groupedBysHasBeenSet = true; m_groupedBys = std::move(value); }
53 inline ResultRow& WithGroupedBys(const Aws::Vector<ResultRowValue>& value) { SetGroupedBys(value); return *this;}
54 inline ResultRow& WithGroupedBys(Aws::Vector<ResultRowValue>&& value) { SetGroupedBys(std::move(value)); return *this;}
55 inline ResultRow& AddGroupedBys(const ResultRowValue& value) { m_groupedBysHasBeenSet = true; m_groupedBys.push_back(value); return *this; }
56 inline ResultRow& AddGroupedBys(ResultRowValue&& value) { m_groupedBysHasBeenSet = true; m_groupedBys.push_back(std::move(value)); return *this; }
58
60
64 inline const Aws::Vector<ResultRowValue>& GetValues() const{ return m_values; }
65 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
66 inline void SetValues(const Aws::Vector<ResultRowValue>& value) { m_valuesHasBeenSet = true; m_values = value; }
67 inline void SetValues(Aws::Vector<ResultRowValue>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
68 inline ResultRow& WithValues(const Aws::Vector<ResultRowValue>& value) { SetValues(value); return *this;}
69 inline ResultRow& WithValues(Aws::Vector<ResultRowValue>&& value) { SetValues(std::move(value)); return *this;}
70 inline ResultRow& AddValues(const ResultRowValue& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
71 inline ResultRow& AddValues(ResultRowValue&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
73 private:
74
75 Aws::Vector<ResultRowValue> m_groupedBys;
76 bool m_groupedBysHasBeenSet = false;
77
79 bool m_valuesHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Pinpoint
84} // namespace Aws
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
ResultRow & WithGroupedBys(const Aws::Vector< ResultRowValue > &value)
Definition ResultRow.h:53
ResultRow & WithValues(Aws::Vector< ResultRowValue > &&value)
Definition ResultRow.h:69
ResultRow & WithValues(const Aws::Vector< ResultRowValue > &value)
Definition ResultRow.h:68
ResultRow & WithGroupedBys(Aws::Vector< ResultRowValue > &&value)
Definition ResultRow.h:54
AWS_PINPOINT_API ResultRow()
AWS_PINPOINT_API ResultRow(Aws::Utils::Json::JsonView jsonValue)
void SetValues(const Aws::Vector< ResultRowValue > &value)
Definition ResultRow.h:66
void SetGroupedBys(Aws::Vector< ResultRowValue > &&value)
Definition ResultRow.h:52
const Aws::Vector< ResultRowValue > & GetGroupedBys() const
Definition ResultRow.h:49
ResultRow & AddGroupedBys(const ResultRowValue &value)
Definition ResultRow.h:55
void SetValues(Aws::Vector< ResultRowValue > &&value)
Definition ResultRow.h:67
ResultRow & AddValues(const ResultRowValue &value)
Definition ResultRow.h:70
ResultRow & AddGroupedBys(ResultRowValue &&value)
Definition ResultRow.h:56
ResultRow & AddValues(ResultRowValue &&value)
Definition ResultRow.h:71
const Aws::Vector< ResultRowValue > & GetValues() const
Definition ResultRow.h:64
AWS_PINPOINT_API ResultRow & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetGroupedBys(const Aws::Vector< ResultRowValue > &value)
Definition ResultRow.h:51
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue