AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatasetProperties.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/comprehend/model/DatasetType.h>
10#include <aws/comprehend/model/DatasetStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Comprehend
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_COMPREHEND_API DatasetProperties();
38 AWS_COMPREHEND_API DatasetProperties(Aws::Utils::Json::JsonView jsonValue);
40 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; }
48 inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
49 inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; }
50 inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); }
51 inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); }
52 inline DatasetProperties& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;}
53 inline DatasetProperties& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;}
54 inline DatasetProperties& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;}
56
58
61 inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
62 inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
63 inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
64 inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
65 inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
66 inline DatasetProperties& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
67 inline DatasetProperties& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
68 inline DatasetProperties& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
70
72
75 inline const DatasetType& GetDatasetType() const{ return m_datasetType; }
76 inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; }
77 inline void SetDatasetType(const DatasetType& value) { m_datasetTypeHasBeenSet = true; m_datasetType = value; }
78 inline void SetDatasetType(DatasetType&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::move(value); }
79 inline DatasetProperties& WithDatasetType(const DatasetType& value) { SetDatasetType(value); return *this;}
80 inline DatasetProperties& WithDatasetType(DatasetType&& value) { SetDatasetType(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetDatasetS3Uri() const{ return m_datasetS3Uri; }
88 inline bool DatasetS3UriHasBeenSet() const { return m_datasetS3UriHasBeenSet; }
89 inline void SetDatasetS3Uri(const Aws::String& value) { m_datasetS3UriHasBeenSet = true; m_datasetS3Uri = value; }
90 inline void SetDatasetS3Uri(Aws::String&& value) { m_datasetS3UriHasBeenSet = true; m_datasetS3Uri = std::move(value); }
91 inline void SetDatasetS3Uri(const char* value) { m_datasetS3UriHasBeenSet = true; m_datasetS3Uri.assign(value); }
92 inline DatasetProperties& WithDatasetS3Uri(const Aws::String& value) { SetDatasetS3Uri(value); return *this;}
93 inline DatasetProperties& WithDatasetS3Uri(Aws::String&& value) { SetDatasetS3Uri(std::move(value)); return *this;}
94 inline DatasetProperties& WithDatasetS3Uri(const char* value) { SetDatasetS3Uri(value); return *this;}
96
98
101 inline const Aws::String& GetDescription() const{ return m_description; }
102 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
103 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
104 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
105 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
106 inline DatasetProperties& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
107 inline DatasetProperties& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
108 inline DatasetProperties& WithDescription(const char* value) { SetDescription(value); return *this;}
110
112
117 inline const DatasetStatus& GetStatus() const{ return m_status; }
118 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
119 inline void SetStatus(const DatasetStatus& value) { m_statusHasBeenSet = true; m_status = value; }
120 inline void SetStatus(DatasetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
121 inline DatasetProperties& WithStatus(const DatasetStatus& value) { SetStatus(value); return *this;}
122 inline DatasetProperties& WithStatus(DatasetStatus&& value) { SetStatus(std::move(value)); return *this;}
124
126
129 inline const Aws::String& GetMessage() const{ return m_message; }
130 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
131 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
132 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
133 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
134 inline DatasetProperties& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
135 inline DatasetProperties& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
136 inline DatasetProperties& WithMessage(const char* value) { SetMessage(value); return *this;}
138
140
143 inline long long GetNumberOfDocuments() const{ return m_numberOfDocuments; }
144 inline bool NumberOfDocumentsHasBeenSet() const { return m_numberOfDocumentsHasBeenSet; }
145 inline void SetNumberOfDocuments(long long value) { m_numberOfDocumentsHasBeenSet = true; m_numberOfDocuments = value; }
146 inline DatasetProperties& WithNumberOfDocuments(long long value) { SetNumberOfDocuments(value); return *this;}
148
150
153 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
154 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
155 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
156 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
157 inline DatasetProperties& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
158 inline DatasetProperties& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
160
162
165 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
166 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
167 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
168 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
169 inline DatasetProperties& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
170 inline DatasetProperties& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
172 private:
173
174 Aws::String m_datasetArn;
175 bool m_datasetArnHasBeenSet = false;
176
177 Aws::String m_datasetName;
178 bool m_datasetNameHasBeenSet = false;
179
180 DatasetType m_datasetType;
181 bool m_datasetTypeHasBeenSet = false;
182
183 Aws::String m_datasetS3Uri;
184 bool m_datasetS3UriHasBeenSet = false;
185
186 Aws::String m_description;
187 bool m_descriptionHasBeenSet = false;
188
189 DatasetStatus m_status;
190 bool m_statusHasBeenSet = false;
191
192 Aws::String m_message;
193 bool m_messageHasBeenSet = false;
194
195 long long m_numberOfDocuments;
196 bool m_numberOfDocumentsHasBeenSet = false;
197
198 Aws::Utils::DateTime m_creationTime;
199 bool m_creationTimeHasBeenSet = false;
200
201 Aws::Utils::DateTime m_endTime;
202 bool m_endTimeHasBeenSet = false;
203 };
204
205} // namespace Model
206} // namespace Comprehend
207} // namespace Aws
const Aws::String & GetDatasetArn() const
DatasetProperties & WithEndTime(Aws::Utils::DateTime &&value)
const Aws::String & GetDatasetName() const
void SetStatus(const DatasetStatus &value)
DatasetProperties & WithDatasetName(const char *value)
DatasetProperties & WithDatasetArn(Aws::String &&value)
const Aws::String & GetDatasetS3Uri() const
DatasetProperties & WithDatasetType(const DatasetType &value)
DatasetProperties & WithDatasetArn(const char *value)
DatasetProperties & WithMessage(const Aws::String &value)
DatasetProperties & WithEndTime(const Aws::Utils::DateTime &value)
DatasetProperties & WithDescription(const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
DatasetProperties & WithStatus(const DatasetStatus &value)
DatasetProperties & WithDatasetName(const Aws::String &value)
void SetMessage(const Aws::String &value)
DatasetProperties & WithMessage(Aws::String &&value)
DatasetProperties & WithDatasetS3Uri(const Aws::String &value)
DatasetProperties & WithDatasetS3Uri(const char *value)
DatasetProperties & WithDescription(const Aws::String &value)
void SetDatasetS3Uri(const Aws::String &value)
DatasetProperties & WithDatasetS3Uri(Aws::String &&value)
const Aws::Utils::DateTime & GetEndTime() const
DatasetProperties & WithMessage(const char *value)
const DatasetType & GetDatasetType() const
const DatasetStatus & GetStatus() const
void SetDatasetName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
DatasetProperties & WithCreationTime(Aws::Utils::DateTime &&value)
void SetDescription(const Aws::String &value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEndTime(Aws::Utils::DateTime &&value)
void SetDatasetArn(const Aws::String &value)
DatasetProperties & WithDescription(Aws::String &&value)
DatasetProperties & WithNumberOfDocuments(long long value)
DatasetProperties & WithDatasetName(Aws::String &&value)
AWS_COMPREHEND_API DatasetProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
DatasetProperties & WithDatasetType(DatasetType &&value)
DatasetProperties & WithDatasetArn(const Aws::String &value)
DatasetProperties & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_COMPREHEND_API DatasetProperties(Aws::Utils::Json::JsonView jsonValue)
void SetEndTime(const Aws::Utils::DateTime &value)
void SetDatasetType(const DatasetType &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
DatasetProperties & WithStatus(DatasetStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue