AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EvaluateFeatureResult.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{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CloudWatchEvidently
25{
26namespace Model
27{
29 {
30 public:
31 AWS_CLOUDWATCHEVIDENTLY_API EvaluateFeatureResult();
34
35
37
41 inline const Aws::String& GetDetails() const{ return m_details; }
42 inline void SetDetails(const Aws::String& value) { m_details = value; }
43 inline void SetDetails(Aws::String&& value) { m_details = std::move(value); }
44 inline void SetDetails(const char* value) { m_details.assign(value); }
45 inline EvaluateFeatureResult& WithDetails(const Aws::String& value) { SetDetails(value); return *this;}
46 inline EvaluateFeatureResult& WithDetails(Aws::String&& value) { SetDetails(std::move(value)); return *this;}
47 inline EvaluateFeatureResult& WithDetails(const char* value) { SetDetails(value); return *this;}
49
51
59 inline const Aws::String& GetReason() const{ return m_reason; }
60 inline void SetReason(const Aws::String& value) { m_reason = value; }
61 inline void SetReason(Aws::String&& value) { m_reason = std::move(value); }
62 inline void SetReason(const char* value) { m_reason.assign(value); }
63 inline EvaluateFeatureResult& WithReason(const Aws::String& value) { SetReason(value); return *this;}
64 inline EvaluateFeatureResult& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;}
65 inline EvaluateFeatureResult& WithReason(const char* value) { SetReason(value); return *this;}
67
69
73 inline const VariableValue& GetValue() const{ return m_value; }
74 inline void SetValue(const VariableValue& value) { m_value = value; }
75 inline void SetValue(VariableValue&& value) { m_value = std::move(value); }
76 inline EvaluateFeatureResult& WithValue(const VariableValue& value) { SetValue(value); return *this;}
77 inline EvaluateFeatureResult& WithValue(VariableValue&& value) { SetValue(std::move(value)); return *this;}
79
81
84 inline const Aws::String& GetVariation() const{ return m_variation; }
85 inline void SetVariation(const Aws::String& value) { m_variation = value; }
86 inline void SetVariation(Aws::String&& value) { m_variation = std::move(value); }
87 inline void SetVariation(const char* value) { m_variation.assign(value); }
88 inline EvaluateFeatureResult& WithVariation(const Aws::String& value) { SetVariation(value); return *this;}
89 inline EvaluateFeatureResult& WithVariation(Aws::String&& value) { SetVariation(std::move(value)); return *this;}
90 inline EvaluateFeatureResult& WithVariation(const char* value) { SetVariation(value); return *this;}
92
94
95 inline const Aws::String& GetRequestId() const{ return m_requestId; }
96 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
97 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
98 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
99 inline EvaluateFeatureResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
100 inline EvaluateFeatureResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
101 inline EvaluateFeatureResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
103 private:
104
105 Aws::String m_details;
106
107 Aws::String m_reason;
108
109 VariableValue m_value;
110
111 Aws::String m_variation;
112
113 Aws::String m_requestId;
114 };
115
116} // namespace Model
117} // namespace CloudWatchEvidently
118} // namespace Aws
EvaluateFeatureResult & WithVariation(Aws::String &&value)
EvaluateFeatureResult & WithValue(VariableValue &&value)
EvaluateFeatureResult & WithRequestId(Aws::String &&value)
AWS_CLOUDWATCHEVIDENTLY_API EvaluateFeatureResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
EvaluateFeatureResult & WithRequestId(const Aws::String &value)
AWS_CLOUDWATCHEVIDENTLY_API EvaluateFeatureResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
EvaluateFeatureResult & WithReason(Aws::String &&value)
EvaluateFeatureResult & WithDetails(const char *value)
EvaluateFeatureResult & WithVariation(const Aws::String &value)
EvaluateFeatureResult & WithValue(const VariableValue &value)
EvaluateFeatureResult & WithReason(const char *value)
EvaluateFeatureResult & WithDetails(Aws::String &&value)
EvaluateFeatureResult & WithVariation(const char *value)
EvaluateFeatureResult & WithReason(const Aws::String &value)
EvaluateFeatureResult & WithDetails(const Aws::String &value)
EvaluateFeatureResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue