AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename JobNameT = Aws::String>
50 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
51 template<typename JobNameT = Aws::String>
52 BatchSegmentJob& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetBatchSegmentJobArn() const { return m_batchSegmentJobArn; }
60 inline bool BatchSegmentJobArnHasBeenSet() const { return m_batchSegmentJobArnHasBeenSet; }
61 template<typename BatchSegmentJobArnT = Aws::String>
62 void SetBatchSegmentJobArn(BatchSegmentJobArnT&& value) { m_batchSegmentJobArnHasBeenSet = true; m_batchSegmentJobArn = std::forward<BatchSegmentJobArnT>(value); }
63 template<typename BatchSegmentJobArnT = Aws::String>
64 BatchSegmentJob& WithBatchSegmentJobArn(BatchSegmentJobArnT&& value) { SetBatchSegmentJobArn(std::forward<BatchSegmentJobArnT>(value)); return *this;}
66
68
71 inline const Aws::String& GetFilterArn() const { return m_filterArn; }
72 inline bool FilterArnHasBeenSet() const { return m_filterArnHasBeenSet; }
73 template<typename FilterArnT = Aws::String>
74 void SetFilterArn(FilterArnT&& value) { m_filterArnHasBeenSet = true; m_filterArn = std::forward<FilterArnT>(value); }
75 template<typename FilterArnT = Aws::String>
76 BatchSegmentJob& WithFilterArn(FilterArnT&& value) { SetFilterArn(std::forward<FilterArnT>(value)); return *this;}
78
80
83 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
84 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
85 template<typename FailureReasonT = Aws::String>
86 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
87 template<typename FailureReasonT = Aws::String>
88 BatchSegmentJob& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
90
92
96 inline const Aws::String& GetSolutionVersionArn() const { return m_solutionVersionArn; }
97 inline bool SolutionVersionArnHasBeenSet() const { return m_solutionVersionArnHasBeenSet; }
98 template<typename SolutionVersionArnT = Aws::String>
99 void SetSolutionVersionArn(SolutionVersionArnT&& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = std::forward<SolutionVersionArnT>(value); }
100 template<typename SolutionVersionArnT = Aws::String>
101 BatchSegmentJob& WithSolutionVersionArn(SolutionVersionArnT&& value) { SetSolutionVersionArn(std::forward<SolutionVersionArnT>(value)); return *this;}
103
105
109 inline int GetNumResults() const { return m_numResults; }
110 inline bool NumResultsHasBeenSet() const { return m_numResultsHasBeenSet; }
111 inline void SetNumResults(int value) { m_numResultsHasBeenSet = true; m_numResults = value; }
112 inline BatchSegmentJob& WithNumResults(int value) { SetNumResults(value); return *this;}
114
116
120 inline const BatchSegmentJobInput& GetJobInput() const { return m_jobInput; }
121 inline bool JobInputHasBeenSet() const { return m_jobInputHasBeenSet; }
122 template<typename JobInputT = BatchSegmentJobInput>
123 void SetJobInput(JobInputT&& value) { m_jobInputHasBeenSet = true; m_jobInput = std::forward<JobInputT>(value); }
124 template<typename JobInputT = BatchSegmentJobInput>
125 BatchSegmentJob& WithJobInput(JobInputT&& value) { SetJobInput(std::forward<JobInputT>(value)); return *this;}
127
129
133 inline const BatchSegmentJobOutput& GetJobOutput() const { return m_jobOutput; }
134 inline bool JobOutputHasBeenSet() const { return m_jobOutputHasBeenSet; }
135 template<typename JobOutputT = BatchSegmentJobOutput>
136 void SetJobOutput(JobOutputT&& value) { m_jobOutputHasBeenSet = true; m_jobOutput = std::forward<JobOutputT>(value); }
137 template<typename JobOutputT = BatchSegmentJobOutput>
138 BatchSegmentJob& WithJobOutput(JobOutputT&& value) { SetJobOutput(std::forward<JobOutputT>(value)); return *this;}
140
142
146 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
147 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
148 template<typename RoleArnT = Aws::String>
149 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
150 template<typename RoleArnT = Aws::String>
151 BatchSegmentJob& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
153
155
160 inline const Aws::String& GetStatus() const { return m_status; }
161 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
162 template<typename StatusT = Aws::String>
163 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
164 template<typename StatusT = Aws::String>
165 BatchSegmentJob& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
167
169
172 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
173 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
174 template<typename CreationDateTimeT = Aws::Utils::DateTime>
175 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
176 template<typename CreationDateTimeT = Aws::Utils::DateTime>
177 BatchSegmentJob& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
179
181
184 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
185 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
186 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
187 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
188 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
189 BatchSegmentJob& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
191 private:
192
193 Aws::String m_jobName;
194 bool m_jobNameHasBeenSet = false;
195
196 Aws::String m_batchSegmentJobArn;
197 bool m_batchSegmentJobArnHasBeenSet = false;
198
199 Aws::String m_filterArn;
200 bool m_filterArnHasBeenSet = false;
201
202 Aws::String m_failureReason;
203 bool m_failureReasonHasBeenSet = false;
204
205 Aws::String m_solutionVersionArn;
206 bool m_solutionVersionArnHasBeenSet = false;
207
208 int m_numResults{0};
209 bool m_numResultsHasBeenSet = false;
210
211 BatchSegmentJobInput m_jobInput;
212 bool m_jobInputHasBeenSet = false;
213
214 BatchSegmentJobOutput m_jobOutput;
215 bool m_jobOutputHasBeenSet = false;
216
217 Aws::String m_roleArn;
218 bool m_roleArnHasBeenSet = false;
219
220 Aws::String m_status;
221 bool m_statusHasBeenSet = false;
222
223 Aws::Utils::DateTime m_creationDateTime{};
224 bool m_creationDateTimeHasBeenSet = false;
225
226 Aws::Utils::DateTime m_lastUpdatedDateTime{};
227 bool m_lastUpdatedDateTimeHasBeenSet = false;
228 };
229
230} // namespace Model
231} // namespace Personalize
232} // namespace Aws
AWS_PERSONALIZE_API BatchSegmentJob(Aws::Utils::Json::JsonView jsonValue)
BatchSegmentJob & WithRoleArn(RoleArnT &&value)
BatchSegmentJob & WithBatchSegmentJobArn(BatchSegmentJobArnT &&value)
BatchSegmentJob & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
void SetBatchSegmentJobArn(BatchSegmentJobArnT &&value)
BatchSegmentJob & WithJobInput(JobInputT &&value)
BatchSegmentJob & WithCreationDateTime(CreationDateTimeT &&value)
void SetSolutionVersionArn(SolutionVersionArnT &&value)
const Aws::String & GetSolutionVersionArn() const
BatchSegmentJob & WithFailureReason(FailureReasonT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
BatchSegmentJob & WithFilterArn(FilterArnT &&value)
BatchSegmentJob & WithJobOutput(JobOutputT &&value)
const Aws::String & GetFilterArn() const
BatchSegmentJob & WithNumResults(int value)
const Aws::String & GetRoleArn() const
BatchSegmentJob & WithJobName(JobNameT &&value)
void SetFailureReason(FailureReasonT &&value)
const BatchSegmentJobOutput & GetJobOutput() const
AWS_PERSONALIZE_API BatchSegmentJob & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetJobName() const
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
const Aws::String & GetFailureReason() const
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
BatchSegmentJob & WithStatus(StatusT &&value)
const Aws::String & GetBatchSegmentJobArn() const
BatchSegmentJob & WithSolutionVersionArn(SolutionVersionArnT &&value)
const Aws::String & GetStatus() const
const BatchSegmentJobInput & GetJobInput() const
AWS_PERSONALIZE_API BatchSegmentJob()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue