AWS SDK for C++  1.9.123
AWS SDK for C++
LabelSchema.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace FraudDetector
25 {
26 namespace Model
27 {
28 
35  {
36  public:
41 
42 
55  inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetLabelMapper() const{ return m_labelMapper; }
56 
69  inline bool LabelMapperHasBeenSet() const { return m_labelMapperHasBeenSet; }
70 
83  inline void SetLabelMapper(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_labelMapperHasBeenSet = true; m_labelMapper = value; }
84 
97  inline void SetLabelMapper(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_labelMapperHasBeenSet = true; m_labelMapper = std::move(value); }
98 
111  inline LabelSchema& WithLabelMapper(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { SetLabelMapper(value); return *this;}
112 
125  inline LabelSchema& WithLabelMapper(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { SetLabelMapper(std::move(value)); return *this;}
126 
139  inline LabelSchema& AddLabelMapper(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_labelMapperHasBeenSet = true; m_labelMapper.emplace(key, value); return *this; }
140 
153  inline LabelSchema& AddLabelMapper(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_labelMapperHasBeenSet = true; m_labelMapper.emplace(std::move(key), value); return *this; }
154 
167  inline LabelSchema& AddLabelMapper(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_labelMapperHasBeenSet = true; m_labelMapper.emplace(key, std::move(value)); return *this; }
168 
181  inline LabelSchema& AddLabelMapper(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_labelMapperHasBeenSet = true; m_labelMapper.emplace(std::move(key), std::move(value)); return *this; }
182 
195  inline LabelSchema& AddLabelMapper(const char* key, Aws::Vector<Aws::String>&& value) { m_labelMapperHasBeenSet = true; m_labelMapper.emplace(key, std::move(value)); return *this; }
196 
209  inline LabelSchema& AddLabelMapper(const char* key, const Aws::Vector<Aws::String>& value) { m_labelMapperHasBeenSet = true; m_labelMapper.emplace(key, value); return *this; }
210 
211 
215  inline const UnlabeledEventsTreatment& GetUnlabeledEventsTreatment() const{ return m_unlabeledEventsTreatment; }
216 
220  inline bool UnlabeledEventsTreatmentHasBeenSet() const { return m_unlabeledEventsTreatmentHasBeenSet; }
221 
225  inline void SetUnlabeledEventsTreatment(const UnlabeledEventsTreatment& value) { m_unlabeledEventsTreatmentHasBeenSet = true; m_unlabeledEventsTreatment = value; }
226 
230  inline void SetUnlabeledEventsTreatment(UnlabeledEventsTreatment&& value) { m_unlabeledEventsTreatmentHasBeenSet = true; m_unlabeledEventsTreatment = std::move(value); }
231 
235  inline LabelSchema& WithUnlabeledEventsTreatment(const UnlabeledEventsTreatment& value) { SetUnlabeledEventsTreatment(value); return *this;}
236 
240  inline LabelSchema& WithUnlabeledEventsTreatment(UnlabeledEventsTreatment&& value) { SetUnlabeledEventsTreatment(std::move(value)); return *this;}
241 
242  private:
243 
245  bool m_labelMapperHasBeenSet;
246 
247  UnlabeledEventsTreatment m_unlabeledEventsTreatment;
248  bool m_unlabeledEventsTreatmentHasBeenSet;
249  };
250 
251 } // namespace Model
252 } // namespace FraudDetector
253 } // namespace Aws
Aws::FraudDetector::Model::LabelSchema::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::LabelSchema::SetUnlabeledEventsTreatment
void SetUnlabeledEventsTreatment(UnlabeledEventsTreatment &&value)
Definition: LabelSchema.h:230
Aws::FraudDetector::Model::LabelSchema::WithUnlabeledEventsTreatment
LabelSchema & WithUnlabeledEventsTreatment(UnlabeledEventsTreatment &&value)
Definition: LabelSchema.h:240
Aws::FraudDetector::Model::LabelSchema::SetLabelMapper
void SetLabelMapper(const Aws::Map< Aws::String, Aws::Vector< Aws::String >> &value)
Definition: LabelSchema.h:83
Aws::FraudDetector::Model::LabelSchema::LabelMapperHasBeenSet
bool LabelMapperHasBeenSet() const
Definition: LabelSchema.h:69
Aws::FraudDetector::Model::LabelSchema::WithLabelMapper
LabelSchema & WithLabelMapper(const Aws::Map< Aws::String, Aws::Vector< Aws::String >> &value)
Definition: LabelSchema.h:111
Aws::FraudDetector::Model::LabelSchema::AddLabelMapper
LabelSchema & AddLabelMapper(const Aws::String &key, Aws::Vector< Aws::String > &&value)
Definition: LabelSchema.h:167
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::FraudDetector::Model::LabelSchema::operator=
LabelSchema & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::LabelSchema::WithUnlabeledEventsTreatment
LabelSchema & WithUnlabeledEventsTreatment(const UnlabeledEventsTreatment &value)
Definition: LabelSchema.h:235
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::UnlabeledEventsTreatment
UnlabeledEventsTreatment
Definition: UnlabeledEventsTreatment.h:17
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::FraudDetector::Model::LabelSchema::WithLabelMapper
LabelSchema & WithLabelMapper(Aws::Map< Aws::String, Aws::Vector< Aws::String >> &&value)
Definition: LabelSchema.h:125
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::FraudDetector::Model::LabelSchema::SetUnlabeledEventsTreatment
void SetUnlabeledEventsTreatment(const UnlabeledEventsTreatment &value)
Definition: LabelSchema.h:225
Aws::FraudDetector::Model::LabelSchema::LabelSchema
LabelSchema()
Aws::FraudDetector::Model::LabelSchema::LabelSchema
LabelSchema(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::LabelSchema::AddLabelMapper
LabelSchema & AddLabelMapper(Aws::String &&key, Aws::Vector< Aws::String > &&value)
Definition: LabelSchema.h:181
UnlabeledEventsTreatment.h
Aws::FraudDetector::Model::LabelSchema::AddLabelMapper
LabelSchema & AddLabelMapper(Aws::String &&key, const Aws::Vector< Aws::String > &value)
Definition: LabelSchema.h:153
Aws::FraudDetector::Model::LabelSchema::AddLabelMapper
LabelSchema & AddLabelMapper(const char *key, const Aws::Vector< Aws::String > &value)
Definition: LabelSchema.h:209
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::LabelSchema::UnlabeledEventsTreatmentHasBeenSet
bool UnlabeledEventsTreatmentHasBeenSet() const
Definition: LabelSchema.h:220
Aws::FraudDetector::Model::LabelSchema::AddLabelMapper
LabelSchema & AddLabelMapper(const char *key, Aws::Vector< Aws::String > &&value)
Definition: LabelSchema.h:195
Aws::FraudDetector::Model::LabelSchema::GetLabelMapper
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetLabelMapper() const
Definition: LabelSchema.h:55
AWSMap.h
Aws::FraudDetector::Model::LabelSchema::SetLabelMapper
void SetLabelMapper(Aws::Map< Aws::String, Aws::Vector< Aws::String >> &&value)
Definition: LabelSchema.h:97
Aws::FraudDetector::Model::LabelSchema::GetUnlabeledEventsTreatment
const UnlabeledEventsTreatment & GetUnlabeledEventsTreatment() const
Definition: LabelSchema.h:215
Aws::FraudDetector::Model::LabelSchema::AddLabelMapper
LabelSchema & AddLabelMapper(const Aws::String &key, const Aws::Vector< Aws::String > &value)
Definition: LabelSchema.h:139
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::FraudDetector::Model::LabelSchema
Definition: LabelSchema.h:35