AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
46 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
47 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
48 inline CreateBatchPredictionJobRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
49 inline CreateBatchPredictionJobRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
50 inline CreateBatchPredictionJobRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
52
54
57 inline const Aws::String& GetInputPath() const{ return m_inputPath; }
58 inline bool InputPathHasBeenSet() const { return m_inputPathHasBeenSet; }
59 inline void SetInputPath(const Aws::String& value) { m_inputPathHasBeenSet = true; m_inputPath = value; }
60 inline void SetInputPath(Aws::String&& value) { m_inputPathHasBeenSet = true; m_inputPath = std::move(value); }
61 inline void SetInputPath(const char* value) { m_inputPathHasBeenSet = true; m_inputPath.assign(value); }
62 inline CreateBatchPredictionJobRequest& WithInputPath(const Aws::String& value) { SetInputPath(value); return *this;}
63 inline CreateBatchPredictionJobRequest& WithInputPath(Aws::String&& value) { SetInputPath(std::move(value)); return *this;}
64 inline CreateBatchPredictionJobRequest& WithInputPath(const char* value) { SetInputPath(value); return *this;}
66
68
71 inline const Aws::String& GetOutputPath() const{ return m_outputPath; }
72 inline bool OutputPathHasBeenSet() const { return m_outputPathHasBeenSet; }
73 inline void SetOutputPath(const Aws::String& value) { m_outputPathHasBeenSet = true; m_outputPath = value; }
74 inline void SetOutputPath(Aws::String&& value) { m_outputPathHasBeenSet = true; m_outputPath = std::move(value); }
75 inline void SetOutputPath(const char* value) { m_outputPathHasBeenSet = true; m_outputPath.assign(value); }
76 inline CreateBatchPredictionJobRequest& WithOutputPath(const Aws::String& value) { SetOutputPath(value); return *this;}
77 inline CreateBatchPredictionJobRequest& WithOutputPath(Aws::String&& value) { SetOutputPath(std::move(value)); return *this;}
78 inline CreateBatchPredictionJobRequest& WithOutputPath(const char* value) { SetOutputPath(value); return *this;}
80
82
85 inline const Aws::String& GetEventTypeName() const{ return m_eventTypeName; }
86 inline bool EventTypeNameHasBeenSet() const { return m_eventTypeNameHasBeenSet; }
87 inline void SetEventTypeName(const Aws::String& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = value; }
88 inline void SetEventTypeName(Aws::String&& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = std::move(value); }
89 inline void SetEventTypeName(const char* value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName.assign(value); }
91 inline CreateBatchPredictionJobRequest& WithEventTypeName(Aws::String&& value) { SetEventTypeName(std::move(value)); return *this;}
92 inline CreateBatchPredictionJobRequest& WithEventTypeName(const char* value) { SetEventTypeName(value); return *this;}
94
96
99 inline const Aws::String& GetDetectorName() const{ return m_detectorName; }
100 inline bool DetectorNameHasBeenSet() const { return m_detectorNameHasBeenSet; }
101 inline void SetDetectorName(const Aws::String& value) { m_detectorNameHasBeenSet = true; m_detectorName = value; }
102 inline void SetDetectorName(Aws::String&& value) { m_detectorNameHasBeenSet = true; m_detectorName = std::move(value); }
103 inline void SetDetectorName(const char* value) { m_detectorNameHasBeenSet = true; m_detectorName.assign(value); }
105 inline CreateBatchPredictionJobRequest& WithDetectorName(Aws::String&& value) { SetDetectorName(std::move(value)); return *this;}
106 inline CreateBatchPredictionJobRequest& WithDetectorName(const char* value) { SetDetectorName(value); return *this;}
108
110
113 inline const Aws::String& GetDetectorVersion() const{ return m_detectorVersion; }
114 inline bool DetectorVersionHasBeenSet() const { return m_detectorVersionHasBeenSet; }
115 inline void SetDetectorVersion(const Aws::String& value) { m_detectorVersionHasBeenSet = true; m_detectorVersion = value; }
116 inline void SetDetectorVersion(Aws::String&& value) { m_detectorVersionHasBeenSet = true; m_detectorVersion = std::move(value); }
117 inline void SetDetectorVersion(const char* value) { m_detectorVersionHasBeenSet = true; m_detectorVersion.assign(value); }
119 inline CreateBatchPredictionJobRequest& WithDetectorVersion(Aws::String&& value) { SetDetectorVersion(std::move(value)); return *this;}
120 inline CreateBatchPredictionJobRequest& WithDetectorVersion(const char* value) { SetDetectorVersion(value); return *this;}
122
124
131 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
132 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
133 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
134 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
135 inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
136 inline CreateBatchPredictionJobRequest& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
137 inline CreateBatchPredictionJobRequest& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
138 inline CreateBatchPredictionJobRequest& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
140
142
145 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
146 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
147 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
148 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
149 inline CreateBatchPredictionJobRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
150 inline CreateBatchPredictionJobRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
151 inline CreateBatchPredictionJobRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
152 inline CreateBatchPredictionJobRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
154 private:
155
156 Aws::String m_jobId;
157 bool m_jobIdHasBeenSet = false;
158
159 Aws::String m_inputPath;
160 bool m_inputPathHasBeenSet = false;
161
162 Aws::String m_outputPath;
163 bool m_outputPathHasBeenSet = false;
164
165 Aws::String m_eventTypeName;
166 bool m_eventTypeNameHasBeenSet = false;
167
168 Aws::String m_detectorName;
169 bool m_detectorNameHasBeenSet = false;
170
171 Aws::String m_detectorVersion;
172 bool m_detectorVersionHasBeenSet = false;
173
174 Aws::String m_iamRoleArn;
175 bool m_iamRoleArnHasBeenSet = false;
176
177 Aws::Vector<Tag> m_tags;
178 bool m_tagsHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace FraudDetector
183} // namespace Aws
CreateBatchPredictionJobRequest & WithInputPath(Aws::String &&value)
CreateBatchPredictionJobRequest & WithOutputPath(const Aws::String &value)
CreateBatchPredictionJobRequest & AddTags(const Tag &value)
CreateBatchPredictionJobRequest & WithIamRoleArn(const char *value)
CreateBatchPredictionJobRequest & WithDetectorVersion(const char *value)
CreateBatchPredictionJobRequest & WithDetectorVersion(Aws::String &&value)
CreateBatchPredictionJobRequest & WithOutputPath(const char *value)
CreateBatchPredictionJobRequest & WithIamRoleArn(Aws::String &&value)
CreateBatchPredictionJobRequest & WithOutputPath(Aws::String &&value)
CreateBatchPredictionJobRequest & WithJobId(const Aws::String &value)
CreateBatchPredictionJobRequest & WithEventTypeName(const char *value)
CreateBatchPredictionJobRequest & WithTags(const Aws::Vector< Tag > &value)
CreateBatchPredictionJobRequest & WithDetectorName(Aws::String &&value)
CreateBatchPredictionJobRequest & WithDetectorVersion(const Aws::String &value)
CreateBatchPredictionJobRequest & WithInputPath(const char *value)
CreateBatchPredictionJobRequest & WithTags(Aws::Vector< Tag > &&value)
CreateBatchPredictionJobRequest & WithIamRoleArn(const Aws::String &value)
AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateBatchPredictionJobRequest & WithJobId(Aws::String &&value)
CreateBatchPredictionJobRequest & WithInputPath(const Aws::String &value)
CreateBatchPredictionJobRequest & WithJobId(const char *value)
CreateBatchPredictionJobRequest & WithDetectorName(const Aws::String &value)
CreateBatchPredictionJobRequest & WithEventTypeName(const Aws::String &value)
CreateBatchPredictionJobRequest & WithDetectorName(const char *value)
CreateBatchPredictionJobRequest & WithEventTypeName(Aws::String &&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