AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateBatchPredictionJobRequest.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/frauddetector/FraudDetectorRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/frauddetector/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace FraudDetector
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_FRAUDDETECTOR_API CreateBatchPredictionJobRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateBatchPredictionJob"; }
33
34 AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override;
35
36 AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetJobId() const { return m_jobId; }
44 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
45 template<typename JobIdT = Aws::String>
46 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
47 template<typename JobIdT = Aws::String>
48 CreateBatchPredictionJobRequest& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetInputPath() const { return m_inputPath; }
56 inline bool InputPathHasBeenSet() const { return m_inputPathHasBeenSet; }
57 template<typename InputPathT = Aws::String>
58 void SetInputPath(InputPathT&& value) { m_inputPathHasBeenSet = true; m_inputPath = std::forward<InputPathT>(value); }
59 template<typename InputPathT = Aws::String>
60 CreateBatchPredictionJobRequest& WithInputPath(InputPathT&& value) { SetInputPath(std::forward<InputPathT>(value)); return *this;}
62
64
67 inline const Aws::String& GetOutputPath() const { return m_outputPath; }
68 inline bool OutputPathHasBeenSet() const { return m_outputPathHasBeenSet; }
69 template<typename OutputPathT = Aws::String>
70 void SetOutputPath(OutputPathT&& value) { m_outputPathHasBeenSet = true; m_outputPath = std::forward<OutputPathT>(value); }
71 template<typename OutputPathT = Aws::String>
72 CreateBatchPredictionJobRequest& WithOutputPath(OutputPathT&& value) { SetOutputPath(std::forward<OutputPathT>(value)); return *this;}
74
76
79 inline const Aws::String& GetEventTypeName() const { return m_eventTypeName; }
80 inline bool EventTypeNameHasBeenSet() const { return m_eventTypeNameHasBeenSet; }
81 template<typename EventTypeNameT = Aws::String>
82 void SetEventTypeName(EventTypeNameT&& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = std::forward<EventTypeNameT>(value); }
83 template<typename EventTypeNameT = Aws::String>
84 CreateBatchPredictionJobRequest& WithEventTypeName(EventTypeNameT&& value) { SetEventTypeName(std::forward<EventTypeNameT>(value)); return *this;}
86
88
91 inline const Aws::String& GetDetectorName() const { return m_detectorName; }
92 inline bool DetectorNameHasBeenSet() const { return m_detectorNameHasBeenSet; }
93 template<typename DetectorNameT = Aws::String>
94 void SetDetectorName(DetectorNameT&& value) { m_detectorNameHasBeenSet = true; m_detectorName = std::forward<DetectorNameT>(value); }
95 template<typename DetectorNameT = Aws::String>
96 CreateBatchPredictionJobRequest& WithDetectorName(DetectorNameT&& value) { SetDetectorName(std::forward<DetectorNameT>(value)); return *this;}
98
100
103 inline const Aws::String& GetDetectorVersion() const { return m_detectorVersion; }
104 inline bool DetectorVersionHasBeenSet() const { return m_detectorVersionHasBeenSet; }
105 template<typename DetectorVersionT = Aws::String>
106 void SetDetectorVersion(DetectorVersionT&& value) { m_detectorVersionHasBeenSet = true; m_detectorVersion = std::forward<DetectorVersionT>(value); }
107 template<typename DetectorVersionT = Aws::String>
108 CreateBatchPredictionJobRequest& WithDetectorVersion(DetectorVersionT&& value) { SetDetectorVersion(std::forward<DetectorVersionT>(value)); return *this;}
110
112
119 inline const Aws::String& GetIamRoleArn() const { return m_iamRoleArn; }
120 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
121 template<typename IamRoleArnT = Aws::String>
122 void SetIamRoleArn(IamRoleArnT&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::forward<IamRoleArnT>(value); }
123 template<typename IamRoleArnT = Aws::String>
124 CreateBatchPredictionJobRequest& WithIamRoleArn(IamRoleArnT&& value) { SetIamRoleArn(std::forward<IamRoleArnT>(value)); return *this;}
126
128
131 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
132 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
133 template<typename TagsT = Aws::Vector<Tag>>
134 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
135 template<typename TagsT = Aws::Vector<Tag>>
136 CreateBatchPredictionJobRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
137 template<typename TagsT = Tag>
138 CreateBatchPredictionJobRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
140 private:
141
142 Aws::String m_jobId;
143 bool m_jobIdHasBeenSet = false;
144
145 Aws::String m_inputPath;
146 bool m_inputPathHasBeenSet = false;
147
148 Aws::String m_outputPath;
149 bool m_outputPathHasBeenSet = false;
150
151 Aws::String m_eventTypeName;
152 bool m_eventTypeNameHasBeenSet = false;
153
154 Aws::String m_detectorName;
155 bool m_detectorNameHasBeenSet = false;
156
157 Aws::String m_detectorVersion;
158 bool m_detectorVersionHasBeenSet = false;
159
160 Aws::String m_iamRoleArn;
161 bool m_iamRoleArnHasBeenSet = false;
162
163 Aws::Vector<Tag> m_tags;
164 bool m_tagsHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace FraudDetector
169} // namespace Aws
CreateBatchPredictionJobRequest & WithDetectorVersion(DetectorVersionT &&value)
CreateBatchPredictionJobRequest & WithIamRoleArn(IamRoleArnT &&value)
AWS_FRAUDDETECTOR_API CreateBatchPredictionJobRequest()=default
CreateBatchPredictionJobRequest & WithEventTypeName(EventTypeNameT &&value)
CreateBatchPredictionJobRequest & WithDetectorName(DetectorNameT &&value)
AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateBatchPredictionJobRequest & WithJobId(JobIdT &&value)
CreateBatchPredictionJobRequest & WithOutputPath(OutputPathT &&value)
CreateBatchPredictionJobRequest & WithInputPath(InputPathT &&value)
AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector