AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateRecommenderRequest.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/personalize/PersonalizeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/personalize/model/RecommenderConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Personalize
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_PERSONALIZE_API UpdateRecommenderRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateRecommender"; }
32
33 AWS_PERSONALIZE_API Aws::String SerializePayload() const override;
34
35 AWS_PERSONALIZE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetRecommenderArn() const{ return m_recommenderArn; }
43 inline bool RecommenderArnHasBeenSet() const { return m_recommenderArnHasBeenSet; }
44 inline void SetRecommenderArn(const Aws::String& value) { m_recommenderArnHasBeenSet = true; m_recommenderArn = value; }
45 inline void SetRecommenderArn(Aws::String&& value) { m_recommenderArnHasBeenSet = true; m_recommenderArn = std::move(value); }
46 inline void SetRecommenderArn(const char* value) { m_recommenderArnHasBeenSet = true; m_recommenderArn.assign(value); }
47 inline UpdateRecommenderRequest& WithRecommenderArn(const Aws::String& value) { SetRecommenderArn(value); return *this;}
48 inline UpdateRecommenderRequest& WithRecommenderArn(Aws::String&& value) { SetRecommenderArn(std::move(value)); return *this;}
49 inline UpdateRecommenderRequest& WithRecommenderArn(const char* value) { SetRecommenderArn(value); return *this;}
51
53
56 inline const RecommenderConfig& GetRecommenderConfig() const{ return m_recommenderConfig; }
57 inline bool RecommenderConfigHasBeenSet() const { return m_recommenderConfigHasBeenSet; }
58 inline void SetRecommenderConfig(const RecommenderConfig& value) { m_recommenderConfigHasBeenSet = true; m_recommenderConfig = value; }
59 inline void SetRecommenderConfig(RecommenderConfig&& value) { m_recommenderConfigHasBeenSet = true; m_recommenderConfig = std::move(value); }
61 inline UpdateRecommenderRequest& WithRecommenderConfig(RecommenderConfig&& value) { SetRecommenderConfig(std::move(value)); return *this;}
63 private:
64
65 Aws::String m_recommenderArn;
66 bool m_recommenderArnHasBeenSet = false;
67
68 RecommenderConfig m_recommenderConfig;
69 bool m_recommenderConfigHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Personalize
74} // namespace Aws
void SetRecommenderConfig(const RecommenderConfig &value)
AWS_PERSONALIZE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateRecommenderRequest & WithRecommenderArn(const Aws::String &value)
UpdateRecommenderRequest & WithRecommenderArn(Aws::String &&value)
UpdateRecommenderRequest & WithRecommenderConfig(const RecommenderConfig &value)
AWS_PERSONALIZE_API Aws::String SerializePayload() const override
UpdateRecommenderRequest & WithRecommenderArn(const char *value)
UpdateRecommenderRequest & WithRecommenderConfig(RecommenderConfig &&value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String