AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatasetMetadata.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/rekognition/model/DatasetType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/rekognition/model/DatasetStatus.h>
12#include <aws/rekognition/model/DatasetStatusMessageCode.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
37 {
38 public:
39 AWS_REKOGNITION_API DatasetMetadata();
40 AWS_REKOGNITION_API DatasetMetadata(Aws::Utils::Json::JsonView jsonValue);
41 AWS_REKOGNITION_API DatasetMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
50 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
51 inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
52 inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
54 inline DatasetMetadata& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;}
56
58
61 inline const DatasetType& GetDatasetType() const{ return m_datasetType; }
62 inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; }
63 inline void SetDatasetType(const DatasetType& value) { m_datasetTypeHasBeenSet = true; m_datasetType = value; }
64 inline void SetDatasetType(DatasetType&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::move(value); }
65 inline DatasetMetadata& WithDatasetType(const DatasetType& value) { SetDatasetType(value); return *this;}
66 inline DatasetMetadata& WithDatasetType(DatasetType&& value) { SetDatasetType(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; }
74 inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
75 inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; }
76 inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); }
77 inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); }
78 inline DatasetMetadata& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;}
79 inline DatasetMetadata& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;}
80 inline DatasetMetadata& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;}
82
84
87 inline const DatasetStatus& GetStatus() const{ return m_status; }
88 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
89 inline void SetStatus(const DatasetStatus& value) { m_statusHasBeenSet = true; m_status = value; }
90 inline void SetStatus(DatasetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
91 inline DatasetMetadata& WithStatus(const DatasetStatus& value) { SetStatus(value); return *this;}
92 inline DatasetMetadata& WithStatus(DatasetStatus&& value) { SetStatus(std::move(value)); return *this;}
94
96
99 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
100 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
101 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
102 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
103 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
104 inline DatasetMetadata& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
105 inline DatasetMetadata& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
106 inline DatasetMetadata& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
108
110
115 inline const DatasetStatusMessageCode& GetStatusMessageCode() const{ return m_statusMessageCode; }
116 inline bool StatusMessageCodeHasBeenSet() const { return m_statusMessageCodeHasBeenSet; }
117 inline void SetStatusMessageCode(const DatasetStatusMessageCode& value) { m_statusMessageCodeHasBeenSet = true; m_statusMessageCode = value; }
118 inline void SetStatusMessageCode(DatasetStatusMessageCode&& value) { m_statusMessageCodeHasBeenSet = true; m_statusMessageCode = std::move(value); }
120 inline DatasetMetadata& WithStatusMessageCode(DatasetStatusMessageCode&& value) { SetStatusMessageCode(std::move(value)); return *this;}
122 private:
123
124 Aws::Utils::DateTime m_creationTimestamp;
125 bool m_creationTimestampHasBeenSet = false;
126
127 DatasetType m_datasetType;
128 bool m_datasetTypeHasBeenSet = false;
129
130 Aws::String m_datasetArn;
131 bool m_datasetArnHasBeenSet = false;
132
133 DatasetStatus m_status;
134 bool m_statusHasBeenSet = false;
135
136 Aws::String m_statusMessage;
137 bool m_statusMessageHasBeenSet = false;
138
139 DatasetStatusMessageCode m_statusMessageCode;
140 bool m_statusMessageCodeHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace Rekognition
145} // namespace Aws
DatasetMetadata & WithCreationTimestamp(Aws::Utils::DateTime &&value)
void SetDatasetType(const DatasetType &value)
const DatasetStatusMessageCode & GetStatusMessageCode() const
void SetStatusMessageCode(DatasetStatusMessageCode &&value)
DatasetMetadata & WithDatasetArn(const Aws::String &value)
void SetDatasetArn(Aws::String &&value)
DatasetMetadata & WithDatasetArn(Aws::String &&value)
void SetStatusMessage(const Aws::String &value)
void SetStatusMessage(Aws::String &&value)
AWS_REKOGNITION_API DatasetMetadata(Aws::Utils::Json::JsonView jsonValue)
void SetDatasetArn(const Aws::String &value)
DatasetMetadata & WithStatus(DatasetStatus &&value)
DatasetMetadata & WithDatasetType(DatasetType &&value)
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
DatasetMetadata & WithStatusMessage(const Aws::String &value)
const Aws::String & GetDatasetArn() const
DatasetMetadata & WithStatusMessageCode(DatasetStatusMessageCode &&value)
AWS_REKOGNITION_API DatasetMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStatusMessage() const
void SetCreationTimestamp(Aws::Utils::DateTime &&value)
DatasetMetadata & WithStatus(const DatasetStatus &value)
DatasetMetadata & WithDatasetType(const DatasetType &value)
DatasetMetadata & WithStatusMessage(Aws::String &&value)
DatasetMetadata & WithStatusMessage(const char *value)
DatasetMetadata & WithStatusMessageCode(const DatasetStatusMessageCode &value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatusMessageCode(const DatasetStatusMessageCode &value)
DatasetMetadata & WithCreationTimestamp(const Aws::Utils::DateTime &value)
DatasetMetadata & WithDatasetArn(const char *value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
void SetStatus(DatasetStatus &&value)
void SetDatasetType(DatasetType &&value)
const DatasetStatus & GetStatus() const
const DatasetType & GetDatasetType() const
void SetStatus(const DatasetStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue