AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateRecommenderConfigurationRequest.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/PinpointRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/pinpoint/model/UpdateRecommenderConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Pinpoint
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_PINPOINT_API UpdateRecommenderConfigurationRequest() = default;
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 "UpdateRecommenderConfiguration"; }
32
33 AWS_PINPOINT_API Aws::String SerializePayload() const override;
34
35
37
42 inline const Aws::String& GetRecommenderId() const { return m_recommenderId; }
43 inline bool RecommenderIdHasBeenSet() const { return m_recommenderIdHasBeenSet; }
44 template<typename RecommenderIdT = Aws::String>
45 void SetRecommenderId(RecommenderIdT&& value) { m_recommenderIdHasBeenSet = true; m_recommenderId = std::forward<RecommenderIdT>(value); }
46 template<typename RecommenderIdT = Aws::String>
47 UpdateRecommenderConfigurationRequest& WithRecommenderId(RecommenderIdT&& value) { SetRecommenderId(std::forward<RecommenderIdT>(value)); return *this;}
49
51
52 inline const UpdateRecommenderConfiguration& GetUpdateRecommenderConfiguration() const { return m_updateRecommenderConfiguration; }
53 inline bool UpdateRecommenderConfigurationHasBeenSet() const { return m_updateRecommenderConfigurationHasBeenSet; }
54 template<typename UpdateRecommenderConfigurationT = UpdateRecommenderConfiguration>
55 void SetUpdateRecommenderConfiguration(UpdateRecommenderConfigurationT&& value) { m_updateRecommenderConfigurationHasBeenSet = true; m_updateRecommenderConfiguration = std::forward<UpdateRecommenderConfigurationT>(value); }
56 template<typename UpdateRecommenderConfigurationT = UpdateRecommenderConfiguration>
57 UpdateRecommenderConfigurationRequest& WithUpdateRecommenderConfiguration(UpdateRecommenderConfigurationT&& value) { SetUpdateRecommenderConfiguration(std::forward<UpdateRecommenderConfigurationT>(value)); return *this;}
59 private:
60
61 Aws::String m_recommenderId;
62 bool m_recommenderIdHasBeenSet = false;
63
64 UpdateRecommenderConfiguration m_updateRecommenderConfiguration;
65 bool m_updateRecommenderConfigurationHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace Pinpoint
70} // 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