AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GetRecommenderRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/customer-profiles/CustomerProfilesRequest.h>
9#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace CustomerProfiles {
18namespace Model {
19
23 public:
24 AWS_CUSTOMERPROFILES_API GetRecommenderRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetRecommender"; }
31
32 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
33
34 AWS_CUSTOMERPROFILES_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetDomainName() const { return m_domainName; }
41 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
42 template <typename DomainNameT = Aws::String>
43 void SetDomainName(DomainNameT&& value) {
44 m_domainNameHasBeenSet = true;
45 m_domainName = std::forward<DomainNameT>(value);
46 }
47 template <typename DomainNameT = Aws::String>
48 GetRecommenderRequest& WithDomainName(DomainNameT&& value) {
49 SetDomainName(std::forward<DomainNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetRecommenderName() const { return m_recommenderName; }
59 inline bool RecommenderNameHasBeenSet() const { return m_recommenderNameHasBeenSet; }
60 template <typename RecommenderNameT = Aws::String>
61 void SetRecommenderName(RecommenderNameT&& value) {
62 m_recommenderNameHasBeenSet = true;
63 m_recommenderName = std::forward<RecommenderNameT>(value);
64 }
65 template <typename RecommenderNameT = Aws::String>
66 GetRecommenderRequest& WithRecommenderName(RecommenderNameT&& value) {
67 SetRecommenderName(std::forward<RecommenderNameT>(value));
68 return *this;
69 }
71
73
76 inline int GetTrainingMetricsCount() const { return m_trainingMetricsCount; }
77 inline bool TrainingMetricsCountHasBeenSet() const { return m_trainingMetricsCountHasBeenSet; }
78 inline void SetTrainingMetricsCount(int value) {
79 m_trainingMetricsCountHasBeenSet = true;
80 m_trainingMetricsCount = value;
81 }
84 return *this;
85 }
87 private:
88 Aws::String m_domainName;
89
90 Aws::String m_recommenderName;
91
92 int m_trainingMetricsCount{0};
93 bool m_domainNameHasBeenSet = false;
94 bool m_recommenderNameHasBeenSet = false;
95 bool m_trainingMetricsCountHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace CustomerProfiles
100} // namespace Aws
AWS_CUSTOMERPROFILES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetRecommenderRequest & WithTrainingMetricsCount(int value)
GetRecommenderRequest & WithDomainName(DomainNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
GetRecommenderRequest & WithRecommenderName(RecommenderNameT &&value)
AWS_CUSTOMERPROFILES_API GetRecommenderRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String