AWS SDK for C++  1.9.108
AWS SDK for C++
DatasetMetadata.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace LookoutforVision
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetDatasetType() const{ return m_datasetType; }
47 
51  inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; }
52 
56  inline void SetDatasetType(const Aws::String& value) { m_datasetTypeHasBeenSet = true; m_datasetType = value; }
57 
61  inline void SetDatasetType(Aws::String&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::move(value); }
62 
66  inline void SetDatasetType(const char* value) { m_datasetTypeHasBeenSet = true; m_datasetType.assign(value); }
67 
71  inline DatasetMetadata& WithDatasetType(const Aws::String& value) { SetDatasetType(value); return *this;}
72 
76  inline DatasetMetadata& WithDatasetType(Aws::String&& value) { SetDatasetType(std::move(value)); return *this;}
77 
81  inline DatasetMetadata& WithDatasetType(const char* value) { SetDatasetType(value); return *this;}
82 
83 
87  inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
88 
92  inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
93 
97  inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
98 
102  inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
103 
107  inline DatasetMetadata& WithCreationTimestamp(const Aws::Utils::DateTime& value) { SetCreationTimestamp(value); return *this;}
108 
112  inline DatasetMetadata& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;}
113 
114 
118  inline const DatasetStatus& GetStatus() const{ return m_status; }
119 
123  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
124 
128  inline void SetStatus(const DatasetStatus& value) { m_statusHasBeenSet = true; m_status = value; }
129 
133  inline void SetStatus(DatasetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
134 
138  inline DatasetMetadata& WithStatus(const DatasetStatus& value) { SetStatus(value); return *this;}
139 
143  inline DatasetMetadata& WithStatus(DatasetStatus&& value) { SetStatus(std::move(value)); return *this;}
144 
145 
149  inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
150 
154  inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
155 
159  inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
160 
164  inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
165 
169  inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
170 
174  inline DatasetMetadata& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
175 
179  inline DatasetMetadata& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
180 
184  inline DatasetMetadata& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
185 
186  private:
187 
188  Aws::String m_datasetType;
189  bool m_datasetTypeHasBeenSet;
190 
191  Aws::Utils::DateTime m_creationTimestamp;
192  bool m_creationTimestampHasBeenSet;
193 
194  DatasetStatus m_status;
195  bool m_statusHasBeenSet;
196 
197  Aws::String m_statusMessage;
198  bool m_statusMessageHasBeenSet;
199  };
200 
201 } // namespace Model
202 } // namespace LookoutforVision
203 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::LookoutforVision::Model::DatasetMetadata::SetStatusMessage
void SetStatusMessage(Aws::String &&value)
Definition: DatasetMetadata.h:164
Aws::LookoutforVision::Model::DatasetMetadata
Definition: DatasetMetadata.h:35
Aws::LookoutforVision::Model::DatasetMetadata::DatasetMetadata
DatasetMetadata()
DatasetStatus.h
Aws::LookoutforVision::Model::DatasetMetadata::StatusMessageHasBeenSet
bool StatusMessageHasBeenSet() const
Definition: DatasetMetadata.h:154
DateTime.h
Aws::LookoutforVision::Model::DatasetMetadata::GetStatus
const DatasetStatus & GetStatus() const
Definition: DatasetMetadata.h:118
Aws::LookoutforVision::Model::DatasetMetadata::SetDatasetType
void SetDatasetType(Aws::String &&value)
Definition: DatasetMetadata.h:61
Aws::LookoutforVision::Model::DatasetMetadata::SetDatasetType
void SetDatasetType(const Aws::String &value)
Definition: DatasetMetadata.h:56
Aws::LookoutforVision::Model::DatasetMetadata::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::LookoutforVision::Model::DatasetMetadata::WithStatusMessage
DatasetMetadata & WithStatusMessage(const Aws::String &value)
Definition: DatasetMetadata.h:174
Aws::LookoutforVision::Model::DatasetMetadata::GetCreationTimestamp
const Aws::Utils::DateTime & GetCreationTimestamp() const
Definition: DatasetMetadata.h:87
Aws::LookoutforVision::Model::DatasetMetadata::DatasetTypeHasBeenSet
bool DatasetTypeHasBeenSet() const
Definition: DatasetMetadata.h:51
Aws::LookoutforVision::Model::DatasetMetadata::operator=
DatasetMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
LookoutforVision_EXPORTS.h
Aws::LookoutforVision::Model::DatasetMetadata::SetCreationTimestamp
void SetCreationTimestamp(Aws::Utils::DateTime &&value)
Definition: DatasetMetadata.h:102
Aws::LookoutforVision::Model::DatasetMetadata::WithCreationTimestamp
DatasetMetadata & WithCreationTimestamp(Aws::Utils::DateTime &&value)
Definition: DatasetMetadata.h:112
Aws::LookoutforVision::Model::DatasetMetadata::SetStatusMessage
void SetStatusMessage(const Aws::String &value)
Definition: DatasetMetadata.h:159
Aws::LookoutforVision::Model::DatasetMetadata::GetDatasetType
const Aws::String & GetDatasetType() const
Definition: DatasetMetadata.h:46
Aws::LookoutforVision::Model::DatasetMetadata::WithStatusMessage
DatasetMetadata & WithStatusMessage(Aws::String &&value)
Definition: DatasetMetadata.h:179
Aws::LookoutforVision::Model::DatasetMetadata::CreationTimestampHasBeenSet
bool CreationTimestampHasBeenSet() const
Definition: DatasetMetadata.h:92
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::LookoutforVision::Model::DatasetMetadata::WithStatusMessage
DatasetMetadata & WithStatusMessage(const char *value)
Definition: DatasetMetadata.h:184
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::LookoutforVision::Model::DatasetMetadata::WithStatus
DatasetMetadata & WithStatus(DatasetStatus &&value)
Definition: DatasetMetadata.h:143
Aws::LookoutforVision::Model::DatasetMetadata::WithStatus
DatasetMetadata & WithStatus(const DatasetStatus &value)
Definition: DatasetMetadata.h:138
Aws::LookoutforVision::Model::DatasetMetadata::WithDatasetType
DatasetMetadata & WithDatasetType(const Aws::String &value)
Definition: DatasetMetadata.h:71
Aws::LookoutforVision::Model::DatasetMetadata::WithDatasetType
DatasetMetadata & WithDatasetType(Aws::String &&value)
Definition: DatasetMetadata.h:76
Aws::LookoutforVision::Model::DatasetMetadata::WithCreationTimestamp
DatasetMetadata & WithCreationTimestamp(const Aws::Utils::DateTime &value)
Definition: DatasetMetadata.h:107
Aws
Definition: AccessManagementClient.h:15
Aws::LookoutforVision::Model::DatasetMetadata::WithDatasetType
DatasetMetadata & WithDatasetType(const char *value)
Definition: DatasetMetadata.h:81
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_LOOKOUTFORVISION_API
#define AWS_LOOKOUTFORVISION_API
Definition: LookoutforVision_EXPORTS.h:28
Aws::LookoutforVision::Model::DatasetStatus
DatasetStatus
Definition: DatasetStatus.h:17
Aws::LookoutforVision::Model::DatasetMetadata::SetStatus
void SetStatus(DatasetStatus &&value)
Definition: DatasetMetadata.h:133
Aws::LookoutforVision::Model::DatasetMetadata::SetDatasetType
void SetDatasetType(const char *value)
Definition: DatasetMetadata.h:66
Aws::LookoutforVision::Model::DatasetMetadata::GetStatusMessage
const Aws::String & GetStatusMessage() const
Definition: DatasetMetadata.h:149
Aws::LookoutforVision::Model::DatasetMetadata::SetStatusMessage
void SetStatusMessage(const char *value)
Definition: DatasetMetadata.h:169
Aws::LookoutforVision::Model::DatasetMetadata::SetCreationTimestamp
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
Definition: DatasetMetadata.h:97
Aws::LookoutforVision::Model::DatasetMetadata::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: DatasetMetadata.h:123
Aws::LookoutforVision::Model::DatasetMetadata::DatasetMetadata
DatasetMetadata(Aws::Utils::Json::JsonView jsonValue)
Aws::LookoutforVision::Model::DatasetMetadata::SetStatus
void SetStatus(const DatasetStatus &value)
Definition: DatasetMetadata.h:128