AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEntityId(const Aws::String& value) { m_entityIdHasBeenSet = true; m_entityId = value; }
50 inline void SetEntityId(Aws::String&& value) { m_entityIdHasBeenSet = true; m_entityId = std::move(value); }
51 inline void SetEntityId(const char* value) { m_entityIdHasBeenSet = true; m_entityId.assign(value); }
52 inline EvaluationRequest& WithEntityId(const Aws::String& value) { SetEntityId(value); return *this;}
53 inline EvaluationRequest& WithEntityId(Aws::String&& value) { SetEntityId(std::move(value)); return *this;}
54 inline EvaluationRequest& WithEntityId(const char* value) { SetEntityId(value); return *this;}
56
58
63 inline const Aws::String& GetEvaluationContext() const{ return m_evaluationContext; }
64 inline bool EvaluationContextHasBeenSet() const { return m_evaluationContextHasBeenSet; }
65 inline void SetEvaluationContext(const Aws::String& value) { m_evaluationContextHasBeenSet = true; m_evaluationContext = value; }
66 inline void SetEvaluationContext(Aws::String&& value) { m_evaluationContextHasBeenSet = true; m_evaluationContext = std::move(value); }
67 inline void SetEvaluationContext(const char* value) { m_evaluationContextHasBeenSet = true; m_evaluationContext.assign(value); }
68 inline EvaluationRequest& WithEvaluationContext(const Aws::String& value) { SetEvaluationContext(value); return *this;}
69 inline EvaluationRequest& WithEvaluationContext(Aws::String&& value) { SetEvaluationContext(std::move(value)); return *this;}
70 inline EvaluationRequest& WithEvaluationContext(const char* value) { SetEvaluationContext(value); return *this;}
72
74
77 inline const Aws::String& GetFeature() const{ return m_feature; }
78 inline bool FeatureHasBeenSet() const { return m_featureHasBeenSet; }
79 inline void SetFeature(const Aws::String& value) { m_featureHasBeenSet = true; m_feature = value; }
80 inline void SetFeature(Aws::String&& value) { m_featureHasBeenSet = true; m_feature = std::move(value); }
81 inline void SetFeature(const char* value) { m_featureHasBeenSet = true; m_feature.assign(value); }
82 inline EvaluationRequest& WithFeature(const Aws::String& value) { SetFeature(value); return *this;}
83 inline EvaluationRequest& WithFeature(Aws::String&& value) { SetFeature(std::move(value)); return *this;}
84 inline EvaluationRequest& WithFeature(const char* value) { SetFeature(value); return *this;}
86 private:
87
88 Aws::String m_entityId;
89 bool m_entityIdHasBeenSet = false;
90
91 Aws::String m_evaluationContext;
92 bool m_evaluationContextHasBeenSet = false;
93
94 Aws::String m_feature;
95 bool m_featureHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace CloudWatchEvidently
100} // namespace Aws
EvaluationRequest & WithEntityId(Aws::String &&value)
EvaluationRequest & WithEvaluationContext(const Aws::String &value)
EvaluationRequest & WithFeature(Aws::String &&value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
EvaluationRequest & WithFeature(const char *value)
AWS_CLOUDWATCHEVIDENTLY_API EvaluationRequest(Aws::Utils::Json::JsonView jsonValue)
EvaluationRequest & WithEvaluationContext(Aws::String &&value)
AWS_CLOUDWATCHEVIDENTLY_API EvaluationRequest()
EvaluationRequest & WithEvaluationContext(const char *value)
EvaluationRequest & WithFeature(const Aws::String &value)
EvaluationRequest & WithEntityId(const Aws::String &value)
EvaluationRequest & WithEntityId(const char *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