AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateEvaluationRequest.h
1
6#pragma once
7#include <aws/machinelearning/MachineLearning_EXPORTS.h>
8#include <aws/machinelearning/MachineLearningRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace MachineLearning
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_MACHINELEARNING_API CreateEvaluationRequest();
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 "CreateEvaluation"; }
31
32 AWS_MACHINELEARNING_API Aws::String SerializePayload() const override;
33
34 AWS_MACHINELEARNING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
41 inline const Aws::String& GetEvaluationId() const{ return m_evaluationId; }
42 inline bool EvaluationIdHasBeenSet() const { return m_evaluationIdHasBeenSet; }
43 inline void SetEvaluationId(const Aws::String& value) { m_evaluationIdHasBeenSet = true; m_evaluationId = value; }
44 inline void SetEvaluationId(Aws::String&& value) { m_evaluationIdHasBeenSet = true; m_evaluationId = std::move(value); }
45 inline void SetEvaluationId(const char* value) { m_evaluationIdHasBeenSet = true; m_evaluationId.assign(value); }
46 inline CreateEvaluationRequest& WithEvaluationId(const Aws::String& value) { SetEvaluationId(value); return *this;}
47 inline CreateEvaluationRequest& WithEvaluationId(Aws::String&& value) { SetEvaluationId(std::move(value)); return *this;}
48 inline CreateEvaluationRequest& WithEvaluationId(const char* value) { SetEvaluationId(value); return *this;}
50
52
55 inline const Aws::String& GetEvaluationName() const{ return m_evaluationName; }
56 inline bool EvaluationNameHasBeenSet() const { return m_evaluationNameHasBeenSet; }
57 inline void SetEvaluationName(const Aws::String& value) { m_evaluationNameHasBeenSet = true; m_evaluationName = value; }
58 inline void SetEvaluationName(Aws::String&& value) { m_evaluationNameHasBeenSet = true; m_evaluationName = std::move(value); }
59 inline void SetEvaluationName(const char* value) { m_evaluationNameHasBeenSet = true; m_evaluationName.assign(value); }
60 inline CreateEvaluationRequest& WithEvaluationName(const Aws::String& value) { SetEvaluationName(value); return *this;}
61 inline CreateEvaluationRequest& WithEvaluationName(Aws::String&& value) { SetEvaluationName(std::move(value)); return *this;}
62 inline CreateEvaluationRequest& WithEvaluationName(const char* value) { SetEvaluationName(value); return *this;}
64
66
71 inline const Aws::String& GetMLModelId() const{ return m_mLModelId; }
72 inline bool MLModelIdHasBeenSet() const { return m_mLModelIdHasBeenSet; }
73 inline void SetMLModelId(const Aws::String& value) { m_mLModelIdHasBeenSet = true; m_mLModelId = value; }
74 inline void SetMLModelId(Aws::String&& value) { m_mLModelIdHasBeenSet = true; m_mLModelId = std::move(value); }
75 inline void SetMLModelId(const char* value) { m_mLModelIdHasBeenSet = true; m_mLModelId.assign(value); }
76 inline CreateEvaluationRequest& WithMLModelId(const Aws::String& value) { SetMLModelId(value); return *this;}
77 inline CreateEvaluationRequest& WithMLModelId(Aws::String&& value) { SetMLModelId(std::move(value)); return *this;}
78 inline CreateEvaluationRequest& WithMLModelId(const char* value) { SetMLModelId(value); return *this;}
80
82
87 inline const Aws::String& GetEvaluationDataSourceId() const{ return m_evaluationDataSourceId; }
88 inline bool EvaluationDataSourceIdHasBeenSet() const { return m_evaluationDataSourceIdHasBeenSet; }
89 inline void SetEvaluationDataSourceId(const Aws::String& value) { m_evaluationDataSourceIdHasBeenSet = true; m_evaluationDataSourceId = value; }
90 inline void SetEvaluationDataSourceId(Aws::String&& value) { m_evaluationDataSourceIdHasBeenSet = true; m_evaluationDataSourceId = std::move(value); }
91 inline void SetEvaluationDataSourceId(const char* value) { m_evaluationDataSourceIdHasBeenSet = true; m_evaluationDataSourceId.assign(value); }
94 inline CreateEvaluationRequest& WithEvaluationDataSourceId(const char* value) { SetEvaluationDataSourceId(value); return *this;}
96 private:
97
98 Aws::String m_evaluationId;
99 bool m_evaluationIdHasBeenSet = false;
100
101 Aws::String m_evaluationName;
102 bool m_evaluationNameHasBeenSet = false;
103
104 Aws::String m_mLModelId;
105 bool m_mLModelIdHasBeenSet = false;
106
107 Aws::String m_evaluationDataSourceId;
108 bool m_evaluationDataSourceIdHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace MachineLearning
113} // namespace Aws
CreateEvaluationRequest & WithEvaluationDataSourceId(const char *value)
AWS_MACHINELEARNING_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
CreateEvaluationRequest & WithEvaluationName(const char *value)
CreateEvaluationRequest & WithEvaluationId(Aws::String &&value)
CreateEvaluationRequest & WithMLModelId(const Aws::String &value)
CreateEvaluationRequest & WithMLModelId(Aws::String &&value)
CreateEvaluationRequest & WithEvaluationDataSourceId(const Aws::String &value)
CreateEvaluationRequest & WithMLModelId(const char *value)
CreateEvaluationRequest & WithEvaluationName(Aws::String &&value)
AWS_MACHINELEARNING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateEvaluationRequest & WithEvaluationName(const Aws::String &value)
CreateEvaluationRequest & WithEvaluationId(const char *value)
CreateEvaluationRequest & WithEvaluationDataSourceId(Aws::String &&value)
CreateEvaluationRequest & WithEvaluationId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String