AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ProjectNameT = Aws::String>
51 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
52 template<typename ProjectNameT = Aws::String>
53 DatasetDescription& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
55
57
62 inline const Aws::String& GetDatasetType() const { return m_datasetType; }
63 inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; }
64 template<typename DatasetTypeT = Aws::String>
65 void SetDatasetType(DatasetTypeT&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::forward<DatasetTypeT>(value); }
66 template<typename DatasetTypeT = Aws::String>
67 DatasetDescription& WithDatasetType(DatasetTypeT&& value) { SetDatasetType(std::forward<DatasetTypeT>(value)); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; }
75 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
76 template<typename CreationTimestampT = Aws::Utils::DateTime>
77 void SetCreationTimestamp(CreationTimestampT&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::forward<CreationTimestampT>(value); }
78 template<typename CreationTimestampT = Aws::Utils::DateTime>
79 DatasetDescription& WithCreationTimestamp(CreationTimestampT&& value) { SetCreationTimestamp(std::forward<CreationTimestampT>(value)); return *this;}
81
83
87 inline const Aws::Utils::DateTime& GetLastUpdatedTimestamp() const { return m_lastUpdatedTimestamp; }
88 inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; }
89 template<typename LastUpdatedTimestampT = Aws::Utils::DateTime>
90 void SetLastUpdatedTimestamp(LastUpdatedTimestampT&& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = std::forward<LastUpdatedTimestampT>(value); }
91 template<typename LastUpdatedTimestampT = Aws::Utils::DateTime>
92 DatasetDescription& WithLastUpdatedTimestamp(LastUpdatedTimestampT&& value) { SetLastUpdatedTimestamp(std::forward<LastUpdatedTimestampT>(value)); return *this;}
94
96
99 inline DatasetStatus GetStatus() const { return m_status; }
100 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
101 inline void SetStatus(DatasetStatus value) { m_statusHasBeenSet = true; m_status = value; }
102 inline DatasetDescription& WithStatus(DatasetStatus value) { SetStatus(value); return *this;}
104
106
109 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
110 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
111 template<typename StatusMessageT = Aws::String>
112 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
113 template<typename StatusMessageT = Aws::String>
114 DatasetDescription& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
116
118
121 inline const DatasetImageStats& GetImageStats() const { return m_imageStats; }
122 inline bool ImageStatsHasBeenSet() const { return m_imageStatsHasBeenSet; }
123 template<typename ImageStatsT = DatasetImageStats>
124 void SetImageStats(ImageStatsT&& value) { m_imageStatsHasBeenSet = true; m_imageStats = std::forward<ImageStatsT>(value); }
125 template<typename ImageStatsT = DatasetImageStats>
126 DatasetDescription& WithImageStats(ImageStatsT&& value) { SetImageStats(std::forward<ImageStatsT>(value)); return *this;}
128 private:
129
130 Aws::String m_projectName;
131 bool m_projectNameHasBeenSet = false;
132
133 Aws::String m_datasetType;
134 bool m_datasetTypeHasBeenSet = false;
135
136 Aws::Utils::DateTime m_creationTimestamp{};
137 bool m_creationTimestampHasBeenSet = false;
138
139 Aws::Utils::DateTime m_lastUpdatedTimestamp{};
140 bool m_lastUpdatedTimestampHasBeenSet = false;
141
143 bool m_statusHasBeenSet = false;
144
145 Aws::String m_statusMessage;
146 bool m_statusMessageHasBeenSet = false;
147
148 DatasetImageStats m_imageStats;
149 bool m_imageStatsHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace LookoutforVision
154} // namespace Aws
void SetCreationTimestamp(CreationTimestampT &&value)
DatasetDescription & WithCreationTimestamp(CreationTimestampT &&value)
DatasetDescription & WithStatus(DatasetStatus value)
DatasetDescription & WithImageStats(ImageStatsT &&value)
AWS_LOOKOUTFORVISION_API DatasetDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTFORVISION_API DatasetDescription()=default
AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LOOKOUTFORVISION_API DatasetDescription(Aws::Utils::Json::JsonView jsonValue)
DatasetDescription & WithProjectName(ProjectNameT &&value)
DatasetDescription & WithDatasetType(DatasetTypeT &&value)
DatasetDescription & WithStatusMessage(StatusMessageT &&value)
DatasetDescription & WithLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
void SetLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
const Aws::Utils::DateTime & GetLastUpdatedTimestamp() const
const DatasetImageStats & GetImageStats() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue