AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LabelSchema.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/frauddetector/model/UnlabeledEventsTreatment.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace FraudDetector
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_FRAUDDETECTOR_API LabelSchema();
38 AWS_FRAUDDETECTOR_API LabelSchema(Aws::Utils::Json::JsonView jsonValue);
39 AWS_FRAUDDETECTOR_API LabelSchema& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
56 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetLabelMapper() const{ return m_labelMapper; }
57 inline bool LabelMapperHasBeenSet() const { return m_labelMapperHasBeenSet; }
58 inline void SetLabelMapper(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_labelMapperHasBeenSet = true; m_labelMapper = value; }
59 inline void SetLabelMapper(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_labelMapperHasBeenSet = true; m_labelMapper = std::move(value); }
61 inline LabelSchema& WithLabelMapper(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { SetLabelMapper(std::move(value)); return *this;}
62 inline LabelSchema& AddLabelMapper(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_labelMapperHasBeenSet = true; m_labelMapper.emplace(key, value); return *this; }
63 inline LabelSchema& AddLabelMapper(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_labelMapperHasBeenSet = true; m_labelMapper.emplace(std::move(key), value); return *this; }
64 inline LabelSchema& AddLabelMapper(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_labelMapperHasBeenSet = true; m_labelMapper.emplace(key, std::move(value)); return *this; }
65 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; }
66 inline LabelSchema& AddLabelMapper(const char* key, Aws::Vector<Aws::String>&& value) { m_labelMapperHasBeenSet = true; m_labelMapper.emplace(key, std::move(value)); return *this; }
67 inline LabelSchema& AddLabelMapper(const char* key, const Aws::Vector<Aws::String>& value) { m_labelMapperHasBeenSet = true; m_labelMapper.emplace(key, value); return *this; }
69
71
84 inline const UnlabeledEventsTreatment& GetUnlabeledEventsTreatment() const{ return m_unlabeledEventsTreatment; }
85 inline bool UnlabeledEventsTreatmentHasBeenSet() const { return m_unlabeledEventsTreatmentHasBeenSet; }
86 inline void SetUnlabeledEventsTreatment(const UnlabeledEventsTreatment& value) { m_unlabeledEventsTreatmentHasBeenSet = true; m_unlabeledEventsTreatment = value; }
87 inline void SetUnlabeledEventsTreatment(UnlabeledEventsTreatment&& value) { m_unlabeledEventsTreatmentHasBeenSet = true; m_unlabeledEventsTreatment = std::move(value); }
91 private:
92
94 bool m_labelMapperHasBeenSet = false;
95
96 UnlabeledEventsTreatment m_unlabeledEventsTreatment;
97 bool m_unlabeledEventsTreatmentHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace FraudDetector
102} // namespace Aws
AWS_FRAUDDETECTOR_API LabelSchema & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLabelMapper(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
Definition LabelSchema.h:59
AWS_FRAUDDETECTOR_API LabelSchema()
AWS_FRAUDDETECTOR_API LabelSchema(Aws::Utils::Json::JsonView jsonValue)
LabelSchema & WithLabelMapper(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
Definition LabelSchema.h:61
LabelSchema & AddLabelMapper(Aws::String &&key, const Aws::Vector< Aws::String > &value)
Definition LabelSchema.h:63
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
LabelSchema & WithUnlabeledEventsTreatment(UnlabeledEventsTreatment &&value)
Definition LabelSchema.h:89
LabelSchema & AddLabelMapper(const char *key, Aws::Vector< Aws::String > &&value)
Definition LabelSchema.h:66
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetLabelMapper() const
Definition LabelSchema.h:56
LabelSchema & WithUnlabeledEventsTreatment(const UnlabeledEventsTreatment &value)
Definition LabelSchema.h:88
LabelSchema & AddLabelMapper(Aws::String &&key, Aws::Vector< Aws::String > &&value)
Definition LabelSchema.h:65
const UnlabeledEventsTreatment & GetUnlabeledEventsTreatment() const
Definition LabelSchema.h:84
void SetLabelMapper(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
Definition LabelSchema.h:58
LabelSchema & WithLabelMapper(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
Definition LabelSchema.h:60
void SetUnlabeledEventsTreatment(UnlabeledEventsTreatment &&value)
Definition LabelSchema.h:87
LabelSchema & AddLabelMapper(const Aws::String &key, const Aws::Vector< Aws::String > &value)
Definition LabelSchema.h:62
LabelSchema & AddLabelMapper(const char *key, const Aws::Vector< Aws::String > &value)
Definition LabelSchema.h:67
LabelSchema & AddLabelMapper(const Aws::String &key, Aws::Vector< Aws::String > &&value)
Definition LabelSchema.h:64
void SetUnlabeledEventsTreatment(const UnlabeledEventsTreatment &value)
Definition LabelSchema.h:86
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue