AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DataDeletionJob.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/DataSource.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Personalize
24{
25namespace Model
26{
27
38 {
39 public:
40 AWS_PERSONALIZE_API DataDeletionJob() = default;
41 AWS_PERSONALIZE_API DataDeletionJob(Aws::Utils::Json::JsonView jsonValue);
42 AWS_PERSONALIZE_API DataDeletionJob& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetJobName() const { return m_jobName; }
51 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
52 template<typename JobNameT = Aws::String>
53 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
54 template<typename JobNameT = Aws::String>
55 DataDeletionJob& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
57
59
62 inline const Aws::String& GetDataDeletionJobArn() const { return m_dataDeletionJobArn; }
63 inline bool DataDeletionJobArnHasBeenSet() const { return m_dataDeletionJobArnHasBeenSet; }
64 template<typename DataDeletionJobArnT = Aws::String>
65 void SetDataDeletionJobArn(DataDeletionJobArnT&& value) { m_dataDeletionJobArnHasBeenSet = true; m_dataDeletionJobArn = std::forward<DataDeletionJobArnT>(value); }
66 template<typename DataDeletionJobArnT = Aws::String>
67 DataDeletionJob& WithDataDeletionJobArn(DataDeletionJobArnT&& value) { SetDataDeletionJobArn(std::forward<DataDeletionJobArnT>(value)); return *this;}
69
71
75 inline const Aws::String& GetDatasetGroupArn() const { return m_datasetGroupArn; }
76 inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
77 template<typename DatasetGroupArnT = Aws::String>
78 void SetDatasetGroupArn(DatasetGroupArnT&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::forward<DatasetGroupArnT>(value); }
79 template<typename DatasetGroupArnT = Aws::String>
80 DataDeletionJob& WithDatasetGroupArn(DatasetGroupArnT&& value) { SetDatasetGroupArn(std::forward<DatasetGroupArnT>(value)); return *this;}
82
84
85 inline const DataSource& GetDataSource() const { return m_dataSource; }
86 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
87 template<typename DataSourceT = DataSource>
88 void SetDataSource(DataSourceT&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::forward<DataSourceT>(value); }
89 template<typename DataSourceT = DataSource>
90 DataDeletionJob& WithDataSource(DataSourceT&& value) { SetDataSource(std::forward<DataSourceT>(value)); return *this;}
92
94
98 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
99 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
100 template<typename RoleArnT = Aws::String>
101 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
102 template<typename RoleArnT = Aws::String>
103 DataDeletionJob& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
105
107
112 inline const Aws::String& GetStatus() const { return m_status; }
113 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
114 template<typename StatusT = Aws::String>
115 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
116 template<typename StatusT = Aws::String>
117 DataDeletionJob& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
119
121
124 inline int GetNumDeleted() const { return m_numDeleted; }
125 inline bool NumDeletedHasBeenSet() const { return m_numDeletedHasBeenSet; }
126 inline void SetNumDeleted(int value) { m_numDeletedHasBeenSet = true; m_numDeleted = value; }
127 inline DataDeletionJob& WithNumDeleted(int value) { SetNumDeleted(value); return *this;}
129
131
134 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
135 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
136 template<typename CreationDateTimeT = Aws::Utils::DateTime>
137 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
138 template<typename CreationDateTimeT = Aws::Utils::DateTime>
139 DataDeletionJob& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
141
143
146 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
147 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
148 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
149 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
150 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
151 DataDeletionJob& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
153
155
158 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
159 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
160 template<typename FailureReasonT = Aws::String>
161 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
162 template<typename FailureReasonT = Aws::String>
163 DataDeletionJob& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
165 private:
166
167 Aws::String m_jobName;
168 bool m_jobNameHasBeenSet = false;
169
170 Aws::String m_dataDeletionJobArn;
171 bool m_dataDeletionJobArnHasBeenSet = false;
172
173 Aws::String m_datasetGroupArn;
174 bool m_datasetGroupArnHasBeenSet = false;
175
176 DataSource m_dataSource;
177 bool m_dataSourceHasBeenSet = false;
178
179 Aws::String m_roleArn;
180 bool m_roleArnHasBeenSet = false;
181
182 Aws::String m_status;
183 bool m_statusHasBeenSet = false;
184
185 int m_numDeleted{0};
186 bool m_numDeletedHasBeenSet = false;
187
188 Aws::Utils::DateTime m_creationDateTime{};
189 bool m_creationDateTimeHasBeenSet = false;
190
191 Aws::Utils::DateTime m_lastUpdatedDateTime{};
192 bool m_lastUpdatedDateTimeHasBeenSet = false;
193
194 Aws::String m_failureReason;
195 bool m_failureReasonHasBeenSet = false;
196 };
197
198} // namespace Model
199} // namespace Personalize
200} // namespace Aws
const Aws::String & GetFailureReason() const
const Aws::String & GetDataDeletionJobArn() const
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetCreationDateTime(CreationDateTimeT &&value)
const Aws::String & GetDatasetGroupArn() const
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
DataDeletionJob & WithStatus(StatusT &&value)
DataDeletionJob & WithDataDeletionJobArn(DataDeletionJobArnT &&value)
AWS_PERSONALIZE_API DataDeletionJob & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
const Aws::String & GetJobName() const
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
void SetDataDeletionJobArn(DataDeletionJobArnT &&value)
void SetDatasetGroupArn(DatasetGroupArnT &&value)
DataDeletionJob & WithJobName(JobNameT &&value)
DataDeletionJob & WithDataSource(DataSourceT &&value)
DataDeletionJob & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
DataDeletionJob & WithFailureReason(FailureReasonT &&value)
const Aws::String & GetStatus() const
const Aws::String & GetRoleArn() const
void SetFailureReason(FailureReasonT &&value)
DataDeletionJob & WithRoleArn(RoleArnT &&value)
const DataSource & GetDataSource() const
DataDeletionJob & WithDatasetGroupArn(DatasetGroupArnT &&value)
DataDeletionJob & WithNumDeleted(int value)
void SetDataSource(DataSourceT &&value)
DataDeletionJob & WithCreationDateTime(CreationDateTimeT &&value)
AWS_PERSONALIZE_API DataDeletionJob(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZE_API DataDeletionJob()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue