AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateBatchPredictionRequest.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 CreateBatchPredictionRequest();
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 "CreateBatchPrediction"; }
31
32 AWS_MACHINELEARNING_API Aws::String SerializePayload() const override;
33
34 AWS_MACHINELEARNING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
42 inline const Aws::String& GetBatchPredictionId() const{ return m_batchPredictionId; }
43 inline bool BatchPredictionIdHasBeenSet() const { return m_batchPredictionIdHasBeenSet; }
44 inline void SetBatchPredictionId(const Aws::String& value) { m_batchPredictionIdHasBeenSet = true; m_batchPredictionId = value; }
45 inline void SetBatchPredictionId(Aws::String&& value) { m_batchPredictionIdHasBeenSet = true; m_batchPredictionId = std::move(value); }
46 inline void SetBatchPredictionId(const char* value) { m_batchPredictionIdHasBeenSet = true; m_batchPredictionId.assign(value); }
48 inline CreateBatchPredictionRequest& WithBatchPredictionId(Aws::String&& value) { SetBatchPredictionId(std::move(value)); return *this;}
49 inline CreateBatchPredictionRequest& WithBatchPredictionId(const char* value) { SetBatchPredictionId(value); return *this;}
51
53
57 inline const Aws::String& GetBatchPredictionName() const{ return m_batchPredictionName; }
58 inline bool BatchPredictionNameHasBeenSet() const { return m_batchPredictionNameHasBeenSet; }
59 inline void SetBatchPredictionName(const Aws::String& value) { m_batchPredictionNameHasBeenSet = true; m_batchPredictionName = value; }
60 inline void SetBatchPredictionName(Aws::String&& value) { m_batchPredictionNameHasBeenSet = true; m_batchPredictionName = std::move(value); }
61 inline void SetBatchPredictionName(const char* value) { m_batchPredictionNameHasBeenSet = true; m_batchPredictionName.assign(value); }
64 inline CreateBatchPredictionRequest& WithBatchPredictionName(const char* value) { SetBatchPredictionName(value); return *this;}
66
68
72 inline const Aws::String& GetMLModelId() const{ return m_mLModelId; }
73 inline bool MLModelIdHasBeenSet() const { return m_mLModelIdHasBeenSet; }
74 inline void SetMLModelId(const Aws::String& value) { m_mLModelIdHasBeenSet = true; m_mLModelId = value; }
75 inline void SetMLModelId(Aws::String&& value) { m_mLModelIdHasBeenSet = true; m_mLModelId = std::move(value); }
76 inline void SetMLModelId(const char* value) { m_mLModelIdHasBeenSet = true; m_mLModelId.assign(value); }
77 inline CreateBatchPredictionRequest& WithMLModelId(const Aws::String& value) { SetMLModelId(value); return *this;}
78 inline CreateBatchPredictionRequest& WithMLModelId(Aws::String&& value) { SetMLModelId(std::move(value)); return *this;}
79 inline CreateBatchPredictionRequest& WithMLModelId(const char* value) { SetMLModelId(value); return *this;}
81
83
87 inline const Aws::String& GetBatchPredictionDataSourceId() const{ return m_batchPredictionDataSourceId; }
88 inline bool BatchPredictionDataSourceIdHasBeenSet() const { return m_batchPredictionDataSourceIdHasBeenSet; }
89 inline void SetBatchPredictionDataSourceId(const Aws::String& value) { m_batchPredictionDataSourceIdHasBeenSet = true; m_batchPredictionDataSourceId = value; }
90 inline void SetBatchPredictionDataSourceId(Aws::String&& value) { m_batchPredictionDataSourceIdHasBeenSet = true; m_batchPredictionDataSourceId = std::move(value); }
91 inline void SetBatchPredictionDataSourceId(const char* value) { m_batchPredictionDataSourceIdHasBeenSet = true; m_batchPredictionDataSourceId.assign(value); }
96
98
107 inline const Aws::String& GetOutputUri() const{ return m_outputUri; }
108 inline bool OutputUriHasBeenSet() const { return m_outputUriHasBeenSet; }
109 inline void SetOutputUri(const Aws::String& value) { m_outputUriHasBeenSet = true; m_outputUri = value; }
110 inline void SetOutputUri(Aws::String&& value) { m_outputUriHasBeenSet = true; m_outputUri = std::move(value); }
111 inline void SetOutputUri(const char* value) { m_outputUriHasBeenSet = true; m_outputUri.assign(value); }
112 inline CreateBatchPredictionRequest& WithOutputUri(const Aws::String& value) { SetOutputUri(value); return *this;}
113 inline CreateBatchPredictionRequest& WithOutputUri(Aws::String&& value) { SetOutputUri(std::move(value)); return *this;}
114 inline CreateBatchPredictionRequest& WithOutputUri(const char* value) { SetOutputUri(value); return *this;}
116 private:
117
118 Aws::String m_batchPredictionId;
119 bool m_batchPredictionIdHasBeenSet = false;
120
121 Aws::String m_batchPredictionName;
122 bool m_batchPredictionNameHasBeenSet = false;
123
124 Aws::String m_mLModelId;
125 bool m_mLModelIdHasBeenSet = false;
126
127 Aws::String m_batchPredictionDataSourceId;
128 bool m_batchPredictionDataSourceIdHasBeenSet = false;
129
130 Aws::String m_outputUri;
131 bool m_outputUriHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace MachineLearning
136} // namespace Aws
CreateBatchPredictionRequest & WithBatchPredictionId(const char *value)
CreateBatchPredictionRequest & WithOutputUri(Aws::String &&value)
CreateBatchPredictionRequest & WithBatchPredictionName(const Aws::String &value)
CreateBatchPredictionRequest & WithOutputUri(const Aws::String &value)
CreateBatchPredictionRequest & WithBatchPredictionDataSourceId(const char *value)
AWS_MACHINELEARNING_API Aws::String SerializePayload() const override
CreateBatchPredictionRequest & WithBatchPredictionId(Aws::String &&value)
CreateBatchPredictionRequest & WithBatchPredictionName(const char *value)
CreateBatchPredictionRequest & WithMLModelId(const char *value)
CreateBatchPredictionRequest & WithBatchPredictionId(const Aws::String &value)
CreateBatchPredictionRequest & WithOutputUri(const char *value)
CreateBatchPredictionRequest & WithBatchPredictionDataSourceId(Aws::String &&value)
CreateBatchPredictionRequest & WithMLModelId(Aws::String &&value)
CreateBatchPredictionRequest & WithBatchPredictionName(Aws::String &&value)
CreateBatchPredictionRequest & WithMLModelId(const Aws::String &value)
CreateBatchPredictionRequest & WithBatchPredictionDataSourceId(const Aws::String &value)
AWS_MACHINELEARNING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String