AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MetricGoalConfig.h
1
6#pragma once
7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/evidently/model/ChangeDirectionEnum.h>
9#include <aws/evidently/model/MetricDefinitionConfig.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 CloudWatchEvidently
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_CLOUDWATCHEVIDENTLY_API MetricGoalConfig();
38 AWS_CLOUDWATCHEVIDENTLY_API MetricGoalConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLOUDWATCHEVIDENTLY_API MetricGoalConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const ChangeDirectionEnum& GetDesiredChange() const{ return m_desiredChange; }
50 inline bool DesiredChangeHasBeenSet() const { return m_desiredChangeHasBeenSet; }
51 inline void SetDesiredChange(const ChangeDirectionEnum& value) { m_desiredChangeHasBeenSet = true; m_desiredChange = value; }
52 inline void SetDesiredChange(ChangeDirectionEnum&& value) { m_desiredChangeHasBeenSet = true; m_desiredChange = std::move(value); }
53 inline MetricGoalConfig& WithDesiredChange(const ChangeDirectionEnum& value) { SetDesiredChange(value); return *this;}
54 inline MetricGoalConfig& WithDesiredChange(ChangeDirectionEnum&& value) { SetDesiredChange(std::move(value)); return *this;}
56
58
61 inline const MetricDefinitionConfig& GetMetricDefinition() const{ return m_metricDefinition; }
62 inline bool MetricDefinitionHasBeenSet() const { return m_metricDefinitionHasBeenSet; }
63 inline void SetMetricDefinition(const MetricDefinitionConfig& value) { m_metricDefinitionHasBeenSet = true; m_metricDefinition = value; }
64 inline void SetMetricDefinition(MetricDefinitionConfig&& value) { m_metricDefinitionHasBeenSet = true; m_metricDefinition = std::move(value); }
66 inline MetricGoalConfig& WithMetricDefinition(MetricDefinitionConfig&& value) { SetMetricDefinition(std::move(value)); return *this;}
68 private:
69
70 ChangeDirectionEnum m_desiredChange;
71 bool m_desiredChangeHasBeenSet = false;
72
73 MetricDefinitionConfig m_metricDefinition;
74 bool m_metricDefinitionHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace CloudWatchEvidently
79} // namespace Aws
MetricGoalConfig & WithDesiredChange(const ChangeDirectionEnum &value)
void SetMetricDefinition(const MetricDefinitionConfig &value)
void SetMetricDefinition(MetricDefinitionConfig &&value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDWATCHEVIDENTLY_API MetricGoalConfig()
MetricGoalConfig & WithMetricDefinition(MetricDefinitionConfig &&value)
MetricGoalConfig & WithDesiredChange(ChangeDirectionEnum &&value)
void SetDesiredChange(ChangeDirectionEnum &&value)
AWS_CLOUDWATCHEVIDENTLY_API MetricGoalConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const ChangeDirectionEnum & GetDesiredChange() const
AWS_CLOUDWATCHEVIDENTLY_API MetricGoalConfig(Aws::Utils::Json::JsonView jsonValue)
const MetricDefinitionConfig & GetMetricDefinition() const
MetricGoalConfig & WithMetricDefinition(const MetricDefinitionConfig &value)
void SetDesiredChange(const ChangeDirectionEnum &value)
Aws::Utils::Json::JsonValue JsonValue