AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 ModelOutputDataFormat GetFormat() const { return m_format; }
48 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
49 inline void SetFormat(ModelOutputDataFormat value) { m_formatHasBeenSet = true; m_format = value; }
52
54
58 inline const Aws::Map<Aws::String, Aws::String>& GetJsonKeyToVariableMap() const { return m_jsonKeyToVariableMap; }
59 inline bool JsonKeyToVariableMapHasBeenSet() const { return m_jsonKeyToVariableMapHasBeenSet; }
60 template<typename JsonKeyToVariableMapT = Aws::Map<Aws::String, Aws::String>>
61 void SetJsonKeyToVariableMap(JsonKeyToVariableMapT&& value) { m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap = std::forward<JsonKeyToVariableMapT>(value); }
62 template<typename JsonKeyToVariableMapT = Aws::Map<Aws::String, Aws::String>>
63 ModelOutputConfiguration& WithJsonKeyToVariableMap(JsonKeyToVariableMapT&& value) { SetJsonKeyToVariableMap(std::forward<JsonKeyToVariableMapT>(value)); return *this;}
64 template<typename JsonKeyToVariableMapKeyT = Aws::String, typename JsonKeyToVariableMapValueT = Aws::String>
65 ModelOutputConfiguration& AddJsonKeyToVariableMap(JsonKeyToVariableMapKeyT&& key, JsonKeyToVariableMapValueT&& value) {
66 m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap.emplace(std::forward<JsonKeyToVariableMapKeyT>(key), std::forward<JsonKeyToVariableMapValueT>(value)); return *this;
67 }
69
71
75 inline const Aws::Map<Aws::String, Aws::String>& GetCsvIndexToVariableMap() const { return m_csvIndexToVariableMap; }
76 inline bool CsvIndexToVariableMapHasBeenSet() const { return m_csvIndexToVariableMapHasBeenSet; }
77 template<typename CsvIndexToVariableMapT = Aws::Map<Aws::String, Aws::String>>
78 void SetCsvIndexToVariableMap(CsvIndexToVariableMapT&& value) { m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap = std::forward<CsvIndexToVariableMapT>(value); }
79 template<typename CsvIndexToVariableMapT = Aws::Map<Aws::String, Aws::String>>
80 ModelOutputConfiguration& WithCsvIndexToVariableMap(CsvIndexToVariableMapT&& value) { SetCsvIndexToVariableMap(std::forward<CsvIndexToVariableMapT>(value)); return *this;}
81 template<typename CsvIndexToVariableMapKeyT = Aws::String, typename CsvIndexToVariableMapValueT = Aws::String>
82 ModelOutputConfiguration& AddCsvIndexToVariableMap(CsvIndexToVariableMapKeyT&& key, CsvIndexToVariableMapValueT&& value) {
83 m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap.emplace(std::forward<CsvIndexToVariableMapKeyT>(key), std::forward<CsvIndexToVariableMapValueT>(value)); return *this;
84 }
86 private:
87
89 bool m_formatHasBeenSet = false;
90
91 Aws::Map<Aws::String, Aws::String> m_jsonKeyToVariableMap;
92 bool m_jsonKeyToVariableMapHasBeenSet = false;
93
94 Aws::Map<Aws::String, Aws::String> m_csvIndexToVariableMap;
95 bool m_csvIndexToVariableMapHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace FraudDetector
100} // namespace Aws
ModelOutputConfiguration & AddJsonKeyToVariableMap(JsonKeyToVariableMapKeyT &&key, JsonKeyToVariableMapValueT &&value)
ModelOutputConfiguration & WithCsvIndexToVariableMap(CsvIndexToVariableMapT &&value)
ModelOutputConfiguration & AddCsvIndexToVariableMap(CsvIndexToVariableMapKeyT &&key, CsvIndexToVariableMapValueT &&value)
AWS_FRAUDDETECTOR_API ModelOutputConfiguration()=default
void SetCsvIndexToVariableMap(CsvIndexToVariableMapT &&value)
AWS_FRAUDDETECTOR_API ModelOutputConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetJsonKeyToVariableMap(JsonKeyToVariableMapT &&value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
ModelOutputConfiguration & WithJsonKeyToVariableMap(JsonKeyToVariableMapT &&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
ModelOutputConfiguration & WithFormat(ModelOutputDataFormat value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue