AWS SDK for C++  1.9.66
AWS SDK for C++
UpdateBatchPredictionRequest.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 "UpdateBatchPrediction"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetBatchPredictionId() const{ return m_batchPredictionId; }
41 
45  inline bool BatchPredictionIdHasBeenSet() const { return m_batchPredictionIdHasBeenSet; }
46 
50  inline void SetBatchPredictionId(const Aws::String& value) { m_batchPredictionIdHasBeenSet = true; m_batchPredictionId = value; }
51 
55  inline void SetBatchPredictionId(Aws::String&& value) { m_batchPredictionIdHasBeenSet = true; m_batchPredictionId = std::move(value); }
56 
60  inline void SetBatchPredictionId(const char* value) { m_batchPredictionIdHasBeenSet = true; m_batchPredictionId.assign(value); }
61 
65  inline UpdateBatchPredictionRequest& WithBatchPredictionId(const Aws::String& value) { SetBatchPredictionId(value); return *this;}
66 
70  inline UpdateBatchPredictionRequest& WithBatchPredictionId(Aws::String&& value) { SetBatchPredictionId(std::move(value)); return *this;}
71 
75  inline UpdateBatchPredictionRequest& WithBatchPredictionId(const char* value) { SetBatchPredictionId(value); return *this;}
76 
77 
82  inline const Aws::String& GetBatchPredictionName() const{ return m_batchPredictionName; }
83 
88  inline bool BatchPredictionNameHasBeenSet() const { return m_batchPredictionNameHasBeenSet; }
89 
94  inline void SetBatchPredictionName(const Aws::String& value) { m_batchPredictionNameHasBeenSet = true; m_batchPredictionName = value; }
95 
100  inline void SetBatchPredictionName(Aws::String&& value) { m_batchPredictionNameHasBeenSet = true; m_batchPredictionName = std::move(value); }
101 
106  inline void SetBatchPredictionName(const char* value) { m_batchPredictionNameHasBeenSet = true; m_batchPredictionName.assign(value); }
107 
112  inline UpdateBatchPredictionRequest& WithBatchPredictionName(const Aws::String& value) { SetBatchPredictionName(value); return *this;}
113 
118  inline UpdateBatchPredictionRequest& WithBatchPredictionName(Aws::String&& value) { SetBatchPredictionName(std::move(value)); return *this;}
119 
124  inline UpdateBatchPredictionRequest& WithBatchPredictionName(const char* value) { SetBatchPredictionName(value); return *this;}
125 
126  private:
127 
128  Aws::String m_batchPredictionId;
129  bool m_batchPredictionIdHasBeenSet;
130 
131  Aws::String m_batchPredictionName;
132  bool m_batchPredictionNameHasBeenSet;
133  };
134 
135 } // namespace Model
136 } // namespace MachineLearning
137 } // namespace Aws
Aws::MachineLearning::Model::UpdateBatchPredictionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::MachineLearning::Model::UpdateBatchPredictionRequest::WithBatchPredictionName
UpdateBatchPredictionRequest & WithBatchPredictionName(const Aws::String &value)
Definition: UpdateBatchPredictionRequest.h:112
Aws::MachineLearning::Model::UpdateBatchPredictionRequest::SetBatchPredictionId
void SetBatchPredictionId(const Aws::String &value)
Definition: UpdateBatchPredictionRequest.h:50
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
MachineLearning_EXPORTS.h
Aws::MachineLearning::Model::UpdateBatchPredictionRequest::WithBatchPredictionName
UpdateBatchPredictionRequest & WithBatchPredictionName(const char *value)
Definition: UpdateBatchPredictionRequest.h:124
Aws::MachineLearning::Model::UpdateBatchPredictionRequest::SetBatchPredictionId
void SetBatchPredictionId(const char *value)
Definition: UpdateBatchPredictionRequest.h:60
Aws::MachineLearning::Model::UpdateBatchPredictionRequest::GetBatchPredictionId
const Aws::String & GetBatchPredictionId() const
Definition: UpdateBatchPredictionRequest.h:40
Aws::MachineLearning::Model::UpdateBatchPredictionRequest
Definition: UpdateBatchPredictionRequest.h:22
Aws::MachineLearning::Model::UpdateBatchPredictionRequest::WithBatchPredictionId
UpdateBatchPredictionRequest & WithBatchPredictionId(const char *value)
Definition: UpdateBatchPredictionRequest.h:75
Aws::MachineLearning::Model::UpdateBatchPredictionRequest::SetBatchPredictionId
void SetBatchPredictionId(Aws::String &&value)
Definition: UpdateBatchPredictionRequest.h:55
Aws::MachineLearning::Model::UpdateBatchPredictionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateBatchPredictionRequest.h:30
AWS_MACHINELEARNING_API
#define AWS_MACHINELEARNING_API
Definition: MachineLearning_EXPORTS.h:28
Aws::MachineLearning::Model::UpdateBatchPredictionRequest::WithBatchPredictionId
UpdateBatchPredictionRequest & WithBatchPredictionId(const Aws::String &value)
Definition: UpdateBatchPredictionRequest.h:65
Aws::MachineLearning::Model::UpdateBatchPredictionRequest::SetBatchPredictionName
void SetBatchPredictionName(const Aws::String &value)
Definition: UpdateBatchPredictionRequest.h:94
AWSString.h
Aws::MachineLearning::Model::UpdateBatchPredictionRequest::SetBatchPredictionName
void SetBatchPredictionName(const char *value)
Definition: UpdateBatchPredictionRequest.h:106
Aws::MachineLearning::Model::UpdateBatchPredictionRequest::SetBatchPredictionName
void SetBatchPredictionName(Aws::String &&value)
Definition: UpdateBatchPredictionRequest.h:100
MachineLearningRequest.h
Aws::MachineLearning::Model::UpdateBatchPredictionRequest::UpdateBatchPredictionRequest
UpdateBatchPredictionRequest()
Aws::MachineLearning::MachineLearningRequest
Definition: MachineLearningRequest.h:17
Aws::MachineLearning::Model::UpdateBatchPredictionRequest::WithBatchPredictionId
UpdateBatchPredictionRequest & WithBatchPredictionId(Aws::String &&value)
Definition: UpdateBatchPredictionRequest.h:70
Aws
Definition: AccessManagementClient.h:15
Aws::MachineLearning::Model::UpdateBatchPredictionRequest::BatchPredictionNameHasBeenSet
bool BatchPredictionNameHasBeenSet() const
Definition: UpdateBatchPredictionRequest.h:88
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MachineLearning::Model::UpdateBatchPredictionRequest::WithBatchPredictionName
UpdateBatchPredictionRequest & WithBatchPredictionName(Aws::String &&value)
Definition: UpdateBatchPredictionRequest.h:118
Aws::MachineLearning::Model::UpdateBatchPredictionRequest::GetBatchPredictionName
const Aws::String & GetBatchPredictionName() const
Definition: UpdateBatchPredictionRequest.h:82
Aws::MachineLearning::Model::UpdateBatchPredictionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MachineLearning::Model::UpdateBatchPredictionRequest::BatchPredictionIdHasBeenSet
bool BatchPredictionIdHasBeenSet() const
Definition: UpdateBatchPredictionRequest.h:45