AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
53 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
54 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
55 inline DataDeletionJob& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
56 inline DataDeletionJob& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
57 inline DataDeletionJob& WithJobName(const char* value) { SetJobName(value); return *this;}
59
61
64 inline const Aws::String& GetDataDeletionJobArn() const{ return m_dataDeletionJobArn; }
65 inline bool DataDeletionJobArnHasBeenSet() const { return m_dataDeletionJobArnHasBeenSet; }
66 inline void SetDataDeletionJobArn(const Aws::String& value) { m_dataDeletionJobArnHasBeenSet = true; m_dataDeletionJobArn = value; }
67 inline void SetDataDeletionJobArn(Aws::String&& value) { m_dataDeletionJobArnHasBeenSet = true; m_dataDeletionJobArn = std::move(value); }
68 inline void SetDataDeletionJobArn(const char* value) { m_dataDeletionJobArnHasBeenSet = true; m_dataDeletionJobArn.assign(value); }
69 inline DataDeletionJob& WithDataDeletionJobArn(const Aws::String& value) { SetDataDeletionJobArn(value); return *this;}
70 inline DataDeletionJob& WithDataDeletionJobArn(Aws::String&& value) { SetDataDeletionJobArn(std::move(value)); return *this;}
71 inline DataDeletionJob& WithDataDeletionJobArn(const char* value) { SetDataDeletionJobArn(value); return *this;}
73
75
79 inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; }
80 inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
81 inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = value; }
82 inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::move(value); }
83 inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn.assign(value); }
84 inline DataDeletionJob& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;}
85 inline DataDeletionJob& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;}
86 inline DataDeletionJob& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;}
88
90
91 inline const DataSource& GetDataSource() const{ return m_dataSource; }
92 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
93 inline void SetDataSource(const DataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
94 inline void SetDataSource(DataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
95 inline DataDeletionJob& WithDataSource(const DataSource& value) { SetDataSource(value); return *this;}
96 inline DataDeletionJob& WithDataSource(DataSource&& value) { SetDataSource(std::move(value)); return *this;}
98
100
104 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
105 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
106 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
107 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
108 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
109 inline DataDeletionJob& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
110 inline DataDeletionJob& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
111 inline DataDeletionJob& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
113
115
120 inline const Aws::String& GetStatus() const{ return m_status; }
121 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
122 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
123 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
124 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
125 inline DataDeletionJob& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
126 inline DataDeletionJob& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
127 inline DataDeletionJob& WithStatus(const char* value) { SetStatus(value); return *this;}
129
131
134 inline int GetNumDeleted() const{ return m_numDeleted; }
135 inline bool NumDeletedHasBeenSet() const { return m_numDeletedHasBeenSet; }
136 inline void SetNumDeleted(int value) { m_numDeletedHasBeenSet = true; m_numDeleted = value; }
137 inline DataDeletionJob& WithNumDeleted(int value) { SetNumDeleted(value); return *this;}
139
141
144 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
145 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
146 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
147 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
149 inline DataDeletionJob& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
151
153
156 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
157 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
158 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
159 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
161 inline DataDeletionJob& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
163
165
168 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
169 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
170 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
171 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
172 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
173 inline DataDeletionJob& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
174 inline DataDeletionJob& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
175 inline DataDeletionJob& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
177 private:
178
179 Aws::String m_jobName;
180 bool m_jobNameHasBeenSet = false;
181
182 Aws::String m_dataDeletionJobArn;
183 bool m_dataDeletionJobArnHasBeenSet = false;
184
185 Aws::String m_datasetGroupArn;
186 bool m_datasetGroupArnHasBeenSet = false;
187
188 DataSource m_dataSource;
189 bool m_dataSourceHasBeenSet = false;
190
191 Aws::String m_roleArn;
192 bool m_roleArnHasBeenSet = false;
193
194 Aws::String m_status;
195 bool m_statusHasBeenSet = false;
196
197 int m_numDeleted;
198 bool m_numDeletedHasBeenSet = false;
199
200 Aws::Utils::DateTime m_creationDateTime;
201 bool m_creationDateTimeHasBeenSet = false;
202
203 Aws::Utils::DateTime m_lastUpdatedDateTime;
204 bool m_lastUpdatedDateTimeHasBeenSet = false;
205
206 Aws::String m_failureReason;
207 bool m_failureReasonHasBeenSet = false;
208 };
209
210} // namespace Model
211} // namespace Personalize
212} // namespace Aws
DataDeletionJob & WithRoleArn(Aws::String &&value)
const Aws::String & GetFailureReason() const
void SetStatus(const Aws::String &value)
const Aws::String & GetDataDeletionJobArn() const
DataDeletionJob & WithCreationDateTime(Aws::Utils::DateTime &&value)
void SetDatasetGroupArn(const Aws::String &value)
void SetDataSource(const DataSource &value)
DataDeletionJob & WithDatasetGroupArn(const char *value)
void SetFailureReason(const Aws::String &value)
DataDeletionJob & WithFailureReason(const char *value)
DataDeletionJob & WithJobName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetDatasetGroupArn() const
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PERSONALIZE_API DataDeletionJob & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
const Aws::String & GetJobName() const
DataDeletionJob & WithDatasetGroupArn(const Aws::String &value)
DataDeletionJob & WithRoleArn(const Aws::String &value)
DataDeletionJob & WithDataSource(DataSource &&value)
DataDeletionJob & WithCreationDateTime(const Aws::Utils::DateTime &value)
DataDeletionJob & WithStatus(const char *value)
void SetDatasetGroupArn(Aws::String &&value)
void SetJobName(const Aws::String &value)
DataDeletionJob & WithJobName(Aws::String &&value)
void SetRoleArn(const Aws::String &value)
const Aws::String & GetStatus() const
DataDeletionJob & WithDataDeletionJobArn(Aws::String &&value)
const Aws::String & GetRoleArn() const
void SetDataDeletionJobArn(const char *value)
const DataSource & GetDataSource() const
DataDeletionJob & WithDataSource(const DataSource &value)
DataDeletionJob & WithFailureReason(const Aws::String &value)
void SetDataDeletionJobArn(Aws::String &&value)
DataDeletionJob & WithStatus(Aws::String &&value)
DataDeletionJob & WithStatus(const Aws::String &value)
DataDeletionJob & WithNumDeleted(int value)
void SetDataDeletionJobArn(const Aws::String &value)
DataDeletionJob & WithJobName(const char *value)
DataDeletionJob & WithDatasetGroupArn(Aws::String &&value)
DataDeletionJob & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
DataDeletionJob & WithFailureReason(Aws::String &&value)
AWS_PERSONALIZE_API DataDeletionJob(Aws::Utils::Json::JsonView jsonValue)
void SetFailureReason(Aws::String &&value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
DataDeletionJob & WithDataDeletionJobArn(const Aws::String &value)
DataDeletionJob & WithDataDeletionJobArn(const char *value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
DataDeletionJob & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
DataDeletionJob & WithRoleArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue