AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EvaluationResult.h
1
6#pragma once
7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/evidently/model/VariableValue.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
34 {
35 public:
36 AWS_CLOUDWATCHEVIDENTLY_API EvaluationResult() = default;
37 AWS_CLOUDWATCHEVIDENTLY_API EvaluationResult(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLOUDWATCHEVIDENTLY_API EvaluationResult& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetDetails() const { return m_details; }
48 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
49 template<typename DetailsT = Aws::String>
50 void SetDetails(DetailsT&& value) { m_detailsHasBeenSet = true; m_details = std::forward<DetailsT>(value); }
51 template<typename DetailsT = Aws::String>
52 EvaluationResult& WithDetails(DetailsT&& value) { SetDetails(std::forward<DetailsT>(value)); return *this;}
54
56
59 inline const Aws::String& GetEntityId() const { return m_entityId; }
60 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
61 template<typename EntityIdT = Aws::String>
62 void SetEntityId(EntityIdT&& value) { m_entityIdHasBeenSet = true; m_entityId = std::forward<EntityIdT>(value); }
63 template<typename EntityIdT = Aws::String>
64 EvaluationResult& WithEntityId(EntityIdT&& value) { SetEntityId(std::forward<EntityIdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetFeature() const { return m_feature; }
72 inline bool FeatureHasBeenSet() const { return m_featureHasBeenSet; }
73 template<typename FeatureT = Aws::String>
74 void SetFeature(FeatureT&& value) { m_featureHasBeenSet = true; m_feature = std::forward<FeatureT>(value); }
75 template<typename FeatureT = Aws::String>
76 EvaluationResult& WithFeature(FeatureT&& value) { SetFeature(std::forward<FeatureT>(value)); return *this;}
78
80
83 inline const Aws::String& GetProject() const { return m_project; }
84 inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; }
85 template<typename ProjectT = Aws::String>
86 void SetProject(ProjectT&& value) { m_projectHasBeenSet = true; m_project = std::forward<ProjectT>(value); }
87 template<typename ProjectT = Aws::String>
88 EvaluationResult& WithProject(ProjectT&& value) { SetProject(std::forward<ProjectT>(value)); return *this;}
90
92
99 inline const Aws::String& GetReason() const { return m_reason; }
100 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
101 template<typename ReasonT = Aws::String>
102 void SetReason(ReasonT&& value) { m_reasonHasBeenSet = true; m_reason = std::forward<ReasonT>(value); }
103 template<typename ReasonT = Aws::String>
104 EvaluationResult& WithReason(ReasonT&& value) { SetReason(std::forward<ReasonT>(value)); return *this;}
106
108
112 inline const VariableValue& GetValue() const { return m_value; }
113 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
114 template<typename ValueT = VariableValue>
115 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
116 template<typename ValueT = VariableValue>
117 EvaluationResult& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
119
121
124 inline const Aws::String& GetVariation() const { return m_variation; }
125 inline bool VariationHasBeenSet() const { return m_variationHasBeenSet; }
126 template<typename VariationT = Aws::String>
127 void SetVariation(VariationT&& value) { m_variationHasBeenSet = true; m_variation = std::forward<VariationT>(value); }
128 template<typename VariationT = Aws::String>
129 EvaluationResult& WithVariation(VariationT&& value) { SetVariation(std::forward<VariationT>(value)); return *this;}
131 private:
132
133 Aws::String m_details;
134 bool m_detailsHasBeenSet = false;
135
136 Aws::String m_entityId;
137 bool m_entityIdHasBeenSet = false;
138
139 Aws::String m_feature;
140 bool m_featureHasBeenSet = false;
141
142 Aws::String m_project;
143 bool m_projectHasBeenSet = false;
144
145 Aws::String m_reason;
146 bool m_reasonHasBeenSet = false;
147
148 VariableValue m_value;
149 bool m_valueHasBeenSet = false;
150
151 Aws::String m_variation;
152 bool m_variationHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace CloudWatchEvidently
157} // namespace Aws
AWS_CLOUDWATCHEVIDENTLY_API EvaluationResult(Aws::Utils::Json::JsonView jsonValue)
EvaluationResult & WithProject(ProjectT &&value)
EvaluationResult & WithValue(ValueT &&value)
EvaluationResult & WithVariation(VariationT &&value)
EvaluationResult & WithFeature(FeatureT &&value)
EvaluationResult & WithReason(ReasonT &&value)
EvaluationResult & WithDetails(DetailsT &&value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
EvaluationResult & WithEntityId(EntityIdT &&value)
AWS_CLOUDWATCHEVIDENTLY_API EvaluationResult()=default
AWS_CLOUDWATCHEVIDENTLY_API EvaluationResult & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue