AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatasetDescription.h
1
6#pragma once
7#include <aws/lookoutvision/LookoutforVision_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/lookoutvision/model/DatasetStatus.h>
11#include <aws/lookoutvision/model/DatasetImageStats.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 LookoutforVision
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_LOOKOUTFORVISION_API DatasetDescription();
39 AWS_LOOKOUTFORVISION_API DatasetDescription(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LOOKOUTFORVISION_API DatasetDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetProjectName() const{ return m_projectName; }
49 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
50 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
51 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
52 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
53 inline DatasetDescription& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
54 inline DatasetDescription& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
55 inline DatasetDescription& WithProjectName(const char* value) { SetProjectName(value); return *this;}
57
59
64 inline const Aws::String& GetDatasetType() const{ return m_datasetType; }
65 inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; }
66 inline void SetDatasetType(const Aws::String& value) { m_datasetTypeHasBeenSet = true; m_datasetType = value; }
67 inline void SetDatasetType(Aws::String&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::move(value); }
68 inline void SetDatasetType(const char* value) { m_datasetTypeHasBeenSet = true; m_datasetType.assign(value); }
69 inline DatasetDescription& WithDatasetType(const Aws::String& value) { SetDatasetType(value); return *this;}
70 inline DatasetDescription& WithDatasetType(Aws::String&& value) { SetDatasetType(std::move(value)); return *this;}
71 inline DatasetDescription& WithDatasetType(const char* value) { SetDatasetType(value); return *this;}
73
75
78 inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
79 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
80 inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
81 inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
83 inline DatasetDescription& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;}
85
87
91 inline const Aws::Utils::DateTime& GetLastUpdatedTimestamp() const{ return m_lastUpdatedTimestamp; }
92 inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; }
93 inline void SetLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = value; }
94 inline void SetLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = std::move(value); }
98
100
103 inline const DatasetStatus& GetStatus() const{ return m_status; }
104 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
105 inline void SetStatus(const DatasetStatus& value) { m_statusHasBeenSet = true; m_status = value; }
106 inline void SetStatus(DatasetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
107 inline DatasetDescription& WithStatus(const DatasetStatus& value) { SetStatus(value); return *this;}
108 inline DatasetDescription& WithStatus(DatasetStatus&& value) { SetStatus(std::move(value)); return *this;}
110
112
115 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
116 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
117 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
118 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
119 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
120 inline DatasetDescription& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
121 inline DatasetDescription& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
122 inline DatasetDescription& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
124
126
129 inline const DatasetImageStats& GetImageStats() const{ return m_imageStats; }
130 inline bool ImageStatsHasBeenSet() const { return m_imageStatsHasBeenSet; }
131 inline void SetImageStats(const DatasetImageStats& value) { m_imageStatsHasBeenSet = true; m_imageStats = value; }
132 inline void SetImageStats(DatasetImageStats&& value) { m_imageStatsHasBeenSet = true; m_imageStats = std::move(value); }
133 inline DatasetDescription& WithImageStats(const DatasetImageStats& value) { SetImageStats(value); return *this;}
134 inline DatasetDescription& WithImageStats(DatasetImageStats&& value) { SetImageStats(std::move(value)); return *this;}
136 private:
137
138 Aws::String m_projectName;
139 bool m_projectNameHasBeenSet = false;
140
141 Aws::String m_datasetType;
142 bool m_datasetTypeHasBeenSet = false;
143
144 Aws::Utils::DateTime m_creationTimestamp;
145 bool m_creationTimestampHasBeenSet = false;
146
147 Aws::Utils::DateTime m_lastUpdatedTimestamp;
148 bool m_lastUpdatedTimestampHasBeenSet = false;
149
150 DatasetStatus m_status;
151 bool m_statusHasBeenSet = false;
152
153 Aws::String m_statusMessage;
154 bool m_statusMessageHasBeenSet = false;
155
156 DatasetImageStats m_imageStats;
157 bool m_imageStatsHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace LookoutforVision
162} // namespace Aws
DatasetDescription & WithLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
DatasetDescription & WithLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
DatasetDescription & WithCreationTimestamp(const Aws::Utils::DateTime &value)
DatasetDescription & WithProjectName(Aws::String &&value)
AWS_LOOKOUTFORVISION_API DatasetDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTimestamp(Aws::Utils::DateTime &&value)
DatasetDescription & WithStatus(const DatasetStatus &value)
DatasetDescription & WithStatusMessage(Aws::String &&value)
DatasetDescription & WithStatus(DatasetStatus &&value)
DatasetDescription & WithStatusMessage(const Aws::String &value)
AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetDescription & WithDatasetType(Aws::String &&value)
DatasetDescription & WithDatasetType(const Aws::String &value)
void SetLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
DatasetDescription & WithCreationTimestamp(Aws::Utils::DateTime &&value)
AWS_LOOKOUTFORVISION_API DatasetDescription(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
DatasetDescription & WithDatasetType(const char *value)
DatasetDescription & WithProjectName(const char *value)
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
DatasetDescription & WithProjectName(const Aws::String &value)
DatasetDescription & WithImageStats(DatasetImageStats &&value)
const Aws::Utils::DateTime & GetLastUpdatedTimestamp() const
DatasetDescription & WithStatusMessage(const char *value)
const DatasetImageStats & GetImageStats() const
void SetImageStats(const DatasetImageStats &value)
DatasetDescription & WithImageStats(const DatasetImageStats &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue