AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchSegmentJob.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/personalize/model/BatchSegmentJobInput.h>
10#include <aws/personalize/model/BatchSegmentJobOutput.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Personalize
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_PERSONALIZE_API BatchSegmentJob();
38 AWS_PERSONALIZE_API BatchSegmentJob(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PERSONALIZE_API BatchSegmentJob& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetJobName() const{ return m_jobName; }
48 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
49 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
50 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
51 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
52 inline BatchSegmentJob& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
53 inline BatchSegmentJob& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
54 inline BatchSegmentJob& WithJobName(const char* value) { SetJobName(value); return *this;}
56
58
61 inline const Aws::String& GetBatchSegmentJobArn() const{ return m_batchSegmentJobArn; }
62 inline bool BatchSegmentJobArnHasBeenSet() const { return m_batchSegmentJobArnHasBeenSet; }
63 inline void SetBatchSegmentJobArn(const Aws::String& value) { m_batchSegmentJobArnHasBeenSet = true; m_batchSegmentJobArn = value; }
64 inline void SetBatchSegmentJobArn(Aws::String&& value) { m_batchSegmentJobArnHasBeenSet = true; m_batchSegmentJobArn = std::move(value); }
65 inline void SetBatchSegmentJobArn(const char* value) { m_batchSegmentJobArnHasBeenSet = true; m_batchSegmentJobArn.assign(value); }
66 inline BatchSegmentJob& WithBatchSegmentJobArn(const Aws::String& value) { SetBatchSegmentJobArn(value); return *this;}
67 inline BatchSegmentJob& WithBatchSegmentJobArn(Aws::String&& value) { SetBatchSegmentJobArn(std::move(value)); return *this;}
68 inline BatchSegmentJob& WithBatchSegmentJobArn(const char* value) { SetBatchSegmentJobArn(value); return *this;}
70
72
75 inline const Aws::String& GetFilterArn() const{ return m_filterArn; }
76 inline bool FilterArnHasBeenSet() const { return m_filterArnHasBeenSet; }
77 inline void SetFilterArn(const Aws::String& value) { m_filterArnHasBeenSet = true; m_filterArn = value; }
78 inline void SetFilterArn(Aws::String&& value) { m_filterArnHasBeenSet = true; m_filterArn = std::move(value); }
79 inline void SetFilterArn(const char* value) { m_filterArnHasBeenSet = true; m_filterArn.assign(value); }
80 inline BatchSegmentJob& WithFilterArn(const Aws::String& value) { SetFilterArn(value); return *this;}
81 inline BatchSegmentJob& WithFilterArn(Aws::String&& value) { SetFilterArn(std::move(value)); return *this;}
82 inline BatchSegmentJob& WithFilterArn(const char* value) { SetFilterArn(value); return *this;}
84
86
89 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
90 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
91 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
92 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
93 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
94 inline BatchSegmentJob& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
95 inline BatchSegmentJob& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
96 inline BatchSegmentJob& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
98
100
104 inline const Aws::String& GetSolutionVersionArn() const{ return m_solutionVersionArn; }
105 inline bool SolutionVersionArnHasBeenSet() const { return m_solutionVersionArnHasBeenSet; }
106 inline void SetSolutionVersionArn(const Aws::String& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = value; }
107 inline void SetSolutionVersionArn(Aws::String&& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = std::move(value); }
108 inline void SetSolutionVersionArn(const char* value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn.assign(value); }
109 inline BatchSegmentJob& WithSolutionVersionArn(const Aws::String& value) { SetSolutionVersionArn(value); return *this;}
110 inline BatchSegmentJob& WithSolutionVersionArn(Aws::String&& value) { SetSolutionVersionArn(std::move(value)); return *this;}
111 inline BatchSegmentJob& WithSolutionVersionArn(const char* value) { SetSolutionVersionArn(value); return *this;}
113
115
119 inline int GetNumResults() const{ return m_numResults; }
120 inline bool NumResultsHasBeenSet() const { return m_numResultsHasBeenSet; }
121 inline void SetNumResults(int value) { m_numResultsHasBeenSet = true; m_numResults = value; }
122 inline BatchSegmentJob& WithNumResults(int value) { SetNumResults(value); return *this;}
124
126
130 inline const BatchSegmentJobInput& GetJobInput() const{ return m_jobInput; }
131 inline bool JobInputHasBeenSet() const { return m_jobInputHasBeenSet; }
132 inline void SetJobInput(const BatchSegmentJobInput& value) { m_jobInputHasBeenSet = true; m_jobInput = value; }
133 inline void SetJobInput(BatchSegmentJobInput&& value) { m_jobInputHasBeenSet = true; m_jobInput = std::move(value); }
134 inline BatchSegmentJob& WithJobInput(const BatchSegmentJobInput& value) { SetJobInput(value); return *this;}
135 inline BatchSegmentJob& WithJobInput(BatchSegmentJobInput&& value) { SetJobInput(std::move(value)); return *this;}
137
139
143 inline const BatchSegmentJobOutput& GetJobOutput() const{ return m_jobOutput; }
144 inline bool JobOutputHasBeenSet() const { return m_jobOutputHasBeenSet; }
145 inline void SetJobOutput(const BatchSegmentJobOutput& value) { m_jobOutputHasBeenSet = true; m_jobOutput = value; }
146 inline void SetJobOutput(BatchSegmentJobOutput&& value) { m_jobOutputHasBeenSet = true; m_jobOutput = std::move(value); }
147 inline BatchSegmentJob& WithJobOutput(const BatchSegmentJobOutput& value) { SetJobOutput(value); return *this;}
148 inline BatchSegmentJob& WithJobOutput(BatchSegmentJobOutput&& value) { SetJobOutput(std::move(value)); return *this;}
150
152
156 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
157 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
158 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
159 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
160 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
161 inline BatchSegmentJob& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
162 inline BatchSegmentJob& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
163 inline BatchSegmentJob& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
165
167
172 inline const Aws::String& GetStatus() const{ return m_status; }
173 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
174 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
175 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
176 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
177 inline BatchSegmentJob& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
178 inline BatchSegmentJob& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
179 inline BatchSegmentJob& WithStatus(const char* value) { SetStatus(value); return *this;}
181
183
186 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
187 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
188 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
189 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
191 inline BatchSegmentJob& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
193
195
198 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
199 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
200 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
201 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
203 inline BatchSegmentJob& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
205 private:
206
207 Aws::String m_jobName;
208 bool m_jobNameHasBeenSet = false;
209
210 Aws::String m_batchSegmentJobArn;
211 bool m_batchSegmentJobArnHasBeenSet = false;
212
213 Aws::String m_filterArn;
214 bool m_filterArnHasBeenSet = false;
215
216 Aws::String m_failureReason;
217 bool m_failureReasonHasBeenSet = false;
218
219 Aws::String m_solutionVersionArn;
220 bool m_solutionVersionArnHasBeenSet = false;
221
222 int m_numResults;
223 bool m_numResultsHasBeenSet = false;
224
225 BatchSegmentJobInput m_jobInput;
226 bool m_jobInputHasBeenSet = false;
227
228 BatchSegmentJobOutput m_jobOutput;
229 bool m_jobOutputHasBeenSet = false;
230
231 Aws::String m_roleArn;
232 bool m_roleArnHasBeenSet = false;
233
234 Aws::String m_status;
235 bool m_statusHasBeenSet = false;
236
237 Aws::Utils::DateTime m_creationDateTime;
238 bool m_creationDateTimeHasBeenSet = false;
239
240 Aws::Utils::DateTime m_lastUpdatedDateTime;
241 bool m_lastUpdatedDateTimeHasBeenSet = false;
242 };
243
244} // namespace Model
245} // namespace Personalize
246} // namespace Aws
BatchSegmentJob & WithFilterArn(Aws::String &&value)
AWS_PERSONALIZE_API BatchSegmentJob(Aws::Utils::Json::JsonView jsonValue)
BatchSegmentJob & WithRoleArn(Aws::String &&value)
BatchSegmentJob & WithJobInput(const BatchSegmentJobInput &value)
BatchSegmentJob & WithBatchSegmentJobArn(const char *value)
BatchSegmentJob & WithJobName(const char *value)
BatchSegmentJob & WithSolutionVersionArn(const Aws::String &value)
BatchSegmentJob & WithCreationDateTime(Aws::Utils::DateTime &&value)
BatchSegmentJob & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
void SetSolutionVersionArn(const char *value)
BatchSegmentJob & WithJobInput(BatchSegmentJobInput &&value)
void SetBatchSegmentJobArn(const char *value)
void SetJobOutput(const BatchSegmentJobOutput &value)
BatchSegmentJob & WithStatus(const char *value)
BatchSegmentJob & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
const Aws::String & GetSolutionVersionArn() const
const Aws::Utils::DateTime & GetCreationDateTime() const
BatchSegmentJob & WithFilterArn(const Aws::String &value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
BatchSegmentJob & WithJobOutput(const BatchSegmentJobOutput &value)
const Aws::String & GetFilterArn() const
BatchSegmentJob & WithNumResults(int value)
BatchSegmentJob & WithFilterArn(const char *value)
void SetRoleArn(const Aws::String &value)
BatchSegmentJob & WithStatus(Aws::String &&value)
BatchSegmentJob & WithFailureReason(const char *value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
void SetJobInput(BatchSegmentJobInput &&value)
const Aws::String & GetRoleArn() const
const BatchSegmentJobOutput & GetJobOutput() const
BatchSegmentJob & WithSolutionVersionArn(Aws::String &&value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
BatchSegmentJob & WithBatchSegmentJobArn(Aws::String &&value)
void SetSolutionVersionArn(const Aws::String &value)
AWS_PERSONALIZE_API BatchSegmentJob & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchSegmentJob & WithRoleArn(const Aws::String &value)
const Aws::String & GetJobName() const
void SetFailureReason(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
void SetStatus(const Aws::String &value)
void SetBatchSegmentJobArn(const Aws::String &value)
BatchSegmentJob & WithJobName(const Aws::String &value)
const Aws::String & GetFailureReason() const
void SetJobInput(const BatchSegmentJobInput &value)
BatchSegmentJob & WithStatus(const Aws::String &value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
BatchSegmentJob & WithBatchSegmentJobArn(const Aws::String &value)
void SetBatchSegmentJobArn(Aws::String &&value)
void SetJobName(const Aws::String &value)
BatchSegmentJob & WithJobName(Aws::String &&value)
BatchSegmentJob & WithFailureReason(const Aws::String &value)
BatchSegmentJob & WithCreationDateTime(const Aws::Utils::DateTime &value)
void SetSolutionVersionArn(Aws::String &&value)
BatchSegmentJob & WithRoleArn(const char *value)
void SetJobOutput(BatchSegmentJobOutput &&value)
BatchSegmentJob & WithJobOutput(BatchSegmentJobOutput &&value)
const Aws::String & GetBatchSegmentJobArn() const
const Aws::String & GetStatus() const
BatchSegmentJob & WithFailureReason(Aws::String &&value)
BatchSegmentJob & WithSolutionVersionArn(const char *value)
const BatchSegmentJobInput & GetJobInput() const
void SetFilterArn(const Aws::String &value)
void SetFailureReason(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue