AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline RecommenderSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline RecommenderSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline RecommenderSummary& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const Aws::String& GetRecommenderArn() const{ return m_recommenderArn; }
62 inline bool RecommenderArnHasBeenSet() const { return m_recommenderArnHasBeenSet; }
63 inline void SetRecommenderArn(const Aws::String& value) { m_recommenderArnHasBeenSet = true; m_recommenderArn = value; }
64 inline void SetRecommenderArn(Aws::String&& value) { m_recommenderArnHasBeenSet = true; m_recommenderArn = std::move(value); }
65 inline void SetRecommenderArn(const char* value) { m_recommenderArnHasBeenSet = true; m_recommenderArn.assign(value); }
66 inline RecommenderSummary& WithRecommenderArn(const Aws::String& value) { SetRecommenderArn(value); return *this;}
67 inline RecommenderSummary& WithRecommenderArn(Aws::String&& value) { SetRecommenderArn(std::move(value)); return *this;}
68 inline RecommenderSummary& WithRecommenderArn(const char* value) { SetRecommenderArn(value); return *this;}
70
72
76 inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; }
77 inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
78 inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = value; }
79 inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::move(value); }
80 inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn.assign(value); }
81 inline RecommenderSummary& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;}
82 inline RecommenderSummary& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;}
83 inline RecommenderSummary& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;}
85
87
91 inline const Aws::String& GetRecipeArn() const{ return m_recipeArn; }
92 inline bool RecipeArnHasBeenSet() const { return m_recipeArnHasBeenSet; }
93 inline void SetRecipeArn(const Aws::String& value) { m_recipeArnHasBeenSet = true; m_recipeArn = value; }
94 inline void SetRecipeArn(Aws::String&& value) { m_recipeArnHasBeenSet = true; m_recipeArn = std::move(value); }
95 inline void SetRecipeArn(const char* value) { m_recipeArnHasBeenSet = true; m_recipeArn.assign(value); }
96 inline RecommenderSummary& WithRecipeArn(const Aws::String& value) { SetRecipeArn(value); return *this;}
97 inline RecommenderSummary& WithRecipeArn(Aws::String&& value) { SetRecipeArn(std::move(value)); return *this;}
98 inline RecommenderSummary& WithRecipeArn(const char* value) { SetRecipeArn(value); return *this;}
100
102
105 inline const RecommenderConfig& GetRecommenderConfig() const{ return m_recommenderConfig; }
106 inline bool RecommenderConfigHasBeenSet() const { return m_recommenderConfigHasBeenSet; }
107 inline void SetRecommenderConfig(const RecommenderConfig& value) { m_recommenderConfigHasBeenSet = true; m_recommenderConfig = value; }
108 inline void SetRecommenderConfig(RecommenderConfig&& value) { m_recommenderConfigHasBeenSet = true; m_recommenderConfig = std::move(value); }
110 inline RecommenderSummary& WithRecommenderConfig(RecommenderConfig&& value) { SetRecommenderConfig(std::move(value)); return *this;}
112
114
121 inline const Aws::String& GetStatus() const{ return m_status; }
122 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
123 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
124 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
125 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
126 inline RecommenderSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
127 inline RecommenderSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
128 inline RecommenderSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
130
132
135 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
136 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
137 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
138 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
140 inline RecommenderSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
142
144
147 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
148 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
149 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
150 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
154 private:
155
156 Aws::String m_name;
157 bool m_nameHasBeenSet = false;
158
159 Aws::String m_recommenderArn;
160 bool m_recommenderArnHasBeenSet = false;
161
162 Aws::String m_datasetGroupArn;
163 bool m_datasetGroupArnHasBeenSet = false;
164
165 Aws::String m_recipeArn;
166 bool m_recipeArnHasBeenSet = false;
167
168 RecommenderConfig m_recommenderConfig;
169 bool m_recommenderConfigHasBeenSet = false;
170
171 Aws::String m_status;
172 bool m_statusHasBeenSet = false;
173
174 Aws::Utils::DateTime m_creationDateTime;
175 bool m_creationDateTimeHasBeenSet = false;
176
177 Aws::Utils::DateTime m_lastUpdatedDateTime;
178 bool m_lastUpdatedDateTimeHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace Personalize
183} // namespace Aws
RecommenderSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
RecommenderSummary & WithStatus(const Aws::String &value)
const RecommenderConfig & GetRecommenderConfig() const
RecommenderSummary & WithName(const char *value)
RecommenderSummary & WithRecommenderArn(const Aws::String &value)
RecommenderSummary & WithRecipeArn(const char *value)
RecommenderSummary & WithRecipeArn(const Aws::String &value)
void SetRecommenderArn(const Aws::String &value)
RecommenderSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
RecommenderSummary & WithDatasetGroupArn(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
RecommenderSummary & WithDatasetGroupArn(const char *value)
RecommenderSummary & WithRecommenderArn(const char *value)
void SetRecipeArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetRecommenderConfig(RecommenderConfig &&value)
RecommenderSummary & WithRecommenderConfig(RecommenderConfig &&value)
RecommenderSummary & WithRecipeArn(Aws::String &&value)
RecommenderSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
RecommenderSummary & WithRecommenderArn(Aws::String &&value)
void SetDatasetGroupArn(const Aws::String &value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
RecommenderSummary & WithName(const Aws::String &value)
RecommenderSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
RecommenderSummary & WithStatus(const char *value)
AWS_PERSONALIZE_API RecommenderSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
RecommenderSummary & WithName(Aws::String &&value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
RecommenderSummary & WithRecommenderConfig(const RecommenderConfig &value)
AWS_PERSONALIZE_API RecommenderSummary(Aws::Utils::Json::JsonView jsonValue)
void SetRecommenderConfig(const RecommenderConfig &value)
RecommenderSummary & WithDatasetGroupArn(Aws::String &&value)
RecommenderSummary & WithStatus(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue