AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
RecommenderSummary.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#include <aws/personalize/model/RecommenderConfig.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Personalize {
22namespace Model {
23
31 public:
32 AWS_PERSONALIZE_API RecommenderSummary() = default;
33 AWS_PERSONALIZE_API RecommenderSummary(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
49 RecommenderSummary& WithName(NameT&& value) {
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetRecommenderArn() const { return m_recommenderArn; }
60 inline bool RecommenderArnHasBeenSet() const { return m_recommenderArnHasBeenSet; }
61 template <typename RecommenderArnT = Aws::String>
62 void SetRecommenderArn(RecommenderArnT&& value) {
63 m_recommenderArnHasBeenSet = true;
64 m_recommenderArn = std::forward<RecommenderArnT>(value);
65 }
66 template <typename RecommenderArnT = Aws::String>
67 RecommenderSummary& WithRecommenderArn(RecommenderArnT&& value) {
68 SetRecommenderArn(std::forward<RecommenderArnT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetDatasetGroupArn() const { return m_datasetGroupArn; }
79 inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
80 template <typename DatasetGroupArnT = Aws::String>
81 void SetDatasetGroupArn(DatasetGroupArnT&& value) {
82 m_datasetGroupArnHasBeenSet = true;
83 m_datasetGroupArn = std::forward<DatasetGroupArnT>(value);
84 }
85 template <typename DatasetGroupArnT = Aws::String>
86 RecommenderSummary& WithDatasetGroupArn(DatasetGroupArnT&& value) {
87 SetDatasetGroupArn(std::forward<DatasetGroupArnT>(value));
88 return *this;
89 }
91
93
97 inline const Aws::String& GetRecipeArn() const { return m_recipeArn; }
98 inline bool RecipeArnHasBeenSet() const { return m_recipeArnHasBeenSet; }
99 template <typename RecipeArnT = Aws::String>
100 void SetRecipeArn(RecipeArnT&& value) {
101 m_recipeArnHasBeenSet = true;
102 m_recipeArn = std::forward<RecipeArnT>(value);
103 }
104 template <typename RecipeArnT = Aws::String>
105 RecommenderSummary& WithRecipeArn(RecipeArnT&& value) {
106 SetRecipeArn(std::forward<RecipeArnT>(value));
107 return *this;
108 }
110
112
115 inline const RecommenderConfig& GetRecommenderConfig() const { return m_recommenderConfig; }
116 inline bool RecommenderConfigHasBeenSet() const { return m_recommenderConfigHasBeenSet; }
117 template <typename RecommenderConfigT = RecommenderConfig>
118 void SetRecommenderConfig(RecommenderConfigT&& value) {
119 m_recommenderConfigHasBeenSet = true;
120 m_recommenderConfig = std::forward<RecommenderConfigT>(value);
121 }
122 template <typename RecommenderConfigT = RecommenderConfig>
123 RecommenderSummary& WithRecommenderConfig(RecommenderConfigT&& value) {
124 SetRecommenderConfig(std::forward<RecommenderConfigT>(value));
125 return *this;
126 }
128
130
137 inline const Aws::String& GetStatus() const { return m_status; }
138 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
139 template <typename StatusT = Aws::String>
140 void SetStatus(StatusT&& value) {
141 m_statusHasBeenSet = true;
142 m_status = std::forward<StatusT>(value);
143 }
144 template <typename StatusT = Aws::String>
145 RecommenderSummary& WithStatus(StatusT&& value) {
146 SetStatus(std::forward<StatusT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
156 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
157 template <typename CreationDateTimeT = Aws::Utils::DateTime>
158 void SetCreationDateTime(CreationDateTimeT&& value) {
159 m_creationDateTimeHasBeenSet = true;
160 m_creationDateTime = std::forward<CreationDateTimeT>(value);
161 }
162 template <typename CreationDateTimeT = Aws::Utils::DateTime>
163 RecommenderSummary& WithCreationDateTime(CreationDateTimeT&& value) {
164 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
174 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
175 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
176 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
177 m_lastUpdatedDateTimeHasBeenSet = true;
178 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
179 }
180 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
181 RecommenderSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
182 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
183 return *this;
184 }
186 private:
187 Aws::String m_name;
188
189 Aws::String m_recommenderArn;
190
191 Aws::String m_datasetGroupArn;
192
193 Aws::String m_recipeArn;
194
195 RecommenderConfig m_recommenderConfig;
196
197 Aws::String m_status;
198
199 Aws::Utils::DateTime m_creationDateTime{};
200
201 Aws::Utils::DateTime m_lastUpdatedDateTime{};
202 bool m_nameHasBeenSet = false;
203 bool m_recommenderArnHasBeenSet = false;
204 bool m_datasetGroupArnHasBeenSet = false;
205 bool m_recipeArnHasBeenSet = false;
206 bool m_recommenderConfigHasBeenSet = false;
207 bool m_statusHasBeenSet = false;
208 bool m_creationDateTimeHasBeenSet = false;
209 bool m_lastUpdatedDateTimeHasBeenSet = false;
210};
211
212} // namespace Model
213} // namespace Personalize
214} // namespace Aws
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
const RecommenderConfig & GetRecommenderConfig() const
AWS_PERSONALIZE_API RecommenderSummary()=default
RecommenderSummary & WithCreationDateTime(CreationDateTimeT &&value)
RecommenderSummary & WithRecommenderConfig(RecommenderConfigT &&value)
RecommenderSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
RecommenderSummary & WithName(NameT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
RecommenderSummary & WithRecommenderArn(RecommenderArnT &&value)
RecommenderSummary & WithDatasetGroupArn(DatasetGroupArnT &&value)
void SetDatasetGroupArn(DatasetGroupArnT &&value)
void SetRecommenderConfig(RecommenderConfigT &&value)
void SetRecommenderArn(RecommenderArnT &&value)
AWS_PERSONALIZE_API RecommenderSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
RecommenderSummary & WithStatus(StatusT &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PERSONALIZE_API RecommenderSummary(Aws::Utils::Json::JsonView jsonValue)
RecommenderSummary & WithRecipeArn(RecipeArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue