AWS SDK for C++  1.9.20
AWS SDK for C++
LabelSchema.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace FraudDetector
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
54  inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetLabelMapper() const{ return m_labelMapper; }
55 
68  inline bool LabelMapperHasBeenSet() const { return m_labelMapperHasBeenSet; }
69 
82  inline void SetLabelMapper(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_labelMapperHasBeenSet = true; m_labelMapper = value; }
83 
96  inline void SetLabelMapper(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_labelMapperHasBeenSet = true; m_labelMapper = std::move(value); }
97 
110  inline LabelSchema& WithLabelMapper(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { SetLabelMapper(value); return *this;}
111 
124  inline LabelSchema& WithLabelMapper(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { SetLabelMapper(std::move(value)); return *this;}
125 
138  inline LabelSchema& AddLabelMapper(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_labelMapperHasBeenSet = true; m_labelMapper.emplace(key, value); return *this; }
139 
152  inline LabelSchema& AddLabelMapper(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_labelMapperHasBeenSet = true; m_labelMapper.emplace(std::move(key), value); return *this; }
153 
166  inline LabelSchema& AddLabelMapper(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_labelMapperHasBeenSet = true; m_labelMapper.emplace(key, std::move(value)); return *this; }
167 
180  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; }
181 
194  inline LabelSchema& AddLabelMapper(const char* key, Aws::Vector<Aws::String>&& value) { m_labelMapperHasBeenSet = true; m_labelMapper.emplace(key, std::move(value)); return *this; }
195 
208  inline LabelSchema& AddLabelMapper(const char* key, const Aws::Vector<Aws::String>& value) { m_labelMapperHasBeenSet = true; m_labelMapper.emplace(key, value); return *this; }
209 
210  private:
211 
213  bool m_labelMapperHasBeenSet;
214  };
215 
216 } // namespace Model
217 } // namespace FraudDetector
218 } // namespace Aws
Aws::FraudDetector::Model::LabelSchema::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::LabelSchema::SetLabelMapper
void SetLabelMapper(const Aws::Map< Aws::String, Aws::Vector< Aws::String >> &value)
Definition: LabelSchema.h:82
Aws::FraudDetector::Model::LabelSchema::LabelMapperHasBeenSet
bool LabelMapperHasBeenSet() const
Definition: LabelSchema.h:68
Aws::FraudDetector::Model::LabelSchema::WithLabelMapper
LabelSchema & WithLabelMapper(const Aws::Map< Aws::String, Aws::Vector< Aws::String >> &value)
Definition: LabelSchema.h:110
Aws::FraudDetector::Model::LabelSchema::AddLabelMapper
LabelSchema & AddLabelMapper(const Aws::String &key, Aws::Vector< Aws::String > &&value)
Definition: LabelSchema.h:166
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_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::FraudDetector::Model::LabelSchema::WithLabelMapper
LabelSchema & WithLabelMapper(Aws::Map< Aws::String, Aws::Vector< Aws::String >> &&value)
Definition: LabelSchema.h:124
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
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:180
Aws::FraudDetector::Model::LabelSchema::AddLabelMapper
LabelSchema & AddLabelMapper(Aws::String &&key, const Aws::Vector< Aws::String > &value)
Definition: LabelSchema.h:152
Aws::FraudDetector::Model::LabelSchema::AddLabelMapper
LabelSchema & AddLabelMapper(const char *key, const Aws::Vector< Aws::String > &value)
Definition: LabelSchema.h:208
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::AddLabelMapper
LabelSchema & AddLabelMapper(const char *key, Aws::Vector< Aws::String > &&value)
Definition: LabelSchema.h:194
Aws::FraudDetector::Model::LabelSchema::GetLabelMapper
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetLabelMapper() const
Definition: LabelSchema.h:54
AWSMap.h
Aws::FraudDetector::Model::LabelSchema::SetLabelMapper
void SetLabelMapper(Aws::Map< Aws::String, Aws::Vector< Aws::String >> &&value)
Definition: LabelSchema.h:96
Aws::FraudDetector::Model::LabelSchema::AddLabelMapper
LabelSchema & AddLabelMapper(const Aws::String &key, const Aws::Vector< Aws::String > &value)
Definition: LabelSchema.h:138
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:34