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/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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LookoutforVision
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_LOOKOUTFORVISION_API DatasetMetadata();
39 AWS_LOOKOUTFORVISION_API DatasetMetadata(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LOOKOUTFORVISION_API DatasetMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetDatasetType() const{ return m_datasetType; }
49 inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; }
50 inline void SetDatasetType(const Aws::String& value) { m_datasetTypeHasBeenSet = true; m_datasetType = value; }
51 inline void SetDatasetType(Aws::String&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::move(value); }
52 inline void SetDatasetType(const char* value) { m_datasetTypeHasBeenSet = true; m_datasetType.assign(value); }
53 inline DatasetMetadata& WithDatasetType(const Aws::String& value) { SetDatasetType(value); return *this;}
54 inline DatasetMetadata& WithDatasetType(Aws::String&& value) { SetDatasetType(std::move(value)); return *this;}
55 inline DatasetMetadata& WithDatasetType(const char* value) { SetDatasetType(value); return *this;}
57
59
62 inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
63 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
64 inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
65 inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
67 inline DatasetMetadata& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;}
69
71
74 inline const DatasetStatus& GetStatus() const{ return m_status; }
75 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
76 inline void SetStatus(const DatasetStatus& value) { m_statusHasBeenSet = true; m_status = value; }
77 inline void SetStatus(DatasetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
78 inline DatasetMetadata& WithStatus(const DatasetStatus& value) { SetStatus(value); return *this;}
79 inline DatasetMetadata& WithStatus(DatasetStatus&& value) { SetStatus(std::move(value)); return *this;}
81
83
86 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
87 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
88 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
89 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
90 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
91 inline DatasetMetadata& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
92 inline DatasetMetadata& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
93 inline DatasetMetadata& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
95 private:
96
97 Aws::String m_datasetType;
98 bool m_datasetTypeHasBeenSet = false;
99
100 Aws::Utils::DateTime m_creationTimestamp;
101 bool m_creationTimestampHasBeenSet = false;
102
103 DatasetStatus m_status;
104 bool m_statusHasBeenSet = false;
105
106 Aws::String m_statusMessage;
107 bool m_statusMessageHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace LookoutforVision
112} // namespace Aws
AWS_LOOKOUTFORVISION_API DatasetMetadata(Aws::Utils::Json::JsonView jsonValue)
DatasetMetadata & WithDatasetType(Aws::String &&value)
DatasetMetadata & WithStatus(const DatasetStatus &value)
void SetStatus(const DatasetStatus &value)
AWS_LOOKOUTFORVISION_API DatasetMetadata()
void SetDatasetType(const Aws::String &value)
DatasetMetadata & WithCreationTimestamp(Aws::Utils::DateTime &&value)
AWS_LOOKOUTFORVISION_API DatasetMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetMetadata & WithStatusMessage(const Aws::String &value)
DatasetMetadata & WithDatasetType(const Aws::String &value)
void SetCreationTimestamp(Aws::Utils::DateTime &&value)
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
DatasetMetadata & WithStatus(DatasetStatus &&value)
void SetStatusMessage(const Aws::String &value)
DatasetMetadata & WithStatusMessage(const char *value)
DatasetMetadata & WithCreationTimestamp(const Aws::Utils::DateTime &value)
DatasetMetadata & WithDatasetType(const char *value)
DatasetMetadata & WithStatusMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue