AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RecommenderSummary.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/personalize/model/RecommenderConfig.h>
10#include <aws/core/utils/DateTime.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 Personalize
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_PERSONALIZE_API RecommenderSummary() = default;
38 AWS_PERSONALIZE_API RecommenderSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetName() const { return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 template<typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
51 template<typename NameT = Aws::String>
52 RecommenderSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_recommenderArnHasBeenSet = true; m_recommenderArn = std::forward<RecommenderArnT>(value); }
63 template<typename RecommenderArnT = Aws::String>
64 RecommenderSummary& WithRecommenderArn(RecommenderArnT&& value) { SetRecommenderArn(std::forward<RecommenderArnT>(value)); return *this;}
66
68
72 inline const Aws::String& GetDatasetGroupArn() const { return m_datasetGroupArn; }
73 inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
74 template<typename DatasetGroupArnT = Aws::String>
75 void SetDatasetGroupArn(DatasetGroupArnT&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::forward<DatasetGroupArnT>(value); }
76 template<typename DatasetGroupArnT = Aws::String>
77 RecommenderSummary& WithDatasetGroupArn(DatasetGroupArnT&& value) { SetDatasetGroupArn(std::forward<DatasetGroupArnT>(value)); return *this;}
79
81
85 inline const Aws::String& GetRecipeArn() const { return m_recipeArn; }
86 inline bool RecipeArnHasBeenSet() const { return m_recipeArnHasBeenSet; }
87 template<typename RecipeArnT = Aws::String>
88 void SetRecipeArn(RecipeArnT&& value) { m_recipeArnHasBeenSet = true; m_recipeArn = std::forward<RecipeArnT>(value); }
89 template<typename RecipeArnT = Aws::String>
90 RecommenderSummary& WithRecipeArn(RecipeArnT&& value) { SetRecipeArn(std::forward<RecipeArnT>(value)); return *this;}
92
94
97 inline const RecommenderConfig& GetRecommenderConfig() const { return m_recommenderConfig; }
98 inline bool RecommenderConfigHasBeenSet() const { return m_recommenderConfigHasBeenSet; }
99 template<typename RecommenderConfigT = RecommenderConfig>
100 void SetRecommenderConfig(RecommenderConfigT&& value) { m_recommenderConfigHasBeenSet = true; m_recommenderConfig = std::forward<RecommenderConfigT>(value); }
101 template<typename RecommenderConfigT = RecommenderConfig>
102 RecommenderSummary& WithRecommenderConfig(RecommenderConfigT&& value) { SetRecommenderConfig(std::forward<RecommenderConfigT>(value)); return *this;}
104
106
113 inline const Aws::String& GetStatus() const { return m_status; }
114 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
115 template<typename StatusT = Aws::String>
116 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
117 template<typename StatusT = Aws::String>
118 RecommenderSummary& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
120
122
125 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
126 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
127 template<typename CreationDateTimeT = Aws::Utils::DateTime>
128 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
129 template<typename CreationDateTimeT = Aws::Utils::DateTime>
130 RecommenderSummary& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
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) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
141 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
142 RecommenderSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
144 private:
145
146 Aws::String m_name;
147 bool m_nameHasBeenSet = false;
148
149 Aws::String m_recommenderArn;
150 bool m_recommenderArnHasBeenSet = false;
151
152 Aws::String m_datasetGroupArn;
153 bool m_datasetGroupArnHasBeenSet = false;
154
155 Aws::String m_recipeArn;
156 bool m_recipeArnHasBeenSet = false;
157
158 RecommenderConfig m_recommenderConfig;
159 bool m_recommenderConfigHasBeenSet = false;
160
161 Aws::String m_status;
162 bool m_statusHasBeenSet = false;
163
164 Aws::Utils::DateTime m_creationDateTime{};
165 bool m_creationDateTimeHasBeenSet = false;
166
167 Aws::Utils::DateTime m_lastUpdatedDateTime{};
168 bool m_lastUpdatedDateTimeHasBeenSet = false;
169 };
170
171} // namespace Model
172} // namespace Personalize
173} // 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