AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DimensionValueContribution.h
1
6#pragma once
7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LookoutMetrics
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_LOOKOUTMETRICS_API DimensionValueContribution();
36 AWS_LOOKOUTMETRICS_API DimensionValueContribution(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDimensionValue() const{ return m_dimensionValue; }
46 inline bool DimensionValueHasBeenSet() const { return m_dimensionValueHasBeenSet; }
47 inline void SetDimensionValue(const Aws::String& value) { m_dimensionValueHasBeenSet = true; m_dimensionValue = value; }
48 inline void SetDimensionValue(Aws::String&& value) { m_dimensionValueHasBeenSet = true; m_dimensionValue = std::move(value); }
49 inline void SetDimensionValue(const char* value) { m_dimensionValueHasBeenSet = true; m_dimensionValue.assign(value); }
50 inline DimensionValueContribution& WithDimensionValue(const Aws::String& value) { SetDimensionValue(value); return *this;}
51 inline DimensionValueContribution& WithDimensionValue(Aws::String&& value) { SetDimensionValue(std::move(value)); return *this;}
52 inline DimensionValueContribution& WithDimensionValue(const char* value) { SetDimensionValue(value); return *this;}
54
56
59 inline double GetContributionScore() const{ return m_contributionScore; }
60 inline bool ContributionScoreHasBeenSet() const { return m_contributionScoreHasBeenSet; }
61 inline void SetContributionScore(double value) { m_contributionScoreHasBeenSet = true; m_contributionScore = value; }
62 inline DimensionValueContribution& WithContributionScore(double value) { SetContributionScore(value); return *this;}
64 private:
65
66 Aws::String m_dimensionValue;
67 bool m_dimensionValueHasBeenSet = false;
68
69 double m_contributionScore;
70 bool m_contributionScoreHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace LookoutMetrics
75} // namespace Aws
AWS_LOOKOUTMETRICS_API DimensionValueContribution & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTMETRICS_API DimensionValueContribution(Aws::Utils::Json::JsonView jsonValue)
DimensionValueContribution & WithDimensionValue(const char *value)
DimensionValueContribution & WithContributionScore(double value)
DimensionValueContribution & WithDimensionValue(Aws::String &&value)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
DimensionValueContribution & WithDimensionValue(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue