AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecommenderConfigurationResponse.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.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 Pinpoint
23{
24namespace Model
25{
26
35 {
36 public:
40 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
54 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
55 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
56 inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
57 inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
60 inline RecommenderConfigurationResponse& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
61 inline RecommenderConfigurationResponse& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
62 inline RecommenderConfigurationResponse& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
63 inline RecommenderConfigurationResponse& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
64 inline RecommenderConfigurationResponse& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
65 inline RecommenderConfigurationResponse& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
66 inline RecommenderConfigurationResponse& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
68
70
74 inline const Aws::String& GetCreationDate() const{ return m_creationDate; }
75 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
76 inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
77 inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
78 inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); }
80 inline RecommenderConfigurationResponse& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;}
81 inline RecommenderConfigurationResponse& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
83
85
88 inline const Aws::String& GetDescription() const{ return m_description; }
89 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
90 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
91 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
92 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
93 inline RecommenderConfigurationResponse& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
94 inline RecommenderConfigurationResponse& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
95 inline RecommenderConfigurationResponse& WithDescription(const char* value) { SetDescription(value); return *this;}
97
99
102 inline const Aws::String& GetId() const{ return m_id; }
103 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
104 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
105 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
106 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
107 inline RecommenderConfigurationResponse& WithId(const Aws::String& value) { SetId(value); return *this;}
108 inline RecommenderConfigurationResponse& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
109 inline RecommenderConfigurationResponse& WithId(const char* value) { SetId(value); return *this;}
111
113
117 inline const Aws::String& GetLastModifiedDate() const{ return m_lastModifiedDate; }
118 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
119 inline void SetLastModifiedDate(const Aws::String& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
120 inline void SetLastModifiedDate(Aws::String&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
121 inline void SetLastModifiedDate(const char* value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate.assign(value); }
124 inline RecommenderConfigurationResponse& WithLastModifiedDate(const char* value) { SetLastModifiedDate(value); return *this;}
126
128
131 inline const Aws::String& GetName() const{ return m_name; }
132 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
133 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
134 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
135 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
136 inline RecommenderConfigurationResponse& WithName(const Aws::String& value) { SetName(value); return *this;}
137 inline RecommenderConfigurationResponse& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
138 inline RecommenderConfigurationResponse& WithName(const char* value) { SetName(value); return *this;}
140
142
156 inline const Aws::String& GetRecommendationProviderIdType() const{ return m_recommendationProviderIdType; }
157 inline bool RecommendationProviderIdTypeHasBeenSet() const { return m_recommendationProviderIdTypeHasBeenSet; }
158 inline void SetRecommendationProviderIdType(const Aws::String& value) { m_recommendationProviderIdTypeHasBeenSet = true; m_recommendationProviderIdType = value; }
159 inline void SetRecommendationProviderIdType(Aws::String&& value) { m_recommendationProviderIdTypeHasBeenSet = true; m_recommendationProviderIdType = std::move(value); }
160 inline void SetRecommendationProviderIdType(const char* value) { m_recommendationProviderIdTypeHasBeenSet = true; m_recommendationProviderIdType.assign(value); }
165
167
172 inline const Aws::String& GetRecommendationProviderRoleArn() const{ return m_recommendationProviderRoleArn; }
173 inline bool RecommendationProviderRoleArnHasBeenSet() const { return m_recommendationProviderRoleArnHasBeenSet; }
174 inline void SetRecommendationProviderRoleArn(const Aws::String& value) { m_recommendationProviderRoleArnHasBeenSet = true; m_recommendationProviderRoleArn = value; }
175 inline void SetRecommendationProviderRoleArn(Aws::String&& value) { m_recommendationProviderRoleArnHasBeenSet = true; m_recommendationProviderRoleArn = std::move(value); }
176 inline void SetRecommendationProviderRoleArn(const char* value) { m_recommendationProviderRoleArnHasBeenSet = true; m_recommendationProviderRoleArn.assign(value); }
181
183
188 inline const Aws::String& GetRecommendationProviderUri() const{ return m_recommendationProviderUri; }
189 inline bool RecommendationProviderUriHasBeenSet() const { return m_recommendationProviderUriHasBeenSet; }
190 inline void SetRecommendationProviderUri(const Aws::String& value) { m_recommendationProviderUriHasBeenSet = true; m_recommendationProviderUri = value; }
191 inline void SetRecommendationProviderUri(Aws::String&& value) { m_recommendationProviderUriHasBeenSet = true; m_recommendationProviderUri = std::move(value); }
192 inline void SetRecommendationProviderUri(const char* value) { m_recommendationProviderUriHasBeenSet = true; m_recommendationProviderUri.assign(value); }
197
199
204 inline const Aws::String& GetRecommendationTransformerUri() const{ return m_recommendationTransformerUri; }
205 inline bool RecommendationTransformerUriHasBeenSet() const { return m_recommendationTransformerUriHasBeenSet; }
206 inline void SetRecommendationTransformerUri(const Aws::String& value) { m_recommendationTransformerUriHasBeenSet = true; m_recommendationTransformerUri = value; }
207 inline void SetRecommendationTransformerUri(Aws::String&& value) { m_recommendationTransformerUriHasBeenSet = true; m_recommendationTransformerUri = std::move(value); }
208 inline void SetRecommendationTransformerUri(const char* value) { m_recommendationTransformerUriHasBeenSet = true; m_recommendationTransformerUri.assign(value); }
213
215
225 inline const Aws::String& GetRecommendationsDisplayName() const{ return m_recommendationsDisplayName; }
226 inline bool RecommendationsDisplayNameHasBeenSet() const { return m_recommendationsDisplayNameHasBeenSet; }
227 inline void SetRecommendationsDisplayName(const Aws::String& value) { m_recommendationsDisplayNameHasBeenSet = true; m_recommendationsDisplayName = value; }
228 inline void SetRecommendationsDisplayName(Aws::String&& value) { m_recommendationsDisplayNameHasBeenSet = true; m_recommendationsDisplayName = std::move(value); }
229 inline void SetRecommendationsDisplayName(const char* value) { m_recommendationsDisplayNameHasBeenSet = true; m_recommendationsDisplayName.assign(value); }
234
236
242 inline int GetRecommendationsPerMessage() const{ return m_recommendationsPerMessage; }
243 inline bool RecommendationsPerMessageHasBeenSet() const { return m_recommendationsPerMessageHasBeenSet; }
244 inline void SetRecommendationsPerMessage(int value) { m_recommendationsPerMessageHasBeenSet = true; m_recommendationsPerMessage = value; }
247 private:
248
250 bool m_attributesHasBeenSet = false;
251
252 Aws::String m_creationDate;
253 bool m_creationDateHasBeenSet = false;
254
255 Aws::String m_description;
256 bool m_descriptionHasBeenSet = false;
257
258 Aws::String m_id;
259 bool m_idHasBeenSet = false;
260
261 Aws::String m_lastModifiedDate;
262 bool m_lastModifiedDateHasBeenSet = false;
263
264 Aws::String m_name;
265 bool m_nameHasBeenSet = false;
266
267 Aws::String m_recommendationProviderIdType;
268 bool m_recommendationProviderIdTypeHasBeenSet = false;
269
270 Aws::String m_recommendationProviderRoleArn;
271 bool m_recommendationProviderRoleArnHasBeenSet = false;
272
273 Aws::String m_recommendationProviderUri;
274 bool m_recommendationProviderUriHasBeenSet = false;
275
276 Aws::String m_recommendationTransformerUri;
277 bool m_recommendationTransformerUriHasBeenSet = false;
278
279 Aws::String m_recommendationsDisplayName;
280 bool m_recommendationsDisplayNameHasBeenSet = false;
281
282 int m_recommendationsPerMessage;
283 bool m_recommendationsPerMessageHasBeenSet = false;
284 };
285
286} // namespace Model
287} // namespace Pinpoint
288} // namespace Aws
RecommenderConfigurationResponse & WithDescription(Aws::String &&value)
RecommenderConfigurationResponse & WithId(const char *value)
RecommenderConfigurationResponse & WithRecommendationProviderRoleArn(const char *value)
RecommenderConfigurationResponse & WithRecommendationTransformerUri(const char *value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
RecommenderConfigurationResponse & WithRecommendationsPerMessage(int value)
RecommenderConfigurationResponse & AddAttributes(const char *key, const char *value)
RecommenderConfigurationResponse & WithId(Aws::String &&value)
RecommenderConfigurationResponse & WithRecommendationsDisplayName(const char *value)
RecommenderConfigurationResponse & WithRecommendationProviderIdType(const Aws::String &value)
RecommenderConfigurationResponse & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
RecommenderConfigurationResponse & AddAttributes(Aws::String &&key, const Aws::String &value)
RecommenderConfigurationResponse & WithRecommendationProviderIdType(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
RecommenderConfigurationResponse & WithLastModifiedDate(const Aws::String &value)
RecommenderConfigurationResponse & WithName(Aws::String &&value)
RecommenderConfigurationResponse & WithCreationDate(const Aws::String &value)
RecommenderConfigurationResponse & WithId(const Aws::String &value)
RecommenderConfigurationResponse & WithRecommendationsDisplayName(Aws::String &&value)
RecommenderConfigurationResponse & WithCreationDate(const char *value)
RecommenderConfigurationResponse & WithRecommendationsDisplayName(const Aws::String &value)
RecommenderConfigurationResponse & WithName(const char *value)
RecommenderConfigurationResponse & AddAttributes(const Aws::String &key, const Aws::String &value)
AWS_PINPOINT_API RecommenderConfigurationResponse(Aws::Utils::Json::JsonView jsonValue)
RecommenderConfigurationResponse & WithDescription(const char *value)
RecommenderConfigurationResponse & WithRecommendationProviderRoleArn(const Aws::String &value)
RecommenderConfigurationResponse & AddAttributes(Aws::String &&key, Aws::String &&value)
RecommenderConfigurationResponse & AddAttributes(const char *key, Aws::String &&value)
RecommenderConfigurationResponse & WithDescription(const Aws::String &value)
RecommenderConfigurationResponse & WithRecommendationProviderUri(Aws::String &&value)
RecommenderConfigurationResponse & WithRecommendationTransformerUri(Aws::String &&value)
AWS_PINPOINT_API RecommenderConfigurationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
RecommenderConfigurationResponse & WithRecommendationProviderIdType(const char *value)
RecommenderConfigurationResponse & AddAttributes(Aws::String &&key, const char *value)
RecommenderConfigurationResponse & WithRecommendationTransformerUri(const Aws::String &value)
RecommenderConfigurationResponse & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
RecommenderConfigurationResponse & AddAttributes(const Aws::String &key, Aws::String &&value)
RecommenderConfigurationResponse & WithName(const Aws::String &value)
RecommenderConfigurationResponse & WithLastModifiedDate(Aws::String &&value)
RecommenderConfigurationResponse & WithLastModifiedDate(const char *value)
RecommenderConfigurationResponse & WithRecommendationProviderRoleArn(Aws::String &&value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
RecommenderConfigurationResponse & WithRecommendationProviderUri(const char *value)
RecommenderConfigurationResponse & WithCreationDate(Aws::String &&value)
RecommenderConfigurationResponse & WithRecommendationProviderUri(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue