AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
MatchingRequest.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/model/AutoMerging.h>
9#include <aws/customer-profiles/model/ExportingConfig.h>
10#include <aws/customer-profiles/model/JobSchedule.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CustomerProfiles {
22namespace Model {
23
31 public:
32 AWS_CUSTOMERPROFILES_API MatchingRequest() = default;
33 AWS_CUSTOMERPROFILES_API MatchingRequest(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CUSTOMERPROFILES_API MatchingRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline bool GetEnabled() const { return m_enabled; }
42 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
43 inline void SetEnabled(bool value) {
44 m_enabledHasBeenSet = true;
45 m_enabled = value;
46 }
47 inline MatchingRequest& WithEnabled(bool value) {
48 SetEnabled(value);
49 return *this;
50 }
52
54
58 inline const JobSchedule& GetJobSchedule() const { return m_jobSchedule; }
59 inline bool JobScheduleHasBeenSet() const { return m_jobScheduleHasBeenSet; }
60 template <typename JobScheduleT = JobSchedule>
61 void SetJobSchedule(JobScheduleT&& value) {
62 m_jobScheduleHasBeenSet = true;
63 m_jobSchedule = std::forward<JobScheduleT>(value);
64 }
65 template <typename JobScheduleT = JobSchedule>
66 MatchingRequest& WithJobSchedule(JobScheduleT&& value) {
67 SetJobSchedule(std::forward<JobScheduleT>(value));
68 return *this;
69 }
71
73
76 inline const AutoMerging& GetAutoMerging() const { return m_autoMerging; }
77 inline bool AutoMergingHasBeenSet() const { return m_autoMergingHasBeenSet; }
78 template <typename AutoMergingT = AutoMerging>
79 void SetAutoMerging(AutoMergingT&& value) {
80 m_autoMergingHasBeenSet = true;
81 m_autoMerging = std::forward<AutoMergingT>(value);
82 }
83 template <typename AutoMergingT = AutoMerging>
84 MatchingRequest& WithAutoMerging(AutoMergingT&& value) {
85 SetAutoMerging(std::forward<AutoMergingT>(value));
86 return *this;
87 }
89
91
95 inline const ExportingConfig& GetExportingConfig() const { return m_exportingConfig; }
96 inline bool ExportingConfigHasBeenSet() const { return m_exportingConfigHasBeenSet; }
97 template <typename ExportingConfigT = ExportingConfig>
98 void SetExportingConfig(ExportingConfigT&& value) {
99 m_exportingConfigHasBeenSet = true;
100 m_exportingConfig = std::forward<ExportingConfigT>(value);
101 }
102 template <typename ExportingConfigT = ExportingConfig>
103 MatchingRequest& WithExportingConfig(ExportingConfigT&& value) {
104 SetExportingConfig(std::forward<ExportingConfigT>(value));
105 return *this;
106 }
108 private:
109 bool m_enabled{false};
110
111 JobSchedule m_jobSchedule;
112
113 AutoMerging m_autoMerging;
114
115 ExportingConfig m_exportingConfig;
116 bool m_enabledHasBeenSet = false;
117 bool m_jobScheduleHasBeenSet = false;
118 bool m_autoMergingHasBeenSet = false;
119 bool m_exportingConfigHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace CustomerProfiles
124} // namespace Aws
MatchingRequest & WithJobSchedule(JobScheduleT &&value)
void SetExportingConfig(ExportingConfigT &&value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
MatchingRequest & WithAutoMerging(AutoMergingT &&value)
AWS_CUSTOMERPROFILES_API MatchingRequest()=default
const ExportingConfig & GetExportingConfig() const
MatchingRequest & WithEnabled(bool value)
AWS_CUSTOMERPROFILES_API MatchingRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API MatchingRequest(Aws::Utils::Json::JsonView jsonValue)
MatchingRequest & WithExportingConfig(ExportingConfigT &&value)
Aws::Utils::Json::JsonValue JsonValue