AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
DataDeletionJobSummary.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
32 public:
33 AWS_PERSONALIZE_API DataDeletionJobSummary() = default;
34 AWS_PERSONALIZE_API DataDeletionJobSummary(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetDataDeletionJobArn() const { return m_dataDeletionJobArn; }
43 inline bool DataDeletionJobArnHasBeenSet() const { return m_dataDeletionJobArnHasBeenSet; }
44 template <typename DataDeletionJobArnT = Aws::String>
45 void SetDataDeletionJobArn(DataDeletionJobArnT&& value) {
46 m_dataDeletionJobArnHasBeenSet = true;
47 m_dataDeletionJobArn = std::forward<DataDeletionJobArnT>(value);
48 }
49 template <typename DataDeletionJobArnT = Aws::String>
50 DataDeletionJobSummary& WithDataDeletionJobArn(DataDeletionJobArnT&& value) {
51 SetDataDeletionJobArn(std::forward<DataDeletionJobArnT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetDatasetGroupArn() const { return m_datasetGroupArn; }
62 inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
63 template <typename DatasetGroupArnT = Aws::String>
64 void SetDatasetGroupArn(DatasetGroupArnT&& value) {
65 m_datasetGroupArnHasBeenSet = true;
66 m_datasetGroupArn = std::forward<DatasetGroupArnT>(value);
67 }
68 template <typename DatasetGroupArnT = Aws::String>
69 DataDeletionJobSummary& WithDatasetGroupArn(DatasetGroupArnT&& value) {
70 SetDatasetGroupArn(std::forward<DatasetGroupArnT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetJobName() const { return m_jobName; }
80 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
81 template <typename JobNameT = Aws::String>
82 void SetJobName(JobNameT&& value) {
83 m_jobNameHasBeenSet = true;
84 m_jobName = std::forward<JobNameT>(value);
85 }
86 template <typename JobNameT = Aws::String>
88 SetJobName(std::forward<JobNameT>(value));
89 return *this;
90 }
92
94
99 inline const Aws::String& GetStatus() const { return m_status; }
100 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
101 template <typename StatusT = Aws::String>
102 void SetStatus(StatusT&& value) {
103 m_statusHasBeenSet = true;
104 m_status = std::forward<StatusT>(value);
105 }
106 template <typename StatusT = Aws::String>
108 SetStatus(std::forward<StatusT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
118 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
119 template <typename CreationDateTimeT = Aws::Utils::DateTime>
120 void SetCreationDateTime(CreationDateTimeT&& value) {
121 m_creationDateTimeHasBeenSet = true;
122 m_creationDateTime = std::forward<CreationDateTimeT>(value);
123 }
124 template <typename CreationDateTimeT = Aws::Utils::DateTime>
125 DataDeletionJobSummary& WithCreationDateTime(CreationDateTimeT&& value) {
126 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
136 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
137 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
138 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
139 m_lastUpdatedDateTimeHasBeenSet = true;
140 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
141 }
142 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
143 DataDeletionJobSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
144 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
145 return *this;
146 }
148
150
153 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
154 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
155 template <typename FailureReasonT = Aws::String>
156 void SetFailureReason(FailureReasonT&& value) {
157 m_failureReasonHasBeenSet = true;
158 m_failureReason = std::forward<FailureReasonT>(value);
159 }
160 template <typename FailureReasonT = Aws::String>
161 DataDeletionJobSummary& WithFailureReason(FailureReasonT&& value) {
162 SetFailureReason(std::forward<FailureReasonT>(value));
163 return *this;
164 }
166 private:
167 Aws::String m_dataDeletionJobArn;
168
169 Aws::String m_datasetGroupArn;
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 bool m_dataDeletionJobArnHasBeenSet = false;
181 bool m_datasetGroupArnHasBeenSet = false;
182 bool m_jobNameHasBeenSet = false;
183 bool m_statusHasBeenSet = false;
184 bool m_creationDateTimeHasBeenSet = false;
185 bool m_lastUpdatedDateTimeHasBeenSet = false;
186 bool m_failureReasonHasBeenSet = false;
187};
188
189} // namespace Model
190} // namespace Personalize
191} // namespace Aws
void SetDataDeletionJobArn(DataDeletionJobArnT &&value)
DataDeletionJobSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
AWS_PERSONALIZE_API DataDeletionJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
DataDeletionJobSummary & WithDataDeletionJobArn(DataDeletionJobArnT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
DataDeletionJobSummary & WithStatus(StatusT &&value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
DataDeletionJobSummary & WithCreationDateTime(CreationDateTimeT &&value)
AWS_PERSONALIZE_API DataDeletionJobSummary()=default
const Aws::Utils::DateTime & GetCreationDateTime() const
DataDeletionJobSummary & WithDatasetGroupArn(DatasetGroupArnT &&value)
AWS_PERSONALIZE_API DataDeletionJobSummary(Aws::Utils::Json::JsonView jsonValue)
DataDeletionJobSummary & WithJobName(JobNameT &&value)
DataDeletionJobSummary & WithFailureReason(FailureReasonT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue