AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataDeletionJobSummary.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Personalize
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_PERSONALIZE_API DataDeletionJobSummary();
39 AWS_PERSONALIZE_API DataDeletionJobSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetDataDeletionJobArn() const{ return m_dataDeletionJobArn; }
49 inline bool DataDeletionJobArnHasBeenSet() const { return m_dataDeletionJobArnHasBeenSet; }
50 inline void SetDataDeletionJobArn(const Aws::String& value) { m_dataDeletionJobArnHasBeenSet = true; m_dataDeletionJobArn = value; }
51 inline void SetDataDeletionJobArn(Aws::String&& value) { m_dataDeletionJobArnHasBeenSet = true; m_dataDeletionJobArn = std::move(value); }
52 inline void SetDataDeletionJobArn(const char* value) { m_dataDeletionJobArnHasBeenSet = true; m_dataDeletionJobArn.assign(value); }
54 inline DataDeletionJobSummary& WithDataDeletionJobArn(Aws::String&& value) { SetDataDeletionJobArn(std::move(value)); return *this;}
55 inline DataDeletionJobSummary& WithDataDeletionJobArn(const char* value) { SetDataDeletionJobArn(value); return *this;}
57
59
63 inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; }
64 inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
65 inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = value; }
66 inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::move(value); }
67 inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn.assign(value); }
68 inline DataDeletionJobSummary& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;}
69 inline DataDeletionJobSummary& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;}
70 inline DataDeletionJobSummary& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;}
72
74
77 inline const Aws::String& GetJobName() const{ return m_jobName; }
78 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
79 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
80 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
81 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
82 inline DataDeletionJobSummary& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
83 inline DataDeletionJobSummary& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
84 inline DataDeletionJobSummary& WithJobName(const char* value) { SetJobName(value); return *this;}
86
88
93 inline const Aws::String& GetStatus() const{ return m_status; }
94 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
95 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
96 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
97 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
98 inline DataDeletionJobSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
99 inline DataDeletionJobSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
100 inline DataDeletionJobSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
108 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
109 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
110 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
112 inline DataDeletionJobSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
114
116
119 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
120 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
121 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
122 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
126
128
131 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
132 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
133 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
134 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
135 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
136 inline DataDeletionJobSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
137 inline DataDeletionJobSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
138 inline DataDeletionJobSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
140 private:
141
142 Aws::String m_dataDeletionJobArn;
143 bool m_dataDeletionJobArnHasBeenSet = false;
144
145 Aws::String m_datasetGroupArn;
146 bool m_datasetGroupArnHasBeenSet = false;
147
148 Aws::String m_jobName;
149 bool m_jobNameHasBeenSet = false;
150
151 Aws::String m_status;
152 bool m_statusHasBeenSet = false;
153
154 Aws::Utils::DateTime m_creationDateTime;
155 bool m_creationDateTimeHasBeenSet = false;
156
157 Aws::Utils::DateTime m_lastUpdatedDateTime;
158 bool m_lastUpdatedDateTimeHasBeenSet = false;
159
160 Aws::String m_failureReason;
161 bool m_failureReasonHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace Personalize
166} // namespace Aws
DataDeletionJobSummary & WithJobName(const Aws::String &value)
DataDeletionJobSummary & WithJobName(Aws::String &&value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
DataDeletionJobSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
DataDeletionJobSummary & WithDatasetGroupArn(Aws::String &&value)
AWS_PERSONALIZE_API DataDeletionJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
DataDeletionJobSummary & WithStatus(Aws::String &&value)
DataDeletionJobSummary & WithStatus(const char *value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
DataDeletionJobSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
DataDeletionJobSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
DataDeletionJobSummary & WithDatasetGroupArn(const Aws::String &value)
DataDeletionJobSummary & WithStatus(const Aws::String &value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationDateTime() const
DataDeletionJobSummary & WithFailureReason(const Aws::String &value)
DataDeletionJobSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
DataDeletionJobSummary & WithJobName(const char *value)
DataDeletionJobSummary & WithDataDeletionJobArn(const Aws::String &value)
DataDeletionJobSummary & WithDataDeletionJobArn(Aws::String &&value)
DataDeletionJobSummary & WithDatasetGroupArn(const char *value)
AWS_PERSONALIZE_API DataDeletionJobSummary(Aws::Utils::Json::JsonView jsonValue)
DataDeletionJobSummary & WithFailureReason(const char *value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
DataDeletionJobSummary & WithDataDeletionJobArn(const char *value)
DataDeletionJobSummary & WithFailureReason(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue