AWS SDK for C++  1.9.103
AWS SDK for C++
CreateEvaluationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace MachineLearning
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetEvaluationId() const{ return m_evaluationId; }
41 
45  inline bool EvaluationIdHasBeenSet() const { return m_evaluationIdHasBeenSet; }
46 
50  inline void SetEvaluationId(const Aws::String& value) { m_evaluationIdHasBeenSet = true; m_evaluationId = value; }
51 
55  inline void SetEvaluationId(Aws::String&& value) { m_evaluationIdHasBeenSet = true; m_evaluationId = std::move(value); }
56 
60  inline void SetEvaluationId(const char* value) { m_evaluationIdHasBeenSet = true; m_evaluationId.assign(value); }
61 
65  inline CreateEvaluationRequest& WithEvaluationId(const Aws::String& value) { SetEvaluationId(value); return *this;}
66 
70  inline CreateEvaluationRequest& WithEvaluationId(Aws::String&& value) { SetEvaluationId(std::move(value)); return *this;}
71 
75  inline CreateEvaluationRequest& WithEvaluationId(const char* value) { SetEvaluationId(value); return *this;}
76 
77 
81  inline const Aws::String& GetEvaluationName() const{ return m_evaluationName; }
82 
86  inline bool EvaluationNameHasBeenSet() const { return m_evaluationNameHasBeenSet; }
87 
91  inline void SetEvaluationName(const Aws::String& value) { m_evaluationNameHasBeenSet = true; m_evaluationName = value; }
92 
96  inline void SetEvaluationName(Aws::String&& value) { m_evaluationNameHasBeenSet = true; m_evaluationName = std::move(value); }
97 
101  inline void SetEvaluationName(const char* value) { m_evaluationNameHasBeenSet = true; m_evaluationName.assign(value); }
102 
106  inline CreateEvaluationRequest& WithEvaluationName(const Aws::String& value) { SetEvaluationName(value); return *this;}
107 
111  inline CreateEvaluationRequest& WithEvaluationName(Aws::String&& value) { SetEvaluationName(std::move(value)); return *this;}
112 
116  inline CreateEvaluationRequest& WithEvaluationName(const char* value) { SetEvaluationName(value); return *this;}
117 
118 
124  inline const Aws::String& GetMLModelId() const{ return m_mLModelId; }
125 
131  inline bool MLModelIdHasBeenSet() const { return m_mLModelIdHasBeenSet; }
132 
138  inline void SetMLModelId(const Aws::String& value) { m_mLModelIdHasBeenSet = true; m_mLModelId = value; }
139 
145  inline void SetMLModelId(Aws::String&& value) { m_mLModelIdHasBeenSet = true; m_mLModelId = std::move(value); }
146 
152  inline void SetMLModelId(const char* value) { m_mLModelIdHasBeenSet = true; m_mLModelId.assign(value); }
153 
159  inline CreateEvaluationRequest& WithMLModelId(const Aws::String& value) { SetMLModelId(value); return *this;}
160 
166  inline CreateEvaluationRequest& WithMLModelId(Aws::String&& value) { SetMLModelId(std::move(value)); return *this;}
167 
173  inline CreateEvaluationRequest& WithMLModelId(const char* value) { SetMLModelId(value); return *this;}
174 
175 
181  inline const Aws::String& GetEvaluationDataSourceId() const{ return m_evaluationDataSourceId; }
182 
188  inline bool EvaluationDataSourceIdHasBeenSet() const { return m_evaluationDataSourceIdHasBeenSet; }
189 
195  inline void SetEvaluationDataSourceId(const Aws::String& value) { m_evaluationDataSourceIdHasBeenSet = true; m_evaluationDataSourceId = value; }
196 
202  inline void SetEvaluationDataSourceId(Aws::String&& value) { m_evaluationDataSourceIdHasBeenSet = true; m_evaluationDataSourceId = std::move(value); }
203 
209  inline void SetEvaluationDataSourceId(const char* value) { m_evaluationDataSourceIdHasBeenSet = true; m_evaluationDataSourceId.assign(value); }
210 
216  inline CreateEvaluationRequest& WithEvaluationDataSourceId(const Aws::String& value) { SetEvaluationDataSourceId(value); return *this;}
217 
223  inline CreateEvaluationRequest& WithEvaluationDataSourceId(Aws::String&& value) { SetEvaluationDataSourceId(std::move(value)); return *this;}
224 
230  inline CreateEvaluationRequest& WithEvaluationDataSourceId(const char* value) { SetEvaluationDataSourceId(value); return *this;}
231 
232  private:
233 
234  Aws::String m_evaluationId;
235  bool m_evaluationIdHasBeenSet;
236 
237  Aws::String m_evaluationName;
238  bool m_evaluationNameHasBeenSet;
239 
240  Aws::String m_mLModelId;
241  bool m_mLModelIdHasBeenSet;
242 
243  Aws::String m_evaluationDataSourceId;
244  bool m_evaluationDataSourceIdHasBeenSet;
245  };
246 
247 } // namespace Model
248 } // namespace MachineLearning
249 } // namespace Aws
Aws::MachineLearning::Model::CreateEvaluationRequest::EvaluationIdHasBeenSet
bool EvaluationIdHasBeenSet() const
Definition: CreateEvaluationRequest.h:45
Aws::MachineLearning::Model::CreateEvaluationRequest::SetEvaluationId
void SetEvaluationId(Aws::String &&value)
Definition: CreateEvaluationRequest.h:55
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::MachineLearning::Model::CreateEvaluationRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
MachineLearning_EXPORTS.h
Aws::MachineLearning::Model::CreateEvaluationRequest::GetEvaluationDataSourceId
const Aws::String & GetEvaluationDataSourceId() const
Definition: CreateEvaluationRequest.h:181
Aws::MachineLearning::Model::CreateEvaluationRequest::SetMLModelId
void SetMLModelId(Aws::String &&value)
Definition: CreateEvaluationRequest.h:145
Aws::MachineLearning::Model::CreateEvaluationRequest::SetEvaluationDataSourceId
void SetEvaluationDataSourceId(const Aws::String &value)
Definition: CreateEvaluationRequest.h:195
Aws::MachineLearning::Model::CreateEvaluationRequest::WithEvaluationDataSourceId
CreateEvaluationRequest & WithEvaluationDataSourceId(const Aws::String &value)
Definition: CreateEvaluationRequest.h:216
Aws::MachineLearning::Model::CreateEvaluationRequest::CreateEvaluationRequest
CreateEvaluationRequest()
Aws::MachineLearning::Model::CreateEvaluationRequest::SetEvaluationName
void SetEvaluationName(const char *value)
Definition: CreateEvaluationRequest.h:101
Aws::MachineLearning::Model::CreateEvaluationRequest::SetMLModelId
void SetMLModelId(const Aws::String &value)
Definition: CreateEvaluationRequest.h:138
Aws::MachineLearning::Model::CreateEvaluationRequest::SetEvaluationId
void SetEvaluationId(const char *value)
Definition: CreateEvaluationRequest.h:60
Aws::MachineLearning::Model::CreateEvaluationRequest::GetEvaluationName
const Aws::String & GetEvaluationName() const
Definition: CreateEvaluationRequest.h:81
Aws::MachineLearning::Model::CreateEvaluationRequest::WithEvaluationId
CreateEvaluationRequest & WithEvaluationId(const char *value)
Definition: CreateEvaluationRequest.h:75
Aws::MachineLearning::Model::CreateEvaluationRequest::SetEvaluationDataSourceId
void SetEvaluationDataSourceId(Aws::String &&value)
Definition: CreateEvaluationRequest.h:202
Aws::MachineLearning::Model::CreateEvaluationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MachineLearning::Model::CreateEvaluationRequest::SetMLModelId
void SetMLModelId(const char *value)
Definition: CreateEvaluationRequest.h:152
AWS_MACHINELEARNING_API
#define AWS_MACHINELEARNING_API
Definition: MachineLearning_EXPORTS.h:28
Aws::MachineLearning::Model::CreateEvaluationRequest::GetMLModelId
const Aws::String & GetMLModelId() const
Definition: CreateEvaluationRequest.h:124
Aws::MachineLearning::Model::CreateEvaluationRequest::WithEvaluationDataSourceId
CreateEvaluationRequest & WithEvaluationDataSourceId(const char *value)
Definition: CreateEvaluationRequest.h:230
Aws::MachineLearning::Model::CreateEvaluationRequest::MLModelIdHasBeenSet
bool MLModelIdHasBeenSet() const
Definition: CreateEvaluationRequest.h:131
Aws::MachineLearning::Model::CreateEvaluationRequest::EvaluationNameHasBeenSet
bool EvaluationNameHasBeenSet() const
Definition: CreateEvaluationRequest.h:86
Aws::MachineLearning::Model::CreateEvaluationRequest::EvaluationDataSourceIdHasBeenSet
bool EvaluationDataSourceIdHasBeenSet() const
Definition: CreateEvaluationRequest.h:188
Aws::MachineLearning::Model::CreateEvaluationRequest::SetEvaluationDataSourceId
void SetEvaluationDataSourceId(const char *value)
Definition: CreateEvaluationRequest.h:209
AWSString.h
Aws::MachineLearning::Model::CreateEvaluationRequest::WithEvaluationDataSourceId
CreateEvaluationRequest & WithEvaluationDataSourceId(Aws::String &&value)
Definition: CreateEvaluationRequest.h:223
Aws::MachineLearning::Model::CreateEvaluationRequest
Definition: CreateEvaluationRequest.h:22
Aws::MachineLearning::Model::CreateEvaluationRequest::GetEvaluationId
const Aws::String & GetEvaluationId() const
Definition: CreateEvaluationRequest.h:40
MachineLearningRequest.h
Aws::MachineLearning::MachineLearningRequest
Definition: MachineLearningRequest.h:17
Aws::MachineLearning::Model::CreateEvaluationRequest::WithMLModelId
CreateEvaluationRequest & WithMLModelId(Aws::String &&value)
Definition: CreateEvaluationRequest.h:166
Aws
Definition: AccessManagementClient.h:15
Aws::MachineLearning::Model::CreateEvaluationRequest::WithEvaluationId
CreateEvaluationRequest & WithEvaluationId(const Aws::String &value)
Definition: CreateEvaluationRequest.h:65
Aws::MachineLearning::Model::CreateEvaluationRequest::WithMLModelId
CreateEvaluationRequest & WithMLModelId(const char *value)
Definition: CreateEvaluationRequest.h:173
Aws::MachineLearning::Model::CreateEvaluationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateEvaluationRequest.h:30
Aws::MachineLearning::Model::CreateEvaluationRequest::WithMLModelId
CreateEvaluationRequest & WithMLModelId(const Aws::String &value)
Definition: CreateEvaluationRequest.h:159
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MachineLearning::Model::CreateEvaluationRequest::WithEvaluationName
CreateEvaluationRequest & WithEvaluationName(const Aws::String &value)
Definition: CreateEvaluationRequest.h:106
Aws::MachineLearning::Model::CreateEvaluationRequest::SetEvaluationName
void SetEvaluationName(Aws::String &&value)
Definition: CreateEvaluationRequest.h:96
Aws::MachineLearning::Model::CreateEvaluationRequest::SetEvaluationName
void SetEvaluationName(const Aws::String &value)
Definition: CreateEvaluationRequest.h:91
Aws::MachineLearning::Model::CreateEvaluationRequest::WithEvaluationName
CreateEvaluationRequest & WithEvaluationName(Aws::String &&value)
Definition: CreateEvaluationRequest.h:111
Aws::MachineLearning::Model::CreateEvaluationRequest::WithEvaluationId
CreateEvaluationRequest & WithEvaluationId(Aws::String &&value)
Definition: CreateEvaluationRequest.h:70
Aws::MachineLearning::Model::CreateEvaluationRequest::WithEvaluationName
CreateEvaluationRequest & WithEvaluationName(const char *value)
Definition: CreateEvaluationRequest.h:116
Aws::MachineLearning::Model::CreateEvaluationRequest::SetEvaluationId
void SetEvaluationId(const Aws::String &value)
Definition: CreateEvaluationRequest.h:50