AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EvaluateFeatureRequest.h
1
6#pragma once
7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/evidently/CloudWatchEvidentlyRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace CloudWatchEvidently
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_CLOUDWATCHEVIDENTLY_API EvaluateFeatureRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "EvaluateFeature"; }
31
32 AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override;
33
34
36
41 inline const Aws::String& GetEntityId() const{ return m_entityId; }
42 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
43 inline void SetEntityId(const Aws::String& value) { m_entityIdHasBeenSet = true; m_entityId = value; }
44 inline void SetEntityId(Aws::String&& value) { m_entityIdHasBeenSet = true; m_entityId = std::move(value); }
45 inline void SetEntityId(const char* value) { m_entityIdHasBeenSet = true; m_entityId.assign(value); }
46 inline EvaluateFeatureRequest& WithEntityId(const Aws::String& value) { SetEntityId(value); return *this;}
47 inline EvaluateFeatureRequest& WithEntityId(Aws::String&& value) { SetEntityId(std::move(value)); return *this;}
48 inline EvaluateFeatureRequest& WithEntityId(const char* value) { SetEntityId(value); return *this;}
50
52
61 inline const Aws::String& GetEvaluationContext() const{ return m_evaluationContext; }
62 inline bool EvaluationContextHasBeenSet() const { return m_evaluationContextHasBeenSet; }
63 inline void SetEvaluationContext(const Aws::String& value) { m_evaluationContextHasBeenSet = true; m_evaluationContext = value; }
64 inline void SetEvaluationContext(Aws::String&& value) { m_evaluationContextHasBeenSet = true; m_evaluationContext = std::move(value); }
65 inline void SetEvaluationContext(const char* value) { m_evaluationContextHasBeenSet = true; m_evaluationContext.assign(value); }
67 inline EvaluateFeatureRequest& WithEvaluationContext(Aws::String&& value) { SetEvaluationContext(std::move(value)); return *this;}
68 inline EvaluateFeatureRequest& WithEvaluationContext(const char* value) { SetEvaluationContext(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 EvaluateFeatureRequest& WithFeature(const Aws::String& value) { SetFeature(value); return *this;}
81 inline EvaluateFeatureRequest& WithFeature(Aws::String&& value) { SetFeature(std::move(value)); return *this;}
82 inline EvaluateFeatureRequest& 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 EvaluateFeatureRequest& WithProject(const Aws::String& value) { SetProject(value); return *this;}
95 inline EvaluateFeatureRequest& WithProject(Aws::String&& value) { SetProject(std::move(value)); return *this;}
96 inline EvaluateFeatureRequest& WithProject(const char* value) { SetProject(value); return *this;}
98 private:
99
100 Aws::String m_entityId;
101 bool m_entityIdHasBeenSet = false;
102
103 Aws::String m_evaluationContext;
104 bool m_evaluationContextHasBeenSet = false;
105
106 Aws::String m_feature;
107 bool m_featureHasBeenSet = false;
108
109 Aws::String m_project;
110 bool m_projectHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace CloudWatchEvidently
115} // namespace Aws
EvaluateFeatureRequest & WithProject(const Aws::String &value)
EvaluateFeatureRequest & WithProject(Aws::String &&value)
EvaluateFeatureRequest & WithEvaluationContext(const char *value)
virtual const char * GetServiceRequestName() const override
EvaluateFeatureRequest & WithEntityId(Aws::String &&value)
EvaluateFeatureRequest & WithEvaluationContext(const Aws::String &value)
EvaluateFeatureRequest & WithFeature(Aws::String &&value)
EvaluateFeatureRequest & WithEntityId(const Aws::String &value)
EvaluateFeatureRequest & WithEvaluationContext(Aws::String &&value)
EvaluateFeatureRequest & WithEntityId(const char *value)
EvaluateFeatureRequest & WithProject(const char *value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override
EvaluateFeatureRequest & WithFeature(const Aws::String &value)
EvaluateFeatureRequest & WithFeature(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String