AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatasetExportJobSummary.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 DatasetExportJobSummary();
41 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetDatasetExportJobArn() const{ return m_datasetExportJobArn; }
49 inline bool DatasetExportJobArnHasBeenSet() const { return m_datasetExportJobArnHasBeenSet; }
50 inline void SetDatasetExportJobArn(const Aws::String& value) { m_datasetExportJobArnHasBeenSet = true; m_datasetExportJobArn = value; }
51 inline void SetDatasetExportJobArn(Aws::String&& value) { m_datasetExportJobArnHasBeenSet = true; m_datasetExportJobArn = std::move(value); }
52 inline void SetDatasetExportJobArn(const char* value) { m_datasetExportJobArnHasBeenSet = true; m_datasetExportJobArn.assign(value); }
54 inline DatasetExportJobSummary& WithDatasetExportJobArn(Aws::String&& value) { SetDatasetExportJobArn(std::move(value)); return *this;}
55 inline DatasetExportJobSummary& WithDatasetExportJobArn(const char* value) { SetDatasetExportJobArn(value); return *this;}
57
59
62 inline const Aws::String& GetJobName() const{ return m_jobName; }
63 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
64 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
65 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
66 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
67 inline DatasetExportJobSummary& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
68 inline DatasetExportJobSummary& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
69 inline DatasetExportJobSummary& WithJobName(const char* value) { SetJobName(value); return *this;}
71
73
78 inline const Aws::String& GetStatus() const{ return m_status; }
79 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
80 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
81 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
82 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
83 inline DatasetExportJobSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
84 inline DatasetExportJobSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
85 inline DatasetExportJobSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
93 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
94 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
95 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
97 inline DatasetExportJobSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
99
101
105 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
106 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
107 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
108 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
112
114
117 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
118 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
119 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
120 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
121 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
122 inline DatasetExportJobSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
123 inline DatasetExportJobSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
124 inline DatasetExportJobSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
126 private:
127
128 Aws::String m_datasetExportJobArn;
129 bool m_datasetExportJobArnHasBeenSet = false;
130
131 Aws::String m_jobName;
132 bool m_jobNameHasBeenSet = false;
133
134 Aws::String m_status;
135 bool m_statusHasBeenSet = false;
136
137 Aws::Utils::DateTime m_creationDateTime;
138 bool m_creationDateTimeHasBeenSet = false;
139
140 Aws::Utils::DateTime m_lastUpdatedDateTime;
141 bool m_lastUpdatedDateTimeHasBeenSet = false;
142
143 Aws::String m_failureReason;
144 bool m_failureReasonHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace Personalize
149} // namespace Aws
void SetCreationDateTime(Aws::Utils::DateTime &&value)
DatasetExportJobSummary & WithStatus(const Aws::String &value)
AWS_PERSONALIZE_API DatasetExportJobSummary(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
DatasetExportJobSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
DatasetExportJobSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
AWS_PERSONALIZE_API DatasetExportJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DatasetExportJobSummary & WithFailureReason(const char *value)
DatasetExportJobSummary & WithDatasetExportJobArn(const char *value)
DatasetExportJobSummary & WithJobName(Aws::String &&value)
DatasetExportJobSummary & WithFailureReason(Aws::String &&value)
DatasetExportJobSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
DatasetExportJobSummary & WithDatasetExportJobArn(Aws::String &&value)
DatasetExportJobSummary & WithStatus(const char *value)
DatasetExportJobSummary & WithStatus(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetExportJobSummary & WithFailureReason(const Aws::String &value)
DatasetExportJobSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
DatasetExportJobSummary & WithDatasetExportJobArn(const Aws::String &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
DatasetExportJobSummary & WithJobName(const Aws::String &value)
DatasetExportJobSummary & WithJobName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue