AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
BatchSegmentJobSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/personalize/Personalize_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Personalize {
21namespace Model {
22
34 public:
35 AWS_PERSONALIZE_API BatchSegmentJobSummary() = default;
36 AWS_PERSONALIZE_API BatchSegmentJobSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetBatchSegmentJobArn() const { return m_batchSegmentJobArn; }
45 inline bool BatchSegmentJobArnHasBeenSet() const { return m_batchSegmentJobArnHasBeenSet; }
46 template <typename BatchSegmentJobArnT = Aws::String>
47 void SetBatchSegmentJobArn(BatchSegmentJobArnT&& value) {
48 m_batchSegmentJobArnHasBeenSet = true;
49 m_batchSegmentJobArn = std::forward<BatchSegmentJobArnT>(value);
50 }
51 template <typename BatchSegmentJobArnT = Aws::String>
52 BatchSegmentJobSummary& WithBatchSegmentJobArn(BatchSegmentJobArnT&& value) {
53 SetBatchSegmentJobArn(std::forward<BatchSegmentJobArnT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetJobName() const { return m_jobName; }
63 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
64 template <typename JobNameT = Aws::String>
65 void SetJobName(JobNameT&& value) {
66 m_jobNameHasBeenSet = true;
67 m_jobName = std::forward<JobNameT>(value);
68 }
69 template <typename JobNameT = Aws::String>
71 SetJobName(std::forward<JobNameT>(value));
72 return *this;
73 }
75
77
82 inline const Aws::String& GetStatus() const { return m_status; }
83 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
84 template <typename StatusT = Aws::String>
85 void SetStatus(StatusT&& value) {
86 m_statusHasBeenSet = true;
87 m_status = std::forward<StatusT>(value);
88 }
89 template <typename StatusT = Aws::String>
91 SetStatus(std::forward<StatusT>(value));
92 return *this;
93 }
95
97
100 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
101 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
102 template <typename CreationDateTimeT = Aws::Utils::DateTime>
103 void SetCreationDateTime(CreationDateTimeT&& value) {
104 m_creationDateTimeHasBeenSet = true;
105 m_creationDateTime = std::forward<CreationDateTimeT>(value);
106 }
107 template <typename CreationDateTimeT = Aws::Utils::DateTime>
108 BatchSegmentJobSummary& WithCreationDateTime(CreationDateTimeT&& value) {
109 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
110 return *this;
111 }
113
115
118 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
119 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
120 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
121 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
122 m_lastUpdatedDateTimeHasBeenSet = true;
123 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
124 }
125 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
126 BatchSegmentJobSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
127 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
128 return *this;
129 }
131
133
136 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
137 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
138 template <typename FailureReasonT = Aws::String>
139 void SetFailureReason(FailureReasonT&& value) {
140 m_failureReasonHasBeenSet = true;
141 m_failureReason = std::forward<FailureReasonT>(value);
142 }
143 template <typename FailureReasonT = Aws::String>
144 BatchSegmentJobSummary& WithFailureReason(FailureReasonT&& value) {
145 SetFailureReason(std::forward<FailureReasonT>(value));
146 return *this;
147 }
149
151
155 inline const Aws::String& GetSolutionVersionArn() const { return m_solutionVersionArn; }
156 inline bool SolutionVersionArnHasBeenSet() const { return m_solutionVersionArnHasBeenSet; }
157 template <typename SolutionVersionArnT = Aws::String>
158 void SetSolutionVersionArn(SolutionVersionArnT&& value) {
159 m_solutionVersionArnHasBeenSet = true;
160 m_solutionVersionArn = std::forward<SolutionVersionArnT>(value);
161 }
162 template <typename SolutionVersionArnT = Aws::String>
163 BatchSegmentJobSummary& WithSolutionVersionArn(SolutionVersionArnT&& value) {
164 SetSolutionVersionArn(std::forward<SolutionVersionArnT>(value));
165 return *this;
166 }
168 private:
169 Aws::String m_batchSegmentJobArn;
170
171 Aws::String m_jobName;
172
173 Aws::String m_status;
174
175 Aws::Utils::DateTime m_creationDateTime{};
176
177 Aws::Utils::DateTime m_lastUpdatedDateTime{};
178
179 Aws::String m_failureReason;
180
181 Aws::String m_solutionVersionArn;
182 bool m_batchSegmentJobArnHasBeenSet = false;
183 bool m_jobNameHasBeenSet = false;
184 bool m_statusHasBeenSet = false;
185 bool m_creationDateTimeHasBeenSet = false;
186 bool m_lastUpdatedDateTimeHasBeenSet = false;
187 bool m_failureReasonHasBeenSet = false;
188 bool m_solutionVersionArnHasBeenSet = false;
189};
190
191} // namespace Model
192} // namespace Personalize
193} // namespace Aws
AWS_PERSONALIZE_API BatchSegmentJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBatchSegmentJobArn(BatchSegmentJobArnT &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
BatchSegmentJobSummary & WithBatchSegmentJobArn(BatchSegmentJobArnT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
BatchSegmentJobSummary & WithStatus(StatusT &&value)
AWS_PERSONALIZE_API BatchSegmentJobSummary()=default
void SetSolutionVersionArn(SolutionVersionArnT &&value)
BatchSegmentJobSummary & WithSolutionVersionArn(SolutionVersionArnT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
AWS_PERSONALIZE_API BatchSegmentJobSummary(Aws::Utils::Json::JsonView jsonValue)
BatchSegmentJobSummary & WithFailureReason(FailureReasonT &&value)
BatchSegmentJobSummary & WithJobName(JobNameT &&value)
BatchSegmentJobSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
BatchSegmentJobSummary & WithCreationDateTime(CreationDateTimeT &&value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue