AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline DatasetSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline DatasetSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline DatasetSummary& WithName(const char* value) { SetName(value); return *this;}
57
59
62 inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; }
63 inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
64 inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; }
65 inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); }
66 inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); }
67 inline DatasetSummary& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;}
68 inline DatasetSummary& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;}
69 inline DatasetSummary& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;}
71
73
78 inline const Aws::String& GetDatasetType() const{ return m_datasetType; }
79 inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; }
80 inline void SetDatasetType(const Aws::String& value) { m_datasetTypeHasBeenSet = true; m_datasetType = value; }
81 inline void SetDatasetType(Aws::String&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::move(value); }
82 inline void SetDatasetType(const char* value) { m_datasetTypeHasBeenSet = true; m_datasetType.assign(value); }
83 inline DatasetSummary& WithDatasetType(const Aws::String& value) { SetDatasetType(value); return *this;}
84 inline DatasetSummary& WithDatasetType(Aws::String&& value) { SetDatasetType(std::move(value)); return *this;}
85 inline DatasetSummary& WithDatasetType(const char* value) { SetDatasetType(value); return *this;}
87
89
95 inline const Aws::String& GetStatus() const{ return m_status; }
96 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
97 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
98 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
99 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
100 inline DatasetSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
101 inline DatasetSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
102 inline DatasetSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
104
106
109 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
110 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
111 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
112 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
114 inline DatasetSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
116
118
121 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
122 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
123 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
124 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
126 inline DatasetSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
128 private:
129
130 Aws::String m_name;
131 bool m_nameHasBeenSet = false;
132
133 Aws::String m_datasetArn;
134 bool m_datasetArnHasBeenSet = false;
135
136 Aws::String m_datasetType;
137 bool m_datasetTypeHasBeenSet = false;
138
139 Aws::String m_status;
140 bool m_statusHasBeenSet = false;
141
142 Aws::Utils::DateTime m_creationDateTime;
143 bool m_creationDateTimeHasBeenSet = false;
144
145 Aws::Utils::DateTime m_lastUpdatedDateTime;
146 bool m_lastUpdatedDateTimeHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace Personalize
151} // namespace Aws
void SetDatasetArn(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
const Aws::String & GetDatasetArn() const
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
void SetStatus(const Aws::String &value)
DatasetSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetName() const
DatasetSummary & WithStatus(const Aws::String &value)
DatasetSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
DatasetSummary & WithDatasetArn(Aws::String &&value)
DatasetSummary & WithDatasetType(Aws::String &&value)
void SetDatasetType(Aws::String &&value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
DatasetSummary & WithName(Aws::String &&value)
const Aws::String & GetStatus() const
const Aws::Utils::DateTime & GetCreationDateTime() const
DatasetSummary & WithName(const Aws::String &value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDatasetType(const Aws::String &value)
void SetName(const Aws::String &value)
DatasetSummary & WithName(const char *value)
AWS_PERSONALIZE_API DatasetSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDatasetType() const
DatasetSummary & WithDatasetType(const Aws::String &value)
AWS_PERSONALIZE_API DatasetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(Aws::String &&value)
DatasetSummary & WithStatus(Aws::String &&value)
DatasetSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
DatasetSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
DatasetSummary & WithStatus(const char *value)
DatasetSummary & WithDatasetArn(const char *value)
DatasetSummary & WithDatasetArn(const Aws::String &value)
DatasetSummary & WithDatasetType(const char *value)
void SetDatasetArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue