AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DatasetSummary.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Personalize
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_PERSONALIZE_API DatasetSummary() = default;
39 AWS_PERSONALIZE_API DatasetSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PERSONALIZE_API DatasetSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetName() const { return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 template<typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
52 template<typename NameT = Aws::String>
53 DatasetSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_datasetArnHasBeenSet = true; m_datasetArn = std::forward<DatasetArnT>(value); }
64 template<typename DatasetArnT = Aws::String>
65 DatasetSummary& WithDatasetArn(DatasetArnT&& value) { SetDatasetArn(std::forward<DatasetArnT>(value)); return *this;}
67
69
74 inline const Aws::String& GetDatasetType() const { return m_datasetType; }
75 inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; }
76 template<typename DatasetTypeT = Aws::String>
77 void SetDatasetType(DatasetTypeT&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::forward<DatasetTypeT>(value); }
78 template<typename DatasetTypeT = Aws::String>
79 DatasetSummary& WithDatasetType(DatasetTypeT&& value) { SetDatasetType(std::forward<DatasetTypeT>(value)); return *this;}
81
83
89 inline const Aws::String& GetStatus() const { return m_status; }
90 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
91 template<typename StatusT = Aws::String>
92 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
93 template<typename StatusT = Aws::String>
94 DatasetSummary& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
102 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
103 template<typename CreationDateTimeT = Aws::Utils::DateTime>
104 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
105 template<typename CreationDateTimeT = Aws::Utils::DateTime>
106 DatasetSummary& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
108
110
113 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
114 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
115 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
116 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
117 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
118 DatasetSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
120 private:
121
122 Aws::String m_name;
123 bool m_nameHasBeenSet = false;
124
125 Aws::String m_datasetArn;
126 bool m_datasetArnHasBeenSet = false;
127
128 Aws::String m_datasetType;
129 bool m_datasetTypeHasBeenSet = false;
130
131 Aws::String m_status;
132 bool m_statusHasBeenSet = false;
133
134 Aws::Utils::DateTime m_creationDateTime{};
135 bool m_creationDateTimeHasBeenSet = false;
136
137 Aws::Utils::DateTime m_lastUpdatedDateTime{};
138 bool m_lastUpdatedDateTimeHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace Personalize
143} // 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