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/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/rekognition/model/DatasetStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/rekognition/model/DatasetStatusMessageCode.h>
12#include <aws/rekognition/model/DatasetStats.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Rekognition
26{
27namespace Model
28{
29
39 {
40 public:
41 AWS_REKOGNITION_API DatasetDescription();
42 AWS_REKOGNITION_API DatasetDescription(Aws::Utils::Json::JsonView jsonValue);
44 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
52 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
53 inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
54 inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
56 inline DatasetDescription& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;}
58
60
64 inline const Aws::Utils::DateTime& GetLastUpdatedTimestamp() const{ return m_lastUpdatedTimestamp; }
65 inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; }
66 inline void SetLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = value; }
67 inline void SetLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = std::move(value); }
71
73
76 inline const DatasetStatus& GetStatus() const{ return m_status; }
77 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
78 inline void SetStatus(const DatasetStatus& value) { m_statusHasBeenSet = true; m_status = value; }
79 inline void SetStatus(DatasetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
80 inline DatasetDescription& WithStatus(const DatasetStatus& value) { SetStatus(value); return *this;}
81 inline DatasetDescription& WithStatus(DatasetStatus&& value) { SetStatus(std::move(value)); return *this;}
83
85
88 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
89 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
90 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
91 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
92 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
93 inline DatasetDescription& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
94 inline DatasetDescription& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
95 inline DatasetDescription& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
97
99
104 inline const DatasetStatusMessageCode& GetStatusMessageCode() const{ return m_statusMessageCode; }
105 inline bool StatusMessageCodeHasBeenSet() const { return m_statusMessageCodeHasBeenSet; }
106 inline void SetStatusMessageCode(const DatasetStatusMessageCode& value) { m_statusMessageCodeHasBeenSet = true; m_statusMessageCode = value; }
107 inline void SetStatusMessageCode(DatasetStatusMessageCode&& value) { m_statusMessageCodeHasBeenSet = true; m_statusMessageCode = std::move(value); }
111
113
116 inline const DatasetStats& GetDatasetStats() const{ return m_datasetStats; }
117 inline bool DatasetStatsHasBeenSet() const { return m_datasetStatsHasBeenSet; }
118 inline void SetDatasetStats(const DatasetStats& value) { m_datasetStatsHasBeenSet = true; m_datasetStats = value; }
119 inline void SetDatasetStats(DatasetStats&& value) { m_datasetStatsHasBeenSet = true; m_datasetStats = std::move(value); }
120 inline DatasetDescription& WithDatasetStats(const DatasetStats& value) { SetDatasetStats(value); return *this;}
121 inline DatasetDescription& WithDatasetStats(DatasetStats&& value) { SetDatasetStats(std::move(value)); return *this;}
123 private:
124
125 Aws::Utils::DateTime m_creationTimestamp;
126 bool m_creationTimestampHasBeenSet = false;
127
128 Aws::Utils::DateTime m_lastUpdatedTimestamp;
129 bool m_lastUpdatedTimestampHasBeenSet = false;
130
131 DatasetStatus m_status;
132 bool m_statusHasBeenSet = false;
133
134 Aws::String m_statusMessage;
135 bool m_statusMessageHasBeenSet = false;
136
137 DatasetStatusMessageCode m_statusMessageCode;
138 bool m_statusMessageCodeHasBeenSet = false;
139
140 DatasetStats m_datasetStats;
141 bool m_datasetStatsHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace Rekognition
146} // namespace Aws
void SetLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastUpdatedTimestamp() const
void SetStatusMessage(const Aws::String &value)
AWS_REKOGNITION_API DatasetDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
DatasetDescription & WithStatusMessage(Aws::String &&value)
DatasetDescription & WithLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
DatasetDescription & WithStatusMessageCode(const DatasetStatusMessageCode &value)
DatasetDescription & WithStatus(DatasetStatus &&value)
DatasetDescription & WithStatusMessage(const Aws::String &value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetDescription & WithLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
DatasetDescription & WithCreationTimestamp(Aws::Utils::DateTime &&value)
DatasetDescription & WithStatus(const DatasetStatus &value)
void SetStatusMessageCode(DatasetStatusMessageCode &&value)
void SetStatusMessageCode(const DatasetStatusMessageCode &value)
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
DatasetDescription & WithCreationTimestamp(const Aws::Utils::DateTime &value)
AWS_REKOGNITION_API DatasetDescription(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const DatasetStatus &value)
DatasetDescription & WithStatusMessage(const char *value)
void SetLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
void SetDatasetStats(const DatasetStats &value)
DatasetDescription & WithDatasetStats(const DatasetStats &value)
DatasetDescription & WithStatusMessageCode(DatasetStatusMessageCode &&value)
void SetCreationTimestamp(Aws::Utils::DateTime &&value)
const DatasetStatusMessageCode & GetStatusMessageCode() const
DatasetDescription & WithDatasetStats(DatasetStats &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue