AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDetails(const Aws::String& value) { m_detailsHasBeenSet = true; m_details = value; }
50 inline void SetDetails(Aws::String&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); }
51 inline void SetDetails(const char* value) { m_detailsHasBeenSet = true; m_details.assign(value); }
52 inline EvaluationResult& WithDetails(const Aws::String& value) { SetDetails(value); return *this;}
53 inline EvaluationResult& WithDetails(Aws::String&& value) { SetDetails(std::move(value)); return *this;}
54 inline EvaluationResult& WithDetails(const char* value) { SetDetails(value); return *this;}
56
58
61 inline const Aws::String& GetEntityId() const{ return m_entityId; }
62 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
63 inline void SetEntityId(const Aws::String& value) { m_entityIdHasBeenSet = true; m_entityId = value; }
64 inline void SetEntityId(Aws::String&& value) { m_entityIdHasBeenSet = true; m_entityId = std::move(value); }
65 inline void SetEntityId(const char* value) { m_entityIdHasBeenSet = true; m_entityId.assign(value); }
66 inline EvaluationResult& WithEntityId(const Aws::String& value) { SetEntityId(value); return *this;}
67 inline EvaluationResult& WithEntityId(Aws::String&& value) { SetEntityId(std::move(value)); return *this;}
68 inline EvaluationResult& WithEntityId(const char* value) { SetEntityId(value); return *this;}
70
72
75 inline const Aws::String& GetFeature() const{ return m_feature; }
76 inline bool FeatureHasBeenSet() const { return m_featureHasBeenSet; }
77 inline void SetFeature(const Aws::String& value) { m_featureHasBeenSet = true; m_feature = value; }
78 inline void SetFeature(Aws::String&& value) { m_featureHasBeenSet = true; m_feature = std::move(value); }
79 inline void SetFeature(const char* value) { m_featureHasBeenSet = true; m_feature.assign(value); }
80 inline EvaluationResult& WithFeature(const Aws::String& value) { SetFeature(value); return *this;}
81 inline EvaluationResult& WithFeature(Aws::String&& value) { SetFeature(std::move(value)); return *this;}
82 inline EvaluationResult& WithFeature(const char* value) { SetFeature(value); return *this;}
84
86
89 inline const Aws::String& GetProject() const{ return m_project; }
90 inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; }
91 inline void SetProject(const Aws::String& value) { m_projectHasBeenSet = true; m_project = value; }
92 inline void SetProject(Aws::String&& value) { m_projectHasBeenSet = true; m_project = std::move(value); }
93 inline void SetProject(const char* value) { m_projectHasBeenSet = true; m_project.assign(value); }
94 inline EvaluationResult& WithProject(const Aws::String& value) { SetProject(value); return *this;}
95 inline EvaluationResult& WithProject(Aws::String&& value) { SetProject(std::move(value)); return *this;}
96 inline EvaluationResult& WithProject(const char* value) { SetProject(value); return *this;}
98
100
107 inline const Aws::String& GetReason() const{ return m_reason; }
108 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
109 inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; }
110 inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
111 inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); }
112 inline EvaluationResult& WithReason(const Aws::String& value) { SetReason(value); return *this;}
113 inline EvaluationResult& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;}
114 inline EvaluationResult& WithReason(const char* value) { SetReason(value); return *this;}
116
118
122 inline const VariableValue& GetValue() const{ return m_value; }
123 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
124 inline void SetValue(const VariableValue& value) { m_valueHasBeenSet = true; m_value = value; }
125 inline void SetValue(VariableValue&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
126 inline EvaluationResult& WithValue(const VariableValue& value) { SetValue(value); return *this;}
127 inline EvaluationResult& WithValue(VariableValue&& value) { SetValue(std::move(value)); return *this;}
129
131
134 inline const Aws::String& GetVariation() const{ return m_variation; }
135 inline bool VariationHasBeenSet() const { return m_variationHasBeenSet; }
136 inline void SetVariation(const Aws::String& value) { m_variationHasBeenSet = true; m_variation = value; }
137 inline void SetVariation(Aws::String&& value) { m_variationHasBeenSet = true; m_variation = std::move(value); }
138 inline void SetVariation(const char* value) { m_variationHasBeenSet = true; m_variation.assign(value); }
139 inline EvaluationResult& WithVariation(const Aws::String& value) { SetVariation(value); return *this;}
140 inline EvaluationResult& WithVariation(Aws::String&& value) { SetVariation(std::move(value)); return *this;}
141 inline EvaluationResult& WithVariation(const char* value) { SetVariation(value); return *this;}
143 private:
144
145 Aws::String m_details;
146 bool m_detailsHasBeenSet = false;
147
148 Aws::String m_entityId;
149 bool m_entityIdHasBeenSet = false;
150
151 Aws::String m_feature;
152 bool m_featureHasBeenSet = false;
153
154 Aws::String m_project;
155 bool m_projectHasBeenSet = false;
156
157 Aws::String m_reason;
158 bool m_reasonHasBeenSet = false;
159
160 VariableValue m_value;
161 bool m_valueHasBeenSet = false;
162
163 Aws::String m_variation;
164 bool m_variationHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace CloudWatchEvidently
169} // namespace Aws
AWS_CLOUDWATCHEVIDENTLY_API EvaluationResult(Aws::Utils::Json::JsonView jsonValue)
EvaluationResult & WithDetails(Aws::String &&value)
EvaluationResult & WithFeature(const Aws::String &value)
EvaluationResult & WithProject(const char *value)
EvaluationResult & WithValue(const VariableValue &value)
EvaluationResult & WithFeature(Aws::String &&value)
EvaluationResult & WithReason(Aws::String &&value)
EvaluationResult & WithFeature(const char *value)
EvaluationResult & WithProject(const Aws::String &value)
EvaluationResult & WithVariation(Aws::String &&value)
EvaluationResult & WithEntityId(const char *value)
EvaluationResult & WithVariation(const Aws::String &value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
EvaluationResult & WithVariation(const char *value)
EvaluationResult & WithDetails(const char *value)
EvaluationResult & WithReason(const Aws::String &value)
EvaluationResult & WithDetails(const Aws::String &value)
EvaluationResult & WithReason(const char *value)
EvaluationResult & WithValue(VariableValue &&value)
AWS_CLOUDWATCHEVIDENTLY_API EvaluationResult & operator=(Aws::Utils::Json::JsonView jsonValue)
EvaluationResult & WithEntityId(Aws::String &&value)
EvaluationResult & WithProject(Aws::String &&value)
EvaluationResult & WithEntityId(const Aws::String &value)
AWS_CLOUDWATCHEVIDENTLY_API EvaluationResult()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue