AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdateRecommenderConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint/PinpointRequest.h>
9#include <aws/pinpoint/Pinpoint_EXPORTS.h>
10#include <aws/pinpoint/model/UpdateRecommenderConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Pinpoint {
16namespace Model {
17
21 public:
22 AWS_PINPOINT_API UpdateRecommenderConfigurationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateRecommenderConfiguration"; }
29
30 AWS_PINPOINT_API Aws::String SerializePayload() const override;
31
33
38 inline const Aws::String& GetRecommenderId() const { return m_recommenderId; }
39 inline bool RecommenderIdHasBeenSet() const { return m_recommenderIdHasBeenSet; }
40 template <typename RecommenderIdT = Aws::String>
41 void SetRecommenderId(RecommenderIdT&& value) {
42 m_recommenderIdHasBeenSet = true;
43 m_recommenderId = std::forward<RecommenderIdT>(value);
44 }
45 template <typename RecommenderIdT = Aws::String>
47 SetRecommenderId(std::forward<RecommenderIdT>(value));
48 return *this;
49 }
51
53
54 inline const UpdateRecommenderConfiguration& GetUpdateRecommenderConfiguration() const { return m_updateRecommenderConfiguration; }
55 inline bool UpdateRecommenderConfigurationHasBeenSet() const { return m_updateRecommenderConfigurationHasBeenSet; }
56 template <typename UpdateRecommenderConfigurationT = UpdateRecommenderConfiguration>
57 void SetUpdateRecommenderConfiguration(UpdateRecommenderConfigurationT&& value) {
58 m_updateRecommenderConfigurationHasBeenSet = true;
59 m_updateRecommenderConfiguration = std::forward<UpdateRecommenderConfigurationT>(value);
60 }
61 template <typename UpdateRecommenderConfigurationT = UpdateRecommenderConfiguration>
63 SetUpdateRecommenderConfiguration(std::forward<UpdateRecommenderConfigurationT>(value));
64 return *this;
65 }
67 private:
68 Aws::String m_recommenderId;
69
70 UpdateRecommenderConfiguration m_updateRecommenderConfiguration;
71 bool m_recommenderIdHasBeenSet = false;
72 bool m_updateRecommenderConfigurationHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace Pinpoint
77} // namespace Aws
AWS_PINPOINT_API Aws::String SerializePayload() const override
UpdateRecommenderConfigurationRequest & WithUpdateRecommenderConfiguration(UpdateRecommenderConfigurationT &&value)
const UpdateRecommenderConfiguration & GetUpdateRecommenderConfiguration() const
UpdateRecommenderConfigurationRequest & WithRecommenderId(RecommenderIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String