AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatasetImportJobSummary.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 <aws/personalize/model/ImportMode.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
37 {
38 public:
39 AWS_PERSONALIZE_API DatasetImportJobSummary();
42 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetDatasetImportJobArn() const{ return m_datasetImportJobArn; }
50 inline bool DatasetImportJobArnHasBeenSet() const { return m_datasetImportJobArnHasBeenSet; }
51 inline void SetDatasetImportJobArn(const Aws::String& value) { m_datasetImportJobArnHasBeenSet = true; m_datasetImportJobArn = value; }
52 inline void SetDatasetImportJobArn(Aws::String&& value) { m_datasetImportJobArnHasBeenSet = true; m_datasetImportJobArn = std::move(value); }
53 inline void SetDatasetImportJobArn(const char* value) { m_datasetImportJobArnHasBeenSet = true; m_datasetImportJobArn.assign(value); }
55 inline DatasetImportJobSummary& WithDatasetImportJobArn(Aws::String&& value) { SetDatasetImportJobArn(std::move(value)); return *this;}
56 inline DatasetImportJobSummary& WithDatasetImportJobArn(const char* value) { SetDatasetImportJobArn(value); return *this;}
58
60
63 inline const Aws::String& GetJobName() const{ return m_jobName; }
64 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
65 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
66 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
67 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
68 inline DatasetImportJobSummary& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
69 inline DatasetImportJobSummary& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
70 inline DatasetImportJobSummary& WithJobName(const char* value) { SetJobName(value); return *this;}
72
74
79 inline const Aws::String& GetStatus() const{ return m_status; }
80 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
81 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
82 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
83 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
84 inline DatasetImportJobSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
85 inline DatasetImportJobSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
86 inline DatasetImportJobSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
94 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
95 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
96 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
98 inline DatasetImportJobSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
100
102
106 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
107 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
108 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
109 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
113
115
118 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
119 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
120 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
121 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
122 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
123 inline DatasetImportJobSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
124 inline DatasetImportJobSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
125 inline DatasetImportJobSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
127
129
135 inline const ImportMode& GetImportMode() const{ return m_importMode; }
136 inline bool ImportModeHasBeenSet() const { return m_importModeHasBeenSet; }
137 inline void SetImportMode(const ImportMode& value) { m_importModeHasBeenSet = true; m_importMode = value; }
138 inline void SetImportMode(ImportMode&& value) { m_importModeHasBeenSet = true; m_importMode = std::move(value); }
139 inline DatasetImportJobSummary& WithImportMode(const ImportMode& value) { SetImportMode(value); return *this;}
140 inline DatasetImportJobSummary& WithImportMode(ImportMode&& value) { SetImportMode(std::move(value)); return *this;}
142 private:
143
144 Aws::String m_datasetImportJobArn;
145 bool m_datasetImportJobArnHasBeenSet = false;
146
147 Aws::String m_jobName;
148 bool m_jobNameHasBeenSet = false;
149
150 Aws::String m_status;
151 bool m_statusHasBeenSet = false;
152
153 Aws::Utils::DateTime m_creationDateTime;
154 bool m_creationDateTimeHasBeenSet = false;
155
156 Aws::Utils::DateTime m_lastUpdatedDateTime;
157 bool m_lastUpdatedDateTimeHasBeenSet = false;
158
159 Aws::String m_failureReason;
160 bool m_failureReasonHasBeenSet = false;
161
162 ImportMode m_importMode;
163 bool m_importModeHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace Personalize
168} // namespace Aws
DatasetImportJobSummary & WithImportMode(const ImportMode &value)
AWS_PERSONALIZE_API DatasetImportJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DatasetImportJobSummary & WithStatus(const Aws::String &value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PERSONALIZE_API DatasetImportJobSummary(Aws::Utils::Json::JsonView jsonValue)
DatasetImportJobSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
DatasetImportJobSummary & WithJobName(const Aws::String &value)
DatasetImportJobSummary & WithDatasetImportJobArn(const char *value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
DatasetImportJobSummary & WithImportMode(ImportMode &&value)
DatasetImportJobSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
DatasetImportJobSummary & WithStatus(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
DatasetImportJobSummary & WithFailureReason(Aws::String &&value)
DatasetImportJobSummary & WithFailureReason(const char *value)
const Aws::Utils::DateTime & GetCreationDateTime() const
DatasetImportJobSummary & WithDatasetImportJobArn(Aws::String &&value)
DatasetImportJobSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
DatasetImportJobSummary & WithFailureReason(const Aws::String &value)
DatasetImportJobSummary & WithStatus(const char *value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
DatasetImportJobSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
DatasetImportJobSummary & WithJobName(const char *value)
DatasetImportJobSummary & WithJobName(Aws::String &&value)
DatasetImportJobSummary & WithDatasetImportJobArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue