AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BaseKpiResult.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/ResultRow.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 BaseKpiResult();
38 AWS_PINPOINT_API BaseKpiResult(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::Vector<ResultRow>& GetRows() const{ return m_rows; }
50 inline bool RowsHasBeenSet() const { return m_rowsHasBeenSet; }
51 inline void SetRows(const Aws::Vector<ResultRow>& value) { m_rowsHasBeenSet = true; m_rows = value; }
52 inline void SetRows(Aws::Vector<ResultRow>&& value) { m_rowsHasBeenSet = true; m_rows = std::move(value); }
53 inline BaseKpiResult& WithRows(const Aws::Vector<ResultRow>& value) { SetRows(value); return *this;}
54 inline BaseKpiResult& WithRows(Aws::Vector<ResultRow>&& value) { SetRows(std::move(value)); return *this;}
55 inline BaseKpiResult& AddRows(const ResultRow& value) { m_rowsHasBeenSet = true; m_rows.push_back(value); return *this; }
56 inline BaseKpiResult& AddRows(ResultRow&& value) { m_rowsHasBeenSet = true; m_rows.push_back(std::move(value)); return *this; }
58 private:
59
61 bool m_rowsHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace Pinpoint
66} // namespace Aws
AWS_PINPOINT_API BaseKpiResult & operator=(Aws::Utils::Json::JsonView jsonValue)
BaseKpiResult & WithRows(const Aws::Vector< ResultRow > &value)
AWS_PINPOINT_API BaseKpiResult(Aws::Utils::Json::JsonView jsonValue)
void SetRows(Aws::Vector< ResultRow > &&value)
void SetRows(const Aws::Vector< ResultRow > &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
BaseKpiResult & AddRows(ResultRow &&value)
BaseKpiResult & WithRows(Aws::Vector< ResultRow > &&value)
BaseKpiResult & AddRows(const ResultRow &value)
const Aws::Vector< ResultRow > & GetRows() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue