AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
CreateRecommenderConfigurationRequest.h
1
6#pragma once
7#include <aws/pinpoint/PinpointRequest.h>
8#include <aws/pinpoint/Pinpoint_EXPORTS.h>
9#include <aws/pinpoint/model/CreateRecommenderConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Pinpoint {
15namespace Model {
16
20 public:
21 AWS_PINPOINT_API CreateRecommenderConfigurationRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "CreateRecommenderConfiguration"; }
28
29 AWS_PINPOINT_API Aws::String SerializePayload() const override;
30
32
33 inline const CreateRecommenderConfiguration& GetCreateRecommenderConfiguration() const { return m_createRecommenderConfiguration; }
34 inline bool CreateRecommenderConfigurationHasBeenSet() const { return m_createRecommenderConfigurationHasBeenSet; }
35 template <typename CreateRecommenderConfigurationT = CreateRecommenderConfiguration>
36 void SetCreateRecommenderConfiguration(CreateRecommenderConfigurationT&& value) {
37 m_createRecommenderConfigurationHasBeenSet = true;
38 m_createRecommenderConfiguration = std::forward<CreateRecommenderConfigurationT>(value);
39 }
40 template <typename CreateRecommenderConfigurationT = CreateRecommenderConfiguration>
42 SetCreateRecommenderConfiguration(std::forward<CreateRecommenderConfigurationT>(value));
43 return *this;
44 }
46 private:
47 CreateRecommenderConfiguration m_createRecommenderConfiguration;
48 bool m_createRecommenderConfigurationHasBeenSet = false;
49};
50
51} // namespace Model
52} // namespace Pinpoint
53} // namespace Aws
CreateRecommenderConfigurationRequest & WithCreateRecommenderConfiguration(CreateRecommenderConfigurationT &&value)
const CreateRecommenderConfiguration & GetCreateRecommenderConfiguration() const
AWS_PINPOINT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String