AWS SDK for C++  1.9.109
AWS SDK for C++
UpdateEvaluationRequest.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 "UpdateEvaluation"; }
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 UpdateEvaluationRequest& WithEvaluationId(const Aws::String& value) { SetEvaluationId(value); return *this;}
66 
70  inline UpdateEvaluationRequest& WithEvaluationId(Aws::String&& value) { SetEvaluationId(std::move(value)); return *this;}
71 
75  inline UpdateEvaluationRequest& WithEvaluationId(const char* value) { SetEvaluationId(value); return *this;}
76 
77 
82  inline const Aws::String& GetEvaluationName() const{ return m_evaluationName; }
83 
88  inline bool EvaluationNameHasBeenSet() const { return m_evaluationNameHasBeenSet; }
89 
94  inline void SetEvaluationName(const Aws::String& value) { m_evaluationNameHasBeenSet = true; m_evaluationName = value; }
95 
100  inline void SetEvaluationName(Aws::String&& value) { m_evaluationNameHasBeenSet = true; m_evaluationName = std::move(value); }
101 
106  inline void SetEvaluationName(const char* value) { m_evaluationNameHasBeenSet = true; m_evaluationName.assign(value); }
107 
112  inline UpdateEvaluationRequest& WithEvaluationName(const Aws::String& value) { SetEvaluationName(value); return *this;}
113 
118  inline UpdateEvaluationRequest& WithEvaluationName(Aws::String&& value) { SetEvaluationName(std::move(value)); return *this;}
119 
124  inline UpdateEvaluationRequest& WithEvaluationName(const char* value) { SetEvaluationName(value); return *this;}
125 
126  private:
127 
128  Aws::String m_evaluationId;
129  bool m_evaluationIdHasBeenSet;
130 
131  Aws::String m_evaluationName;
132  bool m_evaluationNameHasBeenSet;
133  };
134 
135 } // namespace Model
136 } // namespace MachineLearning
137 } // namespace Aws
Aws::MachineLearning::Model::UpdateEvaluationRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::MachineLearning::Model::UpdateEvaluationRequest::GetEvaluationId
const Aws::String & GetEvaluationId() const
Definition: UpdateEvaluationRequest.h:40
Aws::MachineLearning::Model::UpdateEvaluationRequest::SetEvaluationId
void SetEvaluationId(const Aws::String &value)
Definition: UpdateEvaluationRequest.h:50
MachineLearning_EXPORTS.h
Aws::MachineLearning::Model::UpdateEvaluationRequest::SetEvaluationName
void SetEvaluationName(const char *value)
Definition: UpdateEvaluationRequest.h:106
Aws::MachineLearning::Model::UpdateEvaluationRequest::SetEvaluationName
void SetEvaluationName(const Aws::String &value)
Definition: UpdateEvaluationRequest.h:94
Aws::MachineLearning::Model::UpdateEvaluationRequest::EvaluationNameHasBeenSet
bool EvaluationNameHasBeenSet() const
Definition: UpdateEvaluationRequest.h:88
Aws::MachineLearning::Model::UpdateEvaluationRequest::WithEvaluationId
UpdateEvaluationRequest & WithEvaluationId(const char *value)
Definition: UpdateEvaluationRequest.h:75
Aws::MachineLearning::Model::UpdateEvaluationRequest::WithEvaluationId
UpdateEvaluationRequest & WithEvaluationId(const Aws::String &value)
Definition: UpdateEvaluationRequest.h:65
Aws::MachineLearning::Model::UpdateEvaluationRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_MACHINELEARNING_API
#define AWS_MACHINELEARNING_API
Definition: MachineLearning_EXPORTS.h:28
Aws::MachineLearning::Model::UpdateEvaluationRequest::SetEvaluationId
void SetEvaluationId(Aws::String &&value)
Definition: UpdateEvaluationRequest.h:55
Aws::MachineLearning::Model::UpdateEvaluationRequest::WithEvaluationName
UpdateEvaluationRequest & WithEvaluationName(const Aws::String &value)
Definition: UpdateEvaluationRequest.h:112
Aws::MachineLearning::Model::UpdateEvaluationRequest::WithEvaluationName
UpdateEvaluationRequest & WithEvaluationName(const char *value)
Definition: UpdateEvaluationRequest.h:124
Aws::MachineLearning::Model::UpdateEvaluationRequest
Definition: UpdateEvaluationRequest.h:22
AWSString.h
Aws::MachineLearning::Model::UpdateEvaluationRequest::SetEvaluationName
void SetEvaluationName(Aws::String &&value)
Definition: UpdateEvaluationRequest.h:100
Aws::MachineLearning::Model::UpdateEvaluationRequest::WithEvaluationName
UpdateEvaluationRequest & WithEvaluationName(Aws::String &&value)
Definition: UpdateEvaluationRequest.h:118
MachineLearningRequest.h
Aws::MachineLearning::MachineLearningRequest
Definition: MachineLearningRequest.h:17
Aws::MachineLearning::Model::UpdateEvaluationRequest::GetEvaluationName
const Aws::String & GetEvaluationName() const
Definition: UpdateEvaluationRequest.h:82
Aws
Definition: AccessManagementClient.h:15
Aws::MachineLearning::Model::UpdateEvaluationRequest::WithEvaluationId
UpdateEvaluationRequest & WithEvaluationId(Aws::String &&value)
Definition: UpdateEvaluationRequest.h:70
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MachineLearning::Model::UpdateEvaluationRequest::UpdateEvaluationRequest
UpdateEvaluationRequest()
Aws::MachineLearning::Model::UpdateEvaluationRequest::EvaluationIdHasBeenSet
bool EvaluationIdHasBeenSet() const
Definition: UpdateEvaluationRequest.h:45
Aws::MachineLearning::Model::UpdateEvaluationRequest::SetEvaluationId
void SetEvaluationId(const char *value)
Definition: UpdateEvaluationRequest.h:60
Aws::MachineLearning::Model::UpdateEvaluationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateEvaluationRequest.h:30