AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MetricLevelImpact.h
1
6#pragma once
7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lookoutmetrics/model/ContributionMatrix.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 LookoutMetrics
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_LOOKOUTMETRICS_API MetricLevelImpact();
36 AWS_LOOKOUTMETRICS_API MetricLevelImpact(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LOOKOUTMETRICS_API MetricLevelImpact& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetMetricName() const{ return m_metricName; }
46 inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; }
47 inline void SetMetricName(const Aws::String& value) { m_metricNameHasBeenSet = true; m_metricName = value; }
48 inline void SetMetricName(Aws::String&& value) { m_metricNameHasBeenSet = true; m_metricName = std::move(value); }
49 inline void SetMetricName(const char* value) { m_metricNameHasBeenSet = true; m_metricName.assign(value); }
50 inline MetricLevelImpact& WithMetricName(const Aws::String& value) { SetMetricName(value); return *this;}
51 inline MetricLevelImpact& WithMetricName(Aws::String&& value) { SetMetricName(std::move(value)); return *this;}
52 inline MetricLevelImpact& WithMetricName(const char* value) { SetMetricName(value); return *this;}
54
56
59 inline int GetNumTimeSeries() const{ return m_numTimeSeries; }
60 inline bool NumTimeSeriesHasBeenSet() const { return m_numTimeSeriesHasBeenSet; }
61 inline void SetNumTimeSeries(int value) { m_numTimeSeriesHasBeenSet = true; m_numTimeSeries = value; }
62 inline MetricLevelImpact& WithNumTimeSeries(int value) { SetNumTimeSeries(value); return *this;}
64
66
69 inline const ContributionMatrix& GetContributionMatrix() const{ return m_contributionMatrix; }
70 inline bool ContributionMatrixHasBeenSet() const { return m_contributionMatrixHasBeenSet; }
71 inline void SetContributionMatrix(const ContributionMatrix& value) { m_contributionMatrixHasBeenSet = true; m_contributionMatrix = value; }
72 inline void SetContributionMatrix(ContributionMatrix&& value) { m_contributionMatrixHasBeenSet = true; m_contributionMatrix = std::move(value); }
74 inline MetricLevelImpact& WithContributionMatrix(ContributionMatrix&& value) { SetContributionMatrix(std::move(value)); return *this;}
76 private:
77
78 Aws::String m_metricName;
79 bool m_metricNameHasBeenSet = false;
80
81 int m_numTimeSeries;
82 bool m_numTimeSeriesHasBeenSet = false;
83
84 ContributionMatrix m_contributionMatrix;
85 bool m_contributionMatrixHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace LookoutMetrics
90} // namespace Aws
void SetContributionMatrix(ContributionMatrix &&value)
MetricLevelImpact & WithNumTimeSeries(int value)
MetricLevelImpact & WithMetricName(const Aws::String &value)
MetricLevelImpact & WithMetricName(const char *value)
MetricLevelImpact & WithContributionMatrix(ContributionMatrix &&value)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
const ContributionMatrix & GetContributionMatrix() const
AWS_LOOKOUTMETRICS_API MetricLevelImpact(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTMETRICS_API MetricLevelImpact & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetContributionMatrix(const ContributionMatrix &value)
void SetMetricName(const Aws::String &value)
MetricLevelImpact & WithMetricName(Aws::String &&value)
MetricLevelImpact & WithContributionMatrix(const ContributionMatrix &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue