AWS SDK for C++  1.9.16
AWS SDK for C++
ModelOutputConfiguration.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 
35  {
36  public:
41 
42 
46  inline const ModelOutputDataFormat& GetFormat() const{ return m_format; }
47 
51  inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
52 
56  inline void SetFormat(const ModelOutputDataFormat& value) { m_formatHasBeenSet = true; m_format = value; }
57 
61  inline void SetFormat(ModelOutputDataFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
62 
66  inline ModelOutputConfiguration& WithFormat(const ModelOutputDataFormat& value) { SetFormat(value); return *this;}
67 
71  inline ModelOutputConfiguration& WithFormat(ModelOutputDataFormat&& value) { SetFormat(std::move(value)); return *this;}
72 
73 
78  inline const Aws::Map<Aws::String, Aws::String>& GetJsonKeyToVariableMap() const{ return m_jsonKeyToVariableMap; }
79 
84  inline bool JsonKeyToVariableMapHasBeenSet() const { return m_jsonKeyToVariableMapHasBeenSet; }
85 
90  inline void SetJsonKeyToVariableMap(const Aws::Map<Aws::String, Aws::String>& value) { m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap = value; }
91 
96  inline void SetJsonKeyToVariableMap(Aws::Map<Aws::String, Aws::String>&& value) { m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap = std::move(value); }
97 
102  inline ModelOutputConfiguration& WithJsonKeyToVariableMap(const Aws::Map<Aws::String, Aws::String>& value) { SetJsonKeyToVariableMap(value); return *this;}
103 
108  inline ModelOutputConfiguration& WithJsonKeyToVariableMap(Aws::Map<Aws::String, Aws::String>&& value) { SetJsonKeyToVariableMap(std::move(value)); return *this;}
109 
114  inline ModelOutputConfiguration& AddJsonKeyToVariableMap(const Aws::String& key, const Aws::String& value) { m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap.emplace(key, value); return *this; }
115 
120  inline ModelOutputConfiguration& AddJsonKeyToVariableMap(Aws::String&& key, const Aws::String& value) { m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap.emplace(std::move(key), value); return *this; }
121 
126  inline ModelOutputConfiguration& AddJsonKeyToVariableMap(const Aws::String& key, Aws::String&& value) { m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap.emplace(key, std::move(value)); return *this; }
127 
132  inline ModelOutputConfiguration& AddJsonKeyToVariableMap(Aws::String&& key, Aws::String&& value) { m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap.emplace(std::move(key), std::move(value)); return *this; }
133 
138  inline ModelOutputConfiguration& AddJsonKeyToVariableMap(const char* key, Aws::String&& value) { m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap.emplace(key, std::move(value)); return *this; }
139 
144  inline ModelOutputConfiguration& AddJsonKeyToVariableMap(Aws::String&& key, const char* value) { m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap.emplace(std::move(key), value); return *this; }
145 
150  inline ModelOutputConfiguration& AddJsonKeyToVariableMap(const char* key, const char* value) { m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap.emplace(key, value); return *this; }
151 
152 
157  inline const Aws::Map<Aws::String, Aws::String>& GetCsvIndexToVariableMap() const{ return m_csvIndexToVariableMap; }
158 
163  inline bool CsvIndexToVariableMapHasBeenSet() const { return m_csvIndexToVariableMapHasBeenSet; }
164 
169  inline void SetCsvIndexToVariableMap(const Aws::Map<Aws::String, Aws::String>& value) { m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap = value; }
170 
175  inline void SetCsvIndexToVariableMap(Aws::Map<Aws::String, Aws::String>&& value) { m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap = std::move(value); }
176 
181  inline ModelOutputConfiguration& WithCsvIndexToVariableMap(const Aws::Map<Aws::String, Aws::String>& value) { SetCsvIndexToVariableMap(value); return *this;}
182 
187  inline ModelOutputConfiguration& WithCsvIndexToVariableMap(Aws::Map<Aws::String, Aws::String>&& value) { SetCsvIndexToVariableMap(std::move(value)); return *this;}
188 
193  inline ModelOutputConfiguration& AddCsvIndexToVariableMap(const Aws::String& key, const Aws::String& value) { m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap.emplace(key, value); return *this; }
194 
199  inline ModelOutputConfiguration& AddCsvIndexToVariableMap(Aws::String&& key, const Aws::String& value) { m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap.emplace(std::move(key), value); return *this; }
200 
205  inline ModelOutputConfiguration& AddCsvIndexToVariableMap(const Aws::String& key, Aws::String&& value) { m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap.emplace(key, std::move(value)); return *this; }
206 
211  inline ModelOutputConfiguration& AddCsvIndexToVariableMap(Aws::String&& key, Aws::String&& value) { m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap.emplace(std::move(key), std::move(value)); return *this; }
212 
217  inline ModelOutputConfiguration& AddCsvIndexToVariableMap(const char* key, Aws::String&& value) { m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap.emplace(key, std::move(value)); return *this; }
218 
223  inline ModelOutputConfiguration& AddCsvIndexToVariableMap(Aws::String&& key, const char* value) { m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap.emplace(std::move(key), value); return *this; }
224 
229  inline ModelOutputConfiguration& AddCsvIndexToVariableMap(const char* key, const char* value) { m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap.emplace(key, value); return *this; }
230 
231  private:
232 
233  ModelOutputDataFormat m_format;
234  bool m_formatHasBeenSet;
235 
236  Aws::Map<Aws::String, Aws::String> m_jsonKeyToVariableMap;
237  bool m_jsonKeyToVariableMapHasBeenSet;
238 
239  Aws::Map<Aws::String, Aws::String> m_csvIndexToVariableMap;
240  bool m_csvIndexToVariableMapHasBeenSet;
241  };
242 
243 } // namespace Model
244 } // namespace FraudDetector
245 } // namespace Aws
Aws::FraudDetector::Model::ModelOutputConfiguration::AddJsonKeyToVariableMap
ModelOutputConfiguration & AddJsonKeyToVariableMap(const Aws::String &key, Aws::String &&value)
Definition: ModelOutputConfiguration.h:126
Aws::FraudDetector::Model::ModelOutputConfiguration::WithJsonKeyToVariableMap
ModelOutputConfiguration & WithJsonKeyToVariableMap(const Aws::Map< Aws::String, Aws::String > &value)
Definition: ModelOutputConfiguration.h:102
Aws::FraudDetector::Model::ModelOutputConfiguration::SetJsonKeyToVariableMap
void SetJsonKeyToVariableMap(const Aws::Map< Aws::String, Aws::String > &value)
Definition: ModelOutputConfiguration.h:90
Aws::FraudDetector::Model::ModelOutputConfiguration::SetJsonKeyToVariableMap
void SetJsonKeyToVariableMap(Aws::Map< Aws::String, Aws::String > &&value)
Definition: ModelOutputConfiguration.h:96
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::ModelOutputConfiguration::SetFormat
void SetFormat(const ModelOutputDataFormat &value)
Definition: ModelOutputConfiguration.h:56
ModelOutputDataFormat.h
Aws::FraudDetector::Model::ModelOutputConfiguration::ModelOutputConfiguration
ModelOutputConfiguration()
Aws::FraudDetector::Model::ModelOutputConfiguration::SetCsvIndexToVariableMap
void SetCsvIndexToVariableMap(Aws::Map< Aws::String, Aws::String > &&value)
Definition: ModelOutputConfiguration.h:175
Aws::FraudDetector::Model::ModelOutputConfiguration::AddJsonKeyToVariableMap
ModelOutputConfiguration & AddJsonKeyToVariableMap(const Aws::String &key, const Aws::String &value)
Definition: ModelOutputConfiguration.h:114
Aws::FraudDetector::Model::ModelOutputConfiguration::WithJsonKeyToVariableMap
ModelOutputConfiguration & WithJsonKeyToVariableMap(Aws::Map< Aws::String, Aws::String > &&value)
Definition: ModelOutputConfiguration.h:108
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::ModelOutputConfiguration::ModelOutputConfiguration
ModelOutputConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::ModelOutputConfiguration::AddCsvIndexToVariableMap
ModelOutputConfiguration & AddCsvIndexToVariableMap(Aws::String &&key, Aws::String &&value)
Definition: ModelOutputConfiguration.h:211
Aws::FraudDetector::Model::ModelOutputConfiguration::WithFormat
ModelOutputConfiguration & WithFormat(ModelOutputDataFormat &&value)
Definition: ModelOutputConfiguration.h:71
Aws::FraudDetector::Model::ModelOutputConfiguration::AddCsvIndexToVariableMap
ModelOutputConfiguration & AddCsvIndexToVariableMap(Aws::String &&key, const Aws::String &value)
Definition: ModelOutputConfiguration.h:199
Aws::FraudDetector::Model::ModelOutputConfiguration::SetFormat
void SetFormat(ModelOutputDataFormat &&value)
Definition: ModelOutputConfiguration.h:61
Aws::FraudDetector::Model::ModelOutputConfiguration::JsonKeyToVariableMapHasBeenSet
bool JsonKeyToVariableMapHasBeenSet() const
Definition: ModelOutputConfiguration.h:84
Aws::FraudDetector::Model::ModelOutputConfiguration::GetCsvIndexToVariableMap
const Aws::Map< Aws::String, Aws::String > & GetCsvIndexToVariableMap() const
Definition: ModelOutputConfiguration.h:157
Aws::FraudDetector::Model::ModelOutputConfiguration::WithCsvIndexToVariableMap
ModelOutputConfiguration & WithCsvIndexToVariableMap(const Aws::Map< Aws::String, Aws::String > &value)
Definition: ModelOutputConfiguration.h:181
Aws::FraudDetector::Model::ModelOutputConfiguration::AddCsvIndexToVariableMap
ModelOutputConfiguration & AddCsvIndexToVariableMap(const Aws::String &key, const Aws::String &value)
Definition: ModelOutputConfiguration.h:193
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::FraudDetector::Model::ModelOutputConfiguration::WithCsvIndexToVariableMap
ModelOutputConfiguration & WithCsvIndexToVariableMap(Aws::Map< Aws::String, Aws::String > &&value)
Definition: ModelOutputConfiguration.h:187
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::FraudDetector::Model::ModelOutputConfiguration::AddJsonKeyToVariableMap
ModelOutputConfiguration & AddJsonKeyToVariableMap(Aws::String &&key, Aws::String &&value)
Definition: ModelOutputConfiguration.h:132
Aws::FraudDetector::Model::ModelOutputDataFormat
ModelOutputDataFormat
Definition: ModelOutputDataFormat.h:17
Aws::FraudDetector::Model::ModelOutputConfiguration::CsvIndexToVariableMapHasBeenSet
bool CsvIndexToVariableMapHasBeenSet() const
Definition: ModelOutputConfiguration.h:163
Aws::FraudDetector::Model::ModelOutputConfiguration::GetJsonKeyToVariableMap
const Aws::Map< Aws::String, Aws::String > & GetJsonKeyToVariableMap() const
Definition: ModelOutputConfiguration.h:78
Aws::FraudDetector::Model::ModelOutputConfiguration::AddCsvIndexToVariableMap
ModelOutputConfiguration & AddCsvIndexToVariableMap(const Aws::String &key, Aws::String &&value)
Definition: ModelOutputConfiguration.h:205
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::ModelOutputConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::FraudDetector::Model::ModelOutputConfiguration::AddJsonKeyToVariableMap
ModelOutputConfiguration & AddJsonKeyToVariableMap(const char *key, const char *value)
Definition: ModelOutputConfiguration.h:150
Aws::FraudDetector::Model::ModelOutputConfiguration::AddCsvIndexToVariableMap
ModelOutputConfiguration & AddCsvIndexToVariableMap(const char *key, const char *value)
Definition: ModelOutputConfiguration.h:229
Aws::FraudDetector::Model::ModelOutputConfiguration::AddJsonKeyToVariableMap
ModelOutputConfiguration & AddJsonKeyToVariableMap(const char *key, Aws::String &&value)
Definition: ModelOutputConfiguration.h:138
Aws::FraudDetector::Model::ModelOutputConfiguration::GetFormat
const ModelOutputDataFormat & GetFormat() const
Definition: ModelOutputConfiguration.h:46
Aws::FraudDetector::Model::ModelOutputConfiguration::AddJsonKeyToVariableMap
ModelOutputConfiguration & AddJsonKeyToVariableMap(Aws::String &&key, const Aws::String &value)
Definition: ModelOutputConfiguration.h:120
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::ModelOutputConfiguration::FormatHasBeenSet
bool FormatHasBeenSet() const
Definition: ModelOutputConfiguration.h:51
Aws::FraudDetector::Model::ModelOutputConfiguration::AddCsvIndexToVariableMap
ModelOutputConfiguration & AddCsvIndexToVariableMap(Aws::String &&key, const char *value)
Definition: ModelOutputConfiguration.h:223
Aws::FraudDetector::Model::ModelOutputConfiguration::operator=
ModelOutputConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWSMap.h
Aws::FraudDetector::Model::ModelOutputConfiguration::WithFormat
ModelOutputConfiguration & WithFormat(const ModelOutputDataFormat &value)
Definition: ModelOutputConfiguration.h:66
Aws::FraudDetector::Model::ModelOutputConfiguration::AddJsonKeyToVariableMap
ModelOutputConfiguration & AddJsonKeyToVariableMap(Aws::String &&key, const char *value)
Definition: ModelOutputConfiguration.h:144
Aws::FraudDetector::Model::ModelOutputConfiguration
Definition: ModelOutputConfiguration.h:35
Aws::FraudDetector::Model::ModelOutputConfiguration::SetCsvIndexToVariableMap
void SetCsvIndexToVariableMap(const Aws::Map< Aws::String, Aws::String > &value)
Definition: ModelOutputConfiguration.h:169
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::FraudDetector::Model::ModelOutputConfiguration::AddCsvIndexToVariableMap
ModelOutputConfiguration & AddCsvIndexToVariableMap(const char *key, Aws::String &&value)
Definition: ModelOutputConfiguration.h:217