AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EvaluationRequest.h
1
6#pragma once
7#include <aws/evidently/CloudWatchEvidently_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 CloudWatchEvidently
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CLOUDWATCHEVIDENTLY_API EvaluationRequest() = default;
36 AWS_CLOUDWATCHEVIDENTLY_API EvaluationRequest(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLOUDWATCHEVIDENTLY_API EvaluationRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetEntityId() const { return m_entityId; }
48 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
49 template<typename EntityIdT = Aws::String>
50 void SetEntityId(EntityIdT&& value) { m_entityIdHasBeenSet = true; m_entityId = std::forward<EntityIdT>(value); }
51 template<typename EntityIdT = Aws::String>
52 EvaluationRequest& WithEntityId(EntityIdT&& value) { SetEntityId(std::forward<EntityIdT>(value)); return *this;}
54
56
61 inline const Aws::String& GetEvaluationContext() const { return m_evaluationContext; }
62 inline bool EvaluationContextHasBeenSet() const { return m_evaluationContextHasBeenSet; }
63 template<typename EvaluationContextT = Aws::String>
64 void SetEvaluationContext(EvaluationContextT&& value) { m_evaluationContextHasBeenSet = true; m_evaluationContext = std::forward<EvaluationContextT>(value); }
65 template<typename EvaluationContextT = Aws::String>
66 EvaluationRequest& WithEvaluationContext(EvaluationContextT&& value) { SetEvaluationContext(std::forward<EvaluationContextT>(value)); return *this;}
68
70
73 inline const Aws::String& GetFeature() const { return m_feature; }
74 inline bool FeatureHasBeenSet() const { return m_featureHasBeenSet; }
75 template<typename FeatureT = Aws::String>
76 void SetFeature(FeatureT&& value) { m_featureHasBeenSet = true; m_feature = std::forward<FeatureT>(value); }
77 template<typename FeatureT = Aws::String>
78 EvaluationRequest& WithFeature(FeatureT&& value) { SetFeature(std::forward<FeatureT>(value)); return *this;}
80 private:
81
82 Aws::String m_entityId;
83 bool m_entityIdHasBeenSet = false;
84
85 Aws::String m_evaluationContext;
86 bool m_evaluationContextHasBeenSet = false;
87
88 Aws::String m_feature;
89 bool m_featureHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace CloudWatchEvidently
94} // namespace Aws
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEvaluationContext(EvaluationContextT &&value)
AWS_CLOUDWATCHEVIDENTLY_API EvaluationRequest(Aws::Utils::Json::JsonView jsonValue)
EvaluationRequest & WithEvaluationContext(EvaluationContextT &&value)
AWS_CLOUDWATCHEVIDENTLY_API EvaluationRequest()=default
EvaluationRequest & WithEntityId(EntityIdT &&value)
EvaluationRequest & WithFeature(FeatureT &&value)
AWS_CLOUDWATCHEVIDENTLY_API EvaluationRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue