AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
FindMatchesParameters.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
29 public:
30 AWS_GLUE_API FindMatchesParameters() = default;
34
36
40 inline const Aws::String& GetPrimaryKeyColumnName() const { return m_primaryKeyColumnName; }
41 inline bool PrimaryKeyColumnNameHasBeenSet() const { return m_primaryKeyColumnNameHasBeenSet; }
42 template <typename PrimaryKeyColumnNameT = Aws::String>
43 void SetPrimaryKeyColumnName(PrimaryKeyColumnNameT&& value) {
44 m_primaryKeyColumnNameHasBeenSet = true;
45 m_primaryKeyColumnName = std::forward<PrimaryKeyColumnNameT>(value);
46 }
47 template <typename PrimaryKeyColumnNameT = Aws::String>
48 FindMatchesParameters& WithPrimaryKeyColumnName(PrimaryKeyColumnNameT&& value) {
49 SetPrimaryKeyColumnName(std::forward<PrimaryKeyColumnNameT>(value));
50 return *this;
51 }
53
55
65 inline double GetPrecisionRecallTradeoff() const { return m_precisionRecallTradeoff; }
66 inline bool PrecisionRecallTradeoffHasBeenSet() const { return m_precisionRecallTradeoffHasBeenSet; }
67 inline void SetPrecisionRecallTradeoff(double value) {
68 m_precisionRecallTradeoffHasBeenSet = true;
69 m_precisionRecallTradeoff = value;
70 }
73 return *this;
74 }
76
78
90 inline double GetAccuracyCostTradeoff() const { return m_accuracyCostTradeoff; }
91 inline bool AccuracyCostTradeoffHasBeenSet() const { return m_accuracyCostTradeoffHasBeenSet; }
92 inline void SetAccuracyCostTradeoff(double value) {
93 m_accuracyCostTradeoffHasBeenSet = true;
94 m_accuracyCostTradeoff = value;
95 }
98 return *this;
99 }
101
103
113 inline bool GetEnforceProvidedLabels() const { return m_enforceProvidedLabels; }
114 inline bool EnforceProvidedLabelsHasBeenSet() const { return m_enforceProvidedLabelsHasBeenSet; }
115 inline void SetEnforceProvidedLabels(bool value) {
116 m_enforceProvidedLabelsHasBeenSet = true;
117 m_enforceProvidedLabels = value;
118 }
121 return *this;
122 }
124 private:
125 Aws::String m_primaryKeyColumnName;
126 bool m_primaryKeyColumnNameHasBeenSet = false;
127
128 double m_precisionRecallTradeoff{0.0};
129 bool m_precisionRecallTradeoffHasBeenSet = false;
130
131 double m_accuracyCostTradeoff{0.0};
132 bool m_accuracyCostTradeoffHasBeenSet = false;
133
134 bool m_enforceProvidedLabels{false};
135 bool m_enforceProvidedLabelsHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace Glue
140} // namespace Aws
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API FindMatchesParameters()=default
void SetPrimaryKeyColumnName(PrimaryKeyColumnNameT &&value)
AWS_GLUE_API FindMatchesParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPrimaryKeyColumnName() const
AWS_GLUE_API FindMatchesParameters(Aws::Utils::Json::JsonView jsonValue)
FindMatchesParameters & WithPrimaryKeyColumnName(PrimaryKeyColumnNameT &&value)
FindMatchesParameters & WithAccuracyCostTradeoff(double value)
FindMatchesParameters & WithEnforceProvidedLabels(bool value)
FindMatchesParameters & WithPrecisionRecallTradeoff(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue