AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename BatchPredictionIdT = Aws::String>
45 void SetBatchPredictionId(BatchPredictionIdT&& value) { m_batchPredictionIdHasBeenSet = true; m_batchPredictionId = std::forward<BatchPredictionIdT>(value); }
46 template<typename BatchPredictionIdT = Aws::String>
47 CreateBatchPredictionRequest& WithBatchPredictionId(BatchPredictionIdT&& value) { SetBatchPredictionId(std::forward<BatchPredictionIdT>(value)); return *this;}
49
51
55 inline const Aws::String& GetBatchPredictionName() const { return m_batchPredictionName; }
56 inline bool BatchPredictionNameHasBeenSet() const { return m_batchPredictionNameHasBeenSet; }
57 template<typename BatchPredictionNameT = Aws::String>
58 void SetBatchPredictionName(BatchPredictionNameT&& value) { m_batchPredictionNameHasBeenSet = true; m_batchPredictionName = std::forward<BatchPredictionNameT>(value); }
59 template<typename BatchPredictionNameT = Aws::String>
60 CreateBatchPredictionRequest& WithBatchPredictionName(BatchPredictionNameT&& value) { SetBatchPredictionName(std::forward<BatchPredictionNameT>(value)); return *this;}
62
64
68 inline const Aws::String& GetMLModelId() const { return m_mLModelId; }
69 inline bool MLModelIdHasBeenSet() const { return m_mLModelIdHasBeenSet; }
70 template<typename MLModelIdT = Aws::String>
71 void SetMLModelId(MLModelIdT&& value) { m_mLModelIdHasBeenSet = true; m_mLModelId = std::forward<MLModelIdT>(value); }
72 template<typename MLModelIdT = Aws::String>
73 CreateBatchPredictionRequest& WithMLModelId(MLModelIdT&& value) { SetMLModelId(std::forward<MLModelIdT>(value)); return *this;}
75
77
81 inline const Aws::String& GetBatchPredictionDataSourceId() const { return m_batchPredictionDataSourceId; }
82 inline bool BatchPredictionDataSourceIdHasBeenSet() const { return m_batchPredictionDataSourceIdHasBeenSet; }
83 template<typename BatchPredictionDataSourceIdT = Aws::String>
84 void SetBatchPredictionDataSourceId(BatchPredictionDataSourceIdT&& value) { m_batchPredictionDataSourceIdHasBeenSet = true; m_batchPredictionDataSourceId = std::forward<BatchPredictionDataSourceIdT>(value); }
85 template<typename BatchPredictionDataSourceIdT = Aws::String>
86 CreateBatchPredictionRequest& WithBatchPredictionDataSourceId(BatchPredictionDataSourceIdT&& value) { SetBatchPredictionDataSourceId(std::forward<BatchPredictionDataSourceIdT>(value)); return *this;}
88
90
99 inline const Aws::String& GetOutputUri() const { return m_outputUri; }
100 inline bool OutputUriHasBeenSet() const { return m_outputUriHasBeenSet; }
101 template<typename OutputUriT = Aws::String>
102 void SetOutputUri(OutputUriT&& value) { m_outputUriHasBeenSet = true; m_outputUri = std::forward<OutputUriT>(value); }
103 template<typename OutputUriT = Aws::String>
104 CreateBatchPredictionRequest& WithOutputUri(OutputUriT&& value) { SetOutputUri(std::forward<OutputUriT>(value)); return *this;}
106 private:
107
108 Aws::String m_batchPredictionId;
109 bool m_batchPredictionIdHasBeenSet = false;
110
111 Aws::String m_batchPredictionName;
112 bool m_batchPredictionNameHasBeenSet = false;
113
114 Aws::String m_mLModelId;
115 bool m_mLModelIdHasBeenSet = false;
116
117 Aws::String m_batchPredictionDataSourceId;
118 bool m_batchPredictionDataSourceIdHasBeenSet = false;
119
120 Aws::String m_outputUri;
121 bool m_outputUriHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace MachineLearning
126} // namespace Aws
CreateBatchPredictionRequest & WithBatchPredictionName(BatchPredictionNameT &&value)
AWS_MACHINELEARNING_API CreateBatchPredictionRequest()=default
CreateBatchPredictionRequest & WithMLModelId(MLModelIdT &&value)
AWS_MACHINELEARNING_API Aws::String SerializePayload() const override
CreateBatchPredictionRequest & WithBatchPredictionDataSourceId(BatchPredictionDataSourceIdT &&value)
void SetBatchPredictionDataSourceId(BatchPredictionDataSourceIdT &&value)
CreateBatchPredictionRequest & WithOutputUri(OutputUriT &&value)
CreateBatchPredictionRequest & WithBatchPredictionId(BatchPredictionIdT &&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