AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnomalyGroupStatistics.h
1
6#pragma once
7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lookoutmetrics/model/ItemizedMetricStats.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LookoutMetrics
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_LOOKOUTMETRICS_API AnomalyGroupStatistics();
38 AWS_LOOKOUTMETRICS_API AnomalyGroupStatistics(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetEvaluationStartDate() const{ return m_evaluationStartDate; }
48 inline bool EvaluationStartDateHasBeenSet() const { return m_evaluationStartDateHasBeenSet; }
49 inline void SetEvaluationStartDate(const Aws::String& value) { m_evaluationStartDateHasBeenSet = true; m_evaluationStartDate = value; }
50 inline void SetEvaluationStartDate(Aws::String&& value) { m_evaluationStartDateHasBeenSet = true; m_evaluationStartDate = std::move(value); }
51 inline void SetEvaluationStartDate(const char* value) { m_evaluationStartDateHasBeenSet = true; m_evaluationStartDate.assign(value); }
53 inline AnomalyGroupStatistics& WithEvaluationStartDate(Aws::String&& value) { SetEvaluationStartDate(std::move(value)); return *this;}
54 inline AnomalyGroupStatistics& WithEvaluationStartDate(const char* value) { SetEvaluationStartDate(value); return *this;}
56
58
61 inline int GetTotalCount() const{ return m_totalCount; }
62 inline bool TotalCountHasBeenSet() const { return m_totalCountHasBeenSet; }
63 inline void SetTotalCount(int value) { m_totalCountHasBeenSet = true; m_totalCount = value; }
64 inline AnomalyGroupStatistics& WithTotalCount(int value) { SetTotalCount(value); return *this;}
66
68
71 inline const Aws::Vector<ItemizedMetricStats>& GetItemizedMetricStatsList() const{ return m_itemizedMetricStatsList; }
72 inline bool ItemizedMetricStatsListHasBeenSet() const { return m_itemizedMetricStatsListHasBeenSet; }
73 inline void SetItemizedMetricStatsList(const Aws::Vector<ItemizedMetricStats>& value) { m_itemizedMetricStatsListHasBeenSet = true; m_itemizedMetricStatsList = value; }
74 inline void SetItemizedMetricStatsList(Aws::Vector<ItemizedMetricStats>&& value) { m_itemizedMetricStatsListHasBeenSet = true; m_itemizedMetricStatsList = std::move(value); }
77 inline AnomalyGroupStatistics& AddItemizedMetricStatsList(const ItemizedMetricStats& value) { m_itemizedMetricStatsListHasBeenSet = true; m_itemizedMetricStatsList.push_back(value); return *this; }
78 inline AnomalyGroupStatistics& AddItemizedMetricStatsList(ItemizedMetricStats&& value) { m_itemizedMetricStatsListHasBeenSet = true; m_itemizedMetricStatsList.push_back(std::move(value)); return *this; }
80 private:
81
82 Aws::String m_evaluationStartDate;
83 bool m_evaluationStartDateHasBeenSet = false;
84
85 int m_totalCount;
86 bool m_totalCountHasBeenSet = false;
87
88 Aws::Vector<ItemizedMetricStats> m_itemizedMetricStatsList;
89 bool m_itemizedMetricStatsListHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace LookoutMetrics
94} // namespace Aws
AnomalyGroupStatistics & AddItemizedMetricStatsList(const ItemizedMetricStats &value)
AnomalyGroupStatistics & WithItemizedMetricStatsList(Aws::Vector< ItemizedMetricStats > &&value)
void SetItemizedMetricStatsList(Aws::Vector< ItemizedMetricStats > &&value)
AnomalyGroupStatistics & WithEvaluationStartDate(const char *value)
AnomalyGroupStatistics & WithEvaluationStartDate(const Aws::String &value)
AWS_LOOKOUTMETRICS_API AnomalyGroupStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
AnomalyGroupStatistics & AddItemizedMetricStatsList(ItemizedMetricStats &&value)
AnomalyGroupStatistics & WithEvaluationStartDate(Aws::String &&value)
AWS_LOOKOUTMETRICS_API AnomalyGroupStatistics(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< ItemizedMetricStats > & GetItemizedMetricStatsList() const
void SetItemizedMetricStatsList(const Aws::Vector< ItemizedMetricStats > &value)
AnomalyGroupStatistics & WithItemizedMetricStatsList(const Aws::Vector< ItemizedMetricStats > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue