AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateRecommenderConfiguration.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
64 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
65 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
66 inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
67 inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
70 inline CreateRecommenderConfiguration& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
71 inline CreateRecommenderConfiguration& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
72 inline CreateRecommenderConfiguration& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
73 inline CreateRecommenderConfiguration& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
74 inline CreateRecommenderConfiguration& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
75 inline CreateRecommenderConfiguration& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
76 inline CreateRecommenderConfiguration& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
78
80
85 inline const Aws::String& GetDescription() const{ return m_description; }
86 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
87 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
88 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
89 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
90 inline CreateRecommenderConfiguration& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
91 inline CreateRecommenderConfiguration& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
92 inline CreateRecommenderConfiguration& WithDescription(const char* value) { SetDescription(value); return *this;}
94
96
101 inline const Aws::String& GetName() const{ return m_name; }
102 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
103 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
104 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
105 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
106 inline CreateRecommenderConfiguration& WithName(const Aws::String& value) { SetName(value); return *this;}
107 inline CreateRecommenderConfiguration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
108 inline CreateRecommenderConfiguration& WithName(const char* value) { SetName(value); return *this;}
110
112
126 inline const Aws::String& GetRecommendationProviderIdType() const{ return m_recommendationProviderIdType; }
127 inline bool RecommendationProviderIdTypeHasBeenSet() const { return m_recommendationProviderIdTypeHasBeenSet; }
128 inline void SetRecommendationProviderIdType(const Aws::String& value) { m_recommendationProviderIdTypeHasBeenSet = true; m_recommendationProviderIdType = value; }
129 inline void SetRecommendationProviderIdType(Aws::String&& value) { m_recommendationProviderIdTypeHasBeenSet = true; m_recommendationProviderIdType = std::move(value); }
130 inline void SetRecommendationProviderIdType(const char* value) { m_recommendationProviderIdTypeHasBeenSet = true; m_recommendationProviderIdType.assign(value); }
135
137
142 inline const Aws::String& GetRecommendationProviderRoleArn() const{ return m_recommendationProviderRoleArn; }
143 inline bool RecommendationProviderRoleArnHasBeenSet() const { return m_recommendationProviderRoleArnHasBeenSet; }
144 inline void SetRecommendationProviderRoleArn(const Aws::String& value) { m_recommendationProviderRoleArnHasBeenSet = true; m_recommendationProviderRoleArn = value; }
145 inline void SetRecommendationProviderRoleArn(Aws::String&& value) { m_recommendationProviderRoleArnHasBeenSet = true; m_recommendationProviderRoleArn = std::move(value); }
146 inline void SetRecommendationProviderRoleArn(const char* value) { m_recommendationProviderRoleArnHasBeenSet = true; m_recommendationProviderRoleArn.assign(value); }
151
153
158 inline const Aws::String& GetRecommendationProviderUri() const{ return m_recommendationProviderUri; }
159 inline bool RecommendationProviderUriHasBeenSet() const { return m_recommendationProviderUriHasBeenSet; }
160 inline void SetRecommendationProviderUri(const Aws::String& value) { m_recommendationProviderUriHasBeenSet = true; m_recommendationProviderUri = value; }
161 inline void SetRecommendationProviderUri(Aws::String&& value) { m_recommendationProviderUriHasBeenSet = true; m_recommendationProviderUri = std::move(value); }
162 inline void SetRecommendationProviderUri(const char* value) { m_recommendationProviderUriHasBeenSet = true; m_recommendationProviderUri.assign(value); }
167
169
174 inline const Aws::String& GetRecommendationTransformerUri() const{ return m_recommendationTransformerUri; }
175 inline bool RecommendationTransformerUriHasBeenSet() const { return m_recommendationTransformerUriHasBeenSet; }
176 inline void SetRecommendationTransformerUri(const Aws::String& value) { m_recommendationTransformerUriHasBeenSet = true; m_recommendationTransformerUri = value; }
177 inline void SetRecommendationTransformerUri(Aws::String&& value) { m_recommendationTransformerUriHasBeenSet = true; m_recommendationTransformerUri = std::move(value); }
178 inline void SetRecommendationTransformerUri(const char* value) { m_recommendationTransformerUriHasBeenSet = true; m_recommendationTransformerUri.assign(value); }
183
185
196 inline const Aws::String& GetRecommendationsDisplayName() const{ return m_recommendationsDisplayName; }
197 inline bool RecommendationsDisplayNameHasBeenSet() const { return m_recommendationsDisplayNameHasBeenSet; }
198 inline void SetRecommendationsDisplayName(const Aws::String& value) { m_recommendationsDisplayNameHasBeenSet = true; m_recommendationsDisplayName = value; }
199 inline void SetRecommendationsDisplayName(Aws::String&& value) { m_recommendationsDisplayNameHasBeenSet = true; m_recommendationsDisplayName = std::move(value); }
200 inline void SetRecommendationsDisplayName(const char* value) { m_recommendationsDisplayNameHasBeenSet = true; m_recommendationsDisplayName.assign(value); }
205
207
217 inline int GetRecommendationsPerMessage() const{ return m_recommendationsPerMessage; }
218 inline bool RecommendationsPerMessageHasBeenSet() const { return m_recommendationsPerMessageHasBeenSet; }
219 inline void SetRecommendationsPerMessage(int value) { m_recommendationsPerMessageHasBeenSet = true; m_recommendationsPerMessage = value; }
222 private:
223
225 bool m_attributesHasBeenSet = false;
226
227 Aws::String m_description;
228 bool m_descriptionHasBeenSet = false;
229
230 Aws::String m_name;
231 bool m_nameHasBeenSet = false;
232
233 Aws::String m_recommendationProviderIdType;
234 bool m_recommendationProviderIdTypeHasBeenSet = false;
235
236 Aws::String m_recommendationProviderRoleArn;
237 bool m_recommendationProviderRoleArnHasBeenSet = false;
238
239 Aws::String m_recommendationProviderUri;
240 bool m_recommendationProviderUriHasBeenSet = false;
241
242 Aws::String m_recommendationTransformerUri;
243 bool m_recommendationTransformerUriHasBeenSet = false;
244
245 Aws::String m_recommendationsDisplayName;
246 bool m_recommendationsDisplayNameHasBeenSet = false;
247
248 int m_recommendationsPerMessage;
249 bool m_recommendationsPerMessageHasBeenSet = false;
250 };
251
252} // namespace Model
253} // namespace Pinpoint
254} // namespace Aws
CreateRecommenderConfiguration & WithRecommendationProviderUri(Aws::String &&value)
CreateRecommenderConfiguration & WithDescription(Aws::String &&value)
CreateRecommenderConfiguration & AddAttributes(const Aws::String &key, Aws::String &&value)
CreateRecommenderConfiguration & WithDescription(const char *value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
CreateRecommenderConfiguration & WithRecommendationProviderRoleArn(const char *value)
CreateRecommenderConfiguration & WithRecommendationTransformerUri(const char *value)
CreateRecommenderConfiguration & AddAttributes(Aws::String &&key, const char *value)
CreateRecommenderConfiguration & AddAttributes(Aws::String &&key, const Aws::String &value)
CreateRecommenderConfiguration & AddAttributes(const char *key, const char *value)
CreateRecommenderConfiguration & WithRecommendationProviderRoleArn(const Aws::String &value)
CreateRecommenderConfiguration & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
CreateRecommenderConfiguration & WithRecommendationProviderIdType(const char *value)
CreateRecommenderConfiguration & WithRecommendationsDisplayName(const Aws::String &value)
CreateRecommenderConfiguration & AddAttributes(Aws::String &&key, Aws::String &&value)
CreateRecommenderConfiguration & WithRecommendationProviderRoleArn(Aws::String &&value)
CreateRecommenderConfiguration & WithRecommendationsPerMessage(int value)
CreateRecommenderConfiguration & WithRecommendationProviderIdType(const Aws::String &value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
CreateRecommenderConfiguration & WithRecommendationTransformerUri(Aws::String &&value)
CreateRecommenderConfiguration & WithName(const char *value)
CreateRecommenderConfiguration & AddAttributes(const Aws::String &key, const Aws::String &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
CreateRecommenderConfiguration & WithRecommendationsDisplayName(Aws::String &&value)
CreateRecommenderConfiguration & WithRecommendationsDisplayName(const char *value)
CreateRecommenderConfiguration & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
AWS_PINPOINT_API CreateRecommenderConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateRecommenderConfiguration & AddAttributes(const char *key, Aws::String &&value)
CreateRecommenderConfiguration & WithName(Aws::String &&value)
CreateRecommenderConfiguration & WithName(const Aws::String &value)
CreateRecommenderConfiguration & WithDescription(const Aws::String &value)
AWS_PINPOINT_API CreateRecommenderConfiguration(Aws::Utils::Json::JsonView jsonValue)
CreateRecommenderConfiguration & WithRecommendationTransformerUri(const Aws::String &value)
CreateRecommenderConfiguration & WithRecommendationProviderIdType(Aws::String &&value)
CreateRecommenderConfiguration & WithRecommendationProviderUri(const char *value)
CreateRecommenderConfiguration & 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