AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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:
37 AWS_PINPOINT_API RecommenderConfigurationResponse() = default;
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 template<typename AttributesT = Aws::Map<Aws::String, Aws::String>>
57 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes = std::forward<AttributesT>(value); }
58 template<typename AttributesT = Aws::Map<Aws::String, Aws::String>>
59 RecommenderConfigurationResponse& WithAttributes(AttributesT&& value) { SetAttributes(std::forward<AttributesT>(value)); return *this;}
60 template<typename AttributesKeyT = Aws::String, typename AttributesValueT = Aws::String>
61 RecommenderConfigurationResponse& AddAttributes(AttributesKeyT&& key, AttributesValueT&& value) {
62 m_attributesHasBeenSet = true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value)); return *this;
63 }
65
67
71 inline const Aws::String& GetCreationDate() const { return m_creationDate; }
72 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
73 template<typename CreationDateT = Aws::String>
74 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
75 template<typename CreationDateT = Aws::String>
76 RecommenderConfigurationResponse& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
78
80
83 inline const Aws::String& GetDescription() const { return m_description; }
84 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
85 template<typename DescriptionT = Aws::String>
86 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
87 template<typename DescriptionT = Aws::String>
88 RecommenderConfigurationResponse& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
90
92
95 inline const Aws::String& GetId() const { return m_id; }
96 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
97 template<typename IdT = Aws::String>
98 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
99 template<typename IdT = Aws::String>
100 RecommenderConfigurationResponse& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
102
104
108 inline const Aws::String& GetLastModifiedDate() const { return m_lastModifiedDate; }
109 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
110 template<typename LastModifiedDateT = Aws::String>
111 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
112 template<typename LastModifiedDateT = Aws::String>
113 RecommenderConfigurationResponse& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
115
117
120 inline const Aws::String& GetName() const { return m_name; }
121 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
122 template<typename NameT = Aws::String>
123 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
124 template<typename NameT = Aws::String>
125 RecommenderConfigurationResponse& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
127
129
143 inline const Aws::String& GetRecommendationProviderIdType() const { return m_recommendationProviderIdType; }
144 inline bool RecommendationProviderIdTypeHasBeenSet() const { return m_recommendationProviderIdTypeHasBeenSet; }
145 template<typename RecommendationProviderIdTypeT = Aws::String>
146 void SetRecommendationProviderIdType(RecommendationProviderIdTypeT&& value) { m_recommendationProviderIdTypeHasBeenSet = true; m_recommendationProviderIdType = std::forward<RecommendationProviderIdTypeT>(value); }
147 template<typename RecommendationProviderIdTypeT = Aws::String>
148 RecommenderConfigurationResponse& WithRecommendationProviderIdType(RecommendationProviderIdTypeT&& value) { SetRecommendationProviderIdType(std::forward<RecommendationProviderIdTypeT>(value)); return *this;}
150
152
157 inline const Aws::String& GetRecommendationProviderRoleArn() const { return m_recommendationProviderRoleArn; }
158 inline bool RecommendationProviderRoleArnHasBeenSet() const { return m_recommendationProviderRoleArnHasBeenSet; }
159 template<typename RecommendationProviderRoleArnT = Aws::String>
160 void SetRecommendationProviderRoleArn(RecommendationProviderRoleArnT&& value) { m_recommendationProviderRoleArnHasBeenSet = true; m_recommendationProviderRoleArn = std::forward<RecommendationProviderRoleArnT>(value); }
161 template<typename RecommendationProviderRoleArnT = Aws::String>
162 RecommenderConfigurationResponse& WithRecommendationProviderRoleArn(RecommendationProviderRoleArnT&& value) { SetRecommendationProviderRoleArn(std::forward<RecommendationProviderRoleArnT>(value)); return *this;}
164
166
171 inline const Aws::String& GetRecommendationProviderUri() const { return m_recommendationProviderUri; }
172 inline bool RecommendationProviderUriHasBeenSet() const { return m_recommendationProviderUriHasBeenSet; }
173 template<typename RecommendationProviderUriT = Aws::String>
174 void SetRecommendationProviderUri(RecommendationProviderUriT&& value) { m_recommendationProviderUriHasBeenSet = true; m_recommendationProviderUri = std::forward<RecommendationProviderUriT>(value); }
175 template<typename RecommendationProviderUriT = Aws::String>
176 RecommenderConfigurationResponse& WithRecommendationProviderUri(RecommendationProviderUriT&& value) { SetRecommendationProviderUri(std::forward<RecommendationProviderUriT>(value)); return *this;}
178
180
185 inline const Aws::String& GetRecommendationTransformerUri() const { return m_recommendationTransformerUri; }
186 inline bool RecommendationTransformerUriHasBeenSet() const { return m_recommendationTransformerUriHasBeenSet; }
187 template<typename RecommendationTransformerUriT = Aws::String>
188 void SetRecommendationTransformerUri(RecommendationTransformerUriT&& value) { m_recommendationTransformerUriHasBeenSet = true; m_recommendationTransformerUri = std::forward<RecommendationTransformerUriT>(value); }
189 template<typename RecommendationTransformerUriT = Aws::String>
190 RecommenderConfigurationResponse& WithRecommendationTransformerUri(RecommendationTransformerUriT&& value) { SetRecommendationTransformerUri(std::forward<RecommendationTransformerUriT>(value)); return *this;}
192
194
204 inline const Aws::String& GetRecommendationsDisplayName() const { return m_recommendationsDisplayName; }
205 inline bool RecommendationsDisplayNameHasBeenSet() const { return m_recommendationsDisplayNameHasBeenSet; }
206 template<typename RecommendationsDisplayNameT = Aws::String>
207 void SetRecommendationsDisplayName(RecommendationsDisplayNameT&& value) { m_recommendationsDisplayNameHasBeenSet = true; m_recommendationsDisplayName = std::forward<RecommendationsDisplayNameT>(value); }
208 template<typename RecommendationsDisplayNameT = Aws::String>
209 RecommenderConfigurationResponse& WithRecommendationsDisplayName(RecommendationsDisplayNameT&& value) { SetRecommendationsDisplayName(std::forward<RecommendationsDisplayNameT>(value)); return *this;}
211
213
219 inline int GetRecommendationsPerMessage() const { return m_recommendationsPerMessage; }
220 inline bool RecommendationsPerMessageHasBeenSet() const { return m_recommendationsPerMessageHasBeenSet; }
221 inline void SetRecommendationsPerMessage(int value) { m_recommendationsPerMessageHasBeenSet = true; m_recommendationsPerMessage = value; }
224 private:
225
227 bool m_attributesHasBeenSet = false;
228
229 Aws::String m_creationDate;
230 bool m_creationDateHasBeenSet = false;
231
232 Aws::String m_description;
233 bool m_descriptionHasBeenSet = false;
234
235 Aws::String m_id;
236 bool m_idHasBeenSet = false;
237
238 Aws::String m_lastModifiedDate;
239 bool m_lastModifiedDateHasBeenSet = false;
240
241 Aws::String m_name;
242 bool m_nameHasBeenSet = false;
243
244 Aws::String m_recommendationProviderIdType;
245 bool m_recommendationProviderIdTypeHasBeenSet = false;
246
247 Aws::String m_recommendationProviderRoleArn;
248 bool m_recommendationProviderRoleArnHasBeenSet = false;
249
250 Aws::String m_recommendationProviderUri;
251 bool m_recommendationProviderUriHasBeenSet = false;
252
253 Aws::String m_recommendationTransformerUri;
254 bool m_recommendationTransformerUriHasBeenSet = false;
255
256 Aws::String m_recommendationsDisplayName;
257 bool m_recommendationsDisplayNameHasBeenSet = false;
258
259 int m_recommendationsPerMessage{0};
260 bool m_recommendationsPerMessageHasBeenSet = false;
261 };
262
263} // namespace Model
264} // namespace Pinpoint
265} // namespace Aws
RecommenderConfigurationResponse & WithDescription(DescriptionT &&value)
RecommenderConfigurationResponse & WithRecommendationProviderIdType(RecommendationProviderIdTypeT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRecommendationProviderRoleArn(RecommendationProviderRoleArnT &&value)
AWS_PINPOINT_API RecommenderConfigurationResponse()=default
RecommenderConfigurationResponse & WithRecommendationsPerMessage(int value)
RecommenderConfigurationResponse & WithName(NameT &&value)
RecommenderConfigurationResponse & WithRecommendationProviderRoleArn(RecommendationProviderRoleArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
RecommenderConfigurationResponse & WithRecommendationProviderUri(RecommendationProviderUriT &&value)
RecommenderConfigurationResponse & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
AWS_PINPOINT_API RecommenderConfigurationResponse(Aws::Utils::Json::JsonView jsonValue)
RecommenderConfigurationResponse & WithRecommendationTransformerUri(RecommendationTransformerUriT &&value)
RecommenderConfigurationResponse & WithLastModifiedDate(LastModifiedDateT &&value)
RecommenderConfigurationResponse & WithRecommendationsDisplayName(RecommendationsDisplayNameT &&value)
AWS_PINPOINT_API RecommenderConfigurationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
RecommenderConfigurationResponse & WithCreationDate(CreationDateT &&value)
void SetRecommendationProviderIdType(RecommendationProviderIdTypeT &&value)
void SetRecommendationsDisplayName(RecommendationsDisplayNameT &&value)
RecommenderConfigurationResponse & WithAttributes(AttributesT &&value)
void SetRecommendationTransformerUri(RecommendationTransformerUriT &&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