AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModelOutputConfiguration.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/frauddetector/model/ModelOutputDataFormat.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace FraudDetector
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_FRAUDDETECTOR_API ModelOutputConfiguration();
38 AWS_FRAUDDETECTOR_API ModelOutputConfiguration(Aws::Utils::Json::JsonView jsonValue);
40 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const ModelOutputDataFormat& GetFormat() const{ return m_format; }
48 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
49 inline void SetFormat(const ModelOutputDataFormat& value) { m_formatHasBeenSet = true; m_format = value; }
50 inline void SetFormat(ModelOutputDataFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
51 inline ModelOutputConfiguration& WithFormat(const ModelOutputDataFormat& value) { SetFormat(value); return *this;}
52 inline ModelOutputConfiguration& WithFormat(ModelOutputDataFormat&& value) { SetFormat(std::move(value)); return *this;}
54
56
60 inline const Aws::Map<Aws::String, Aws::String>& GetJsonKeyToVariableMap() const{ return m_jsonKeyToVariableMap; }
61 inline bool JsonKeyToVariableMapHasBeenSet() const { return m_jsonKeyToVariableMapHasBeenSet; }
62 inline void SetJsonKeyToVariableMap(const Aws::Map<Aws::String, Aws::String>& value) { m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap = value; }
63 inline void SetJsonKeyToVariableMap(Aws::Map<Aws::String, Aws::String>&& value) { m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap = std::move(value); }
66 inline ModelOutputConfiguration& AddJsonKeyToVariableMap(const Aws::String& key, const Aws::String& value) { m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap.emplace(key, value); return *this; }
67 inline ModelOutputConfiguration& AddJsonKeyToVariableMap(Aws::String&& key, const Aws::String& value) { m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap.emplace(std::move(key), value); return *this; }
68 inline ModelOutputConfiguration& AddJsonKeyToVariableMap(const Aws::String& key, Aws::String&& value) { m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap.emplace(key, std::move(value)); return *this; }
69 inline ModelOutputConfiguration& AddJsonKeyToVariableMap(Aws::String&& key, Aws::String&& value) { m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap.emplace(std::move(key), std::move(value)); return *this; }
70 inline ModelOutputConfiguration& AddJsonKeyToVariableMap(const char* key, Aws::String&& value) { m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap.emplace(key, std::move(value)); return *this; }
71 inline ModelOutputConfiguration& AddJsonKeyToVariableMap(Aws::String&& key, const char* value) { m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap.emplace(std::move(key), value); return *this; }
72 inline ModelOutputConfiguration& AddJsonKeyToVariableMap(const char* key, const char* value) { m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap.emplace(key, value); return *this; }
74
76
80 inline const Aws::Map<Aws::String, Aws::String>& GetCsvIndexToVariableMap() const{ return m_csvIndexToVariableMap; }
81 inline bool CsvIndexToVariableMapHasBeenSet() const { return m_csvIndexToVariableMapHasBeenSet; }
82 inline void SetCsvIndexToVariableMap(const Aws::Map<Aws::String, Aws::String>& value) { m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap = value; }
83 inline void SetCsvIndexToVariableMap(Aws::Map<Aws::String, Aws::String>&& value) { m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap = std::move(value); }
86 inline ModelOutputConfiguration& AddCsvIndexToVariableMap(const Aws::String& key, const Aws::String& value) { m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap.emplace(key, value); return *this; }
87 inline ModelOutputConfiguration& AddCsvIndexToVariableMap(Aws::String&& key, const Aws::String& value) { m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap.emplace(std::move(key), value); return *this; }
88 inline ModelOutputConfiguration& AddCsvIndexToVariableMap(const Aws::String& key, Aws::String&& value) { m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap.emplace(key, std::move(value)); return *this; }
89 inline ModelOutputConfiguration& AddCsvIndexToVariableMap(Aws::String&& key, Aws::String&& value) { m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap.emplace(std::move(key), std::move(value)); return *this; }
90 inline ModelOutputConfiguration& AddCsvIndexToVariableMap(const char* key, Aws::String&& value) { m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap.emplace(key, std::move(value)); return *this; }
91 inline ModelOutputConfiguration& AddCsvIndexToVariableMap(Aws::String&& key, const char* value) { m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap.emplace(std::move(key), value); return *this; }
92 inline ModelOutputConfiguration& AddCsvIndexToVariableMap(const char* key, const char* value) { m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap.emplace(key, value); return *this; }
94 private:
95
96 ModelOutputDataFormat m_format;
97 bool m_formatHasBeenSet = false;
98
99 Aws::Map<Aws::String, Aws::String> m_jsonKeyToVariableMap;
100 bool m_jsonKeyToVariableMapHasBeenSet = false;
101
102 Aws::Map<Aws::String, Aws::String> m_csvIndexToVariableMap;
103 bool m_csvIndexToVariableMapHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace FraudDetector
108} // namespace Aws
void SetCsvIndexToVariableMap(const Aws::Map< Aws::String, Aws::String > &value)
ModelOutputConfiguration & AddJsonKeyToVariableMap(const char *key, Aws::String &&value)
ModelOutputConfiguration & AddJsonKeyToVariableMap(const char *key, const char *value)
ModelOutputConfiguration & AddJsonKeyToVariableMap(const Aws::String &key, const Aws::String &value)
void SetJsonKeyToVariableMap(const Aws::Map< Aws::String, Aws::String > &value)
ModelOutputConfiguration & AddCsvIndexToVariableMap(Aws::String &&key, Aws::String &&value)
ModelOutputConfiguration & AddJsonKeyToVariableMap(Aws::String &&key, Aws::String &&value)
ModelOutputConfiguration & AddJsonKeyToVariableMap(Aws::String &&key, const char *value)
void SetJsonKeyToVariableMap(Aws::Map< Aws::String, Aws::String > &&value)
void SetCsvIndexToVariableMap(Aws::Map< Aws::String, Aws::String > &&value)
ModelOutputConfiguration & WithJsonKeyToVariableMap(Aws::Map< Aws::String, Aws::String > &&value)
ModelOutputConfiguration & AddCsvIndexToVariableMap(const Aws::String &key, const Aws::String &value)
ModelOutputConfiguration & AddCsvIndexToVariableMap(const char *key, const char *value)
ModelOutputConfiguration & AddCsvIndexToVariableMap(Aws::String &&key, const Aws::String &value)
AWS_FRAUDDETECTOR_API ModelOutputConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelOutputConfiguration & WithFormat(ModelOutputDataFormat &&value)
void SetFormat(const ModelOutputDataFormat &value)
ModelOutputConfiguration & WithJsonKeyToVariableMap(const Aws::Map< Aws::String, Aws::String > &value)
ModelOutputConfiguration & AddCsvIndexToVariableMap(const Aws::String &key, Aws::String &&value)
ModelOutputConfiguration & AddJsonKeyToVariableMap(Aws::String &&key, const Aws::String &value)
ModelOutputConfiguration & WithCsvIndexToVariableMap(Aws::Map< Aws::String, Aws::String > &&value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
ModelOutputConfiguration & AddCsvIndexToVariableMap(Aws::String &&key, const char *value)
ModelOutputConfiguration & AddCsvIndexToVariableMap(const char *key, Aws::String &&value)
ModelOutputConfiguration & WithFormat(const ModelOutputDataFormat &value)
ModelOutputConfiguration & AddJsonKeyToVariableMap(const Aws::String &key, Aws::String &&value)
ModelOutputConfiguration & WithCsvIndexToVariableMap(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetCsvIndexToVariableMap() const
AWS_FRAUDDETECTOR_API ModelOutputConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetJsonKeyToVariableMap() const
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
Aws::Utils::Json::JsonValue JsonValue