AWS SDK for C++  1.9.109
AWS SDK for C++
UpdateMLModelRequest.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 "UpdateMLModel"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetMLModelId() const{ return m_mLModelId; }
41 
45  inline bool MLModelIdHasBeenSet() const { return m_mLModelIdHasBeenSet; }
46 
50  inline void SetMLModelId(const Aws::String& value) { m_mLModelIdHasBeenSet = true; m_mLModelId = value; }
51 
55  inline void SetMLModelId(Aws::String&& value) { m_mLModelIdHasBeenSet = true; m_mLModelId = std::move(value); }
56 
60  inline void SetMLModelId(const char* value) { m_mLModelIdHasBeenSet = true; m_mLModelId.assign(value); }
61 
65  inline UpdateMLModelRequest& WithMLModelId(const Aws::String& value) { SetMLModelId(value); return *this;}
66 
70  inline UpdateMLModelRequest& WithMLModelId(Aws::String&& value) { SetMLModelId(std::move(value)); return *this;}
71 
75  inline UpdateMLModelRequest& WithMLModelId(const char* value) { SetMLModelId(value); return *this;}
76 
77 
81  inline const Aws::String& GetMLModelName() const{ return m_mLModelName; }
82 
86  inline bool MLModelNameHasBeenSet() const { return m_mLModelNameHasBeenSet; }
87 
91  inline void SetMLModelName(const Aws::String& value) { m_mLModelNameHasBeenSet = true; m_mLModelName = value; }
92 
96  inline void SetMLModelName(Aws::String&& value) { m_mLModelNameHasBeenSet = true; m_mLModelName = std::move(value); }
97 
101  inline void SetMLModelName(const char* value) { m_mLModelNameHasBeenSet = true; m_mLModelName.assign(value); }
102 
106  inline UpdateMLModelRequest& WithMLModelName(const Aws::String& value) { SetMLModelName(value); return *this;}
107 
111  inline UpdateMLModelRequest& WithMLModelName(Aws::String&& value) { SetMLModelName(std::move(value)); return *this;}
112 
116  inline UpdateMLModelRequest& WithMLModelName(const char* value) { SetMLModelName(value); return *this;}
117 
118 
128  inline double GetScoreThreshold() const{ return m_scoreThreshold; }
129 
139  inline bool ScoreThresholdHasBeenSet() const { return m_scoreThresholdHasBeenSet; }
140 
150  inline void SetScoreThreshold(double value) { m_scoreThresholdHasBeenSet = true; m_scoreThreshold = value; }
151 
161  inline UpdateMLModelRequest& WithScoreThreshold(double value) { SetScoreThreshold(value); return *this;}
162 
163  private:
164 
165  Aws::String m_mLModelId;
166  bool m_mLModelIdHasBeenSet;
167 
168  Aws::String m_mLModelName;
169  bool m_mLModelNameHasBeenSet;
170 
171  double m_scoreThreshold;
172  bool m_scoreThresholdHasBeenSet;
173  };
174 
175 } // namespace Model
176 } // namespace MachineLearning
177 } // namespace Aws
Aws::MachineLearning::Model::UpdateMLModelRequest::WithMLModelId
UpdateMLModelRequest & WithMLModelId(const char *value)
Definition: UpdateMLModelRequest.h:75
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::MachineLearning::Model::UpdateMLModelRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::MachineLearning::Model::UpdateMLModelRequest::GetMLModelName
const Aws::String & GetMLModelName() const
Definition: UpdateMLModelRequest.h:81
MachineLearning_EXPORTS.h
Aws::MachineLearning::Model::UpdateMLModelRequest::WithScoreThreshold
UpdateMLModelRequest & WithScoreThreshold(double value)
Definition: UpdateMLModelRequest.h:161
Aws::MachineLearning::Model::UpdateMLModelRequest::UpdateMLModelRequest
UpdateMLModelRequest()
Aws::MachineLearning::Model::UpdateMLModelRequest::MLModelIdHasBeenSet
bool MLModelIdHasBeenSet() const
Definition: UpdateMLModelRequest.h:45
Aws::MachineLearning::Model::UpdateMLModelRequest::ScoreThresholdHasBeenSet
bool ScoreThresholdHasBeenSet() const
Definition: UpdateMLModelRequest.h:139
Aws::MachineLearning::Model::UpdateMLModelRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MachineLearning::Model::UpdateMLModelRequest::WithMLModelName
UpdateMLModelRequest & WithMLModelName(const Aws::String &value)
Definition: UpdateMLModelRequest.h:106
Aws::MachineLearning::Model::UpdateMLModelRequest::SetMLModelName
void SetMLModelName(const char *value)
Definition: UpdateMLModelRequest.h:101
Aws::MachineLearning::Model::UpdateMLModelRequest::MLModelNameHasBeenSet
bool MLModelNameHasBeenSet() const
Definition: UpdateMLModelRequest.h:86
Aws::MachineLearning::Model::UpdateMLModelRequest::GetScoreThreshold
double GetScoreThreshold() const
Definition: UpdateMLModelRequest.h:128
Aws::MachineLearning::Model::UpdateMLModelRequest::SetMLModelId
void SetMLModelId(Aws::String &&value)
Definition: UpdateMLModelRequest.h:55
Aws::MachineLearning::Model::UpdateMLModelRequest::SetMLModelId
void SetMLModelId(const char *value)
Definition: UpdateMLModelRequest.h:60
AWS_MACHINELEARNING_API
#define AWS_MACHINELEARNING_API
Definition: MachineLearning_EXPORTS.h:28
Aws::MachineLearning::Model::UpdateMLModelRequest
Definition: UpdateMLModelRequest.h:22
Aws::MachineLearning::Model::UpdateMLModelRequest::SetScoreThreshold
void SetScoreThreshold(double value)
Definition: UpdateMLModelRequest.h:150
Aws::MachineLearning::Model::UpdateMLModelRequest::WithMLModelId
UpdateMLModelRequest & WithMLModelId(Aws::String &&value)
Definition: UpdateMLModelRequest.h:70
Aws::MachineLearning::Model::UpdateMLModelRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateMLModelRequest.h:30
AWSString.h
Aws::MachineLearning::Model::UpdateMLModelRequest::SetMLModelName
void SetMLModelName(const Aws::String &value)
Definition: UpdateMLModelRequest.h:91
Aws::MachineLearning::Model::UpdateMLModelRequest::WithMLModelName
UpdateMLModelRequest & WithMLModelName(Aws::String &&value)
Definition: UpdateMLModelRequest.h:111
MachineLearningRequest.h
Aws::MachineLearning::Model::UpdateMLModelRequest::SetMLModelName
void SetMLModelName(Aws::String &&value)
Definition: UpdateMLModelRequest.h:96
Aws::MachineLearning::Model::UpdateMLModelRequest::SetMLModelId
void SetMLModelId(const Aws::String &value)
Definition: UpdateMLModelRequest.h:50
Aws::MachineLearning::MachineLearningRequest
Definition: MachineLearningRequest.h:17
Aws::MachineLearning::Model::UpdateMLModelRequest::GetMLModelId
const Aws::String & GetMLModelId() const
Definition: UpdateMLModelRequest.h:40
Aws
Definition: AccessManagementClient.h:15
Aws::MachineLearning::Model::UpdateMLModelRequest::WithMLModelId
UpdateMLModelRequest & WithMLModelId(const Aws::String &value)
Definition: UpdateMLModelRequest.h:65
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MachineLearning::Model::UpdateMLModelRequest::WithMLModelName
UpdateMLModelRequest & WithMLModelName(const char *value)
Definition: UpdateMLModelRequest.h:116