AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContributionMatrix.h
1
6#pragma once
7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lookoutmetrics/model/DimensionContribution.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
34 {
35 public:
36 AWS_LOOKOUTMETRICS_API ContributionMatrix();
37 AWS_LOOKOUTMETRICS_API ContributionMatrix(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOOKOUTMETRICS_API ContributionMatrix& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<DimensionContribution>& GetDimensionContributionList() const{ return m_dimensionContributionList; }
47 inline bool DimensionContributionListHasBeenSet() const { return m_dimensionContributionListHasBeenSet; }
48 inline void SetDimensionContributionList(const Aws::Vector<DimensionContribution>& value) { m_dimensionContributionListHasBeenSet = true; m_dimensionContributionList = value; }
49 inline void SetDimensionContributionList(Aws::Vector<DimensionContribution>&& value) { m_dimensionContributionListHasBeenSet = true; m_dimensionContributionList = std::move(value); }
52 inline ContributionMatrix& AddDimensionContributionList(const DimensionContribution& value) { m_dimensionContributionListHasBeenSet = true; m_dimensionContributionList.push_back(value); return *this; }
53 inline ContributionMatrix& AddDimensionContributionList(DimensionContribution&& value) { m_dimensionContributionListHasBeenSet = true; m_dimensionContributionList.push_back(std::move(value)); return *this; }
55 private:
56
57 Aws::Vector<DimensionContribution> m_dimensionContributionList;
58 bool m_dimensionContributionListHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace LookoutMetrics
63} // namespace Aws
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
ContributionMatrix & AddDimensionContributionList(DimensionContribution &&value)
void SetDimensionContributionList(const Aws::Vector< DimensionContribution > &value)
AWS_LOOKOUTMETRICS_API ContributionMatrix(Aws::Utils::Json::JsonView jsonValue)
ContributionMatrix & WithDimensionContributionList(Aws::Vector< DimensionContribution > &&value)
ContributionMatrix & AddDimensionContributionList(const DimensionContribution &value)
ContributionMatrix & WithDimensionContributionList(const Aws::Vector< DimensionContribution > &value)
void SetDimensionContributionList(Aws::Vector< DimensionContribution > &&value)
const Aws::Vector< DimensionContribution > & GetDimensionContributionList() const
AWS_LOOKOUTMETRICS_API ContributionMatrix & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue