AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
DatasetSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/personalize/Personalize_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Personalize {
21namespace Model {
22
32 public:
33 AWS_PERSONALIZE_API DatasetSummary() = default;
34 AWS_PERSONALIZE_API DatasetSummary(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PERSONALIZE_API DatasetSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
50 DatasetSummary& WithName(NameT&& value) {
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetDatasetArn() const { return m_datasetArn; }
61 inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
62 template <typename DatasetArnT = Aws::String>
63 void SetDatasetArn(DatasetArnT&& value) {
64 m_datasetArnHasBeenSet = true;
65 m_datasetArn = std::forward<DatasetArnT>(value);
66 }
67 template <typename DatasetArnT = Aws::String>
68 DatasetSummary& WithDatasetArn(DatasetArnT&& value) {
69 SetDatasetArn(std::forward<DatasetArnT>(value));
70 return *this;
71 }
73
75
80 inline const Aws::String& GetDatasetType() const { return m_datasetType; }
81 inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; }
82 template <typename DatasetTypeT = Aws::String>
83 void SetDatasetType(DatasetTypeT&& value) {
84 m_datasetTypeHasBeenSet = true;
85 m_datasetType = std::forward<DatasetTypeT>(value);
86 }
87 template <typename DatasetTypeT = Aws::String>
88 DatasetSummary& WithDatasetType(DatasetTypeT&& value) {
89 SetDatasetType(std::forward<DatasetTypeT>(value));
90 return *this;
91 }
93
95
101 inline const Aws::String& GetStatus() const { return m_status; }
102 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
103 template <typename StatusT = Aws::String>
104 void SetStatus(StatusT&& value) {
105 m_statusHasBeenSet = true;
106 m_status = std::forward<StatusT>(value);
107 }
108 template <typename StatusT = Aws::String>
109 DatasetSummary& WithStatus(StatusT&& value) {
110 SetStatus(std::forward<StatusT>(value));
111 return *this;
112 }
114
116
119 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
120 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
121 template <typename CreationDateTimeT = Aws::Utils::DateTime>
122 void SetCreationDateTime(CreationDateTimeT&& value) {
123 m_creationDateTimeHasBeenSet = true;
124 m_creationDateTime = std::forward<CreationDateTimeT>(value);
125 }
126 template <typename CreationDateTimeT = Aws::Utils::DateTime>
127 DatasetSummary& WithCreationDateTime(CreationDateTimeT&& value) {
128 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
129 return *this;
130 }
132
134
137 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
138 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
139 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
140 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
141 m_lastUpdatedDateTimeHasBeenSet = true;
142 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
143 }
144 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
145 DatasetSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
146 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
147 return *this;
148 }
150 private:
151 Aws::String m_name;
152
153 Aws::String m_datasetArn;
154
155 Aws::String m_datasetType;
156
157 Aws::String m_status;
158
159 Aws::Utils::DateTime m_creationDateTime{};
160
161 Aws::Utils::DateTime m_lastUpdatedDateTime{};
162 bool m_nameHasBeenSet = false;
163 bool m_datasetArnHasBeenSet = false;
164 bool m_datasetTypeHasBeenSet = false;
165 bool m_statusHasBeenSet = false;
166 bool m_creationDateTimeHasBeenSet = false;
167 bool m_lastUpdatedDateTimeHasBeenSet = false;
168};
169
170} // namespace Model
171} // namespace Personalize
172} // namespace Aws
DatasetSummary & WithDatasetArn(DatasetArnT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
const Aws::String & GetDatasetArn() const
DatasetSummary & WithName(NameT &&value)
const Aws::String & GetName() const
DatasetSummary & WithDatasetType(DatasetTypeT &&value)
DatasetSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
AWS_PERSONALIZE_API DatasetSummary()=default
void SetDatasetArn(DatasetArnT &&value)
const Aws::String & GetStatus() const
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetCreationDateTime(CreationDateTimeT &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetSummary & WithCreationDateTime(CreationDateTimeT &&value)
AWS_PERSONALIZE_API DatasetSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDatasetType() const
DatasetSummary & WithStatus(StatusT &&value)
AWS_PERSONALIZE_API DatasetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
void SetDatasetType(DatasetTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue