AWS SDK for C++  1.9.14
AWS SDK for C++
ModelInputConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace FraudDetector
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetEventTypeName() const{ return m_eventTypeName; }
45 
49  inline bool EventTypeNameHasBeenSet() const { return m_eventTypeNameHasBeenSet; }
50 
54  inline void SetEventTypeName(const Aws::String& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = value; }
55 
59  inline void SetEventTypeName(Aws::String&& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = std::move(value); }
60 
64  inline void SetEventTypeName(const char* value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName.assign(value); }
65 
69  inline ModelInputConfiguration& WithEventTypeName(const Aws::String& value) { SetEventTypeName(value); return *this;}
70 
74  inline ModelInputConfiguration& WithEventTypeName(Aws::String&& value) { SetEventTypeName(std::move(value)); return *this;}
75 
79  inline ModelInputConfiguration& WithEventTypeName(const char* value) { SetEventTypeName(value); return *this;}
80 
81 
87  inline const ModelInputDataFormat& GetFormat() const{ return m_format; }
88 
94  inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
95 
101  inline void SetFormat(const ModelInputDataFormat& value) { m_formatHasBeenSet = true; m_format = value; }
102 
108  inline void SetFormat(ModelInputDataFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
109 
115  inline ModelInputConfiguration& WithFormat(const ModelInputDataFormat& value) { SetFormat(value); return *this;}
116 
122  inline ModelInputConfiguration& WithFormat(ModelInputDataFormat&& value) { SetFormat(std::move(value)); return *this;}
123 
124 
128  inline bool GetUseEventVariables() const{ return m_useEventVariables; }
129 
133  inline bool UseEventVariablesHasBeenSet() const { return m_useEventVariablesHasBeenSet; }
134 
138  inline void SetUseEventVariables(bool value) { m_useEventVariablesHasBeenSet = true; m_useEventVariables = value; }
139 
143  inline ModelInputConfiguration& WithUseEventVariables(bool value) { SetUseEventVariables(value); return *this;}
144 
145 
151  inline const Aws::String& GetJsonInputTemplate() const{ return m_jsonInputTemplate; }
152 
158  inline bool JsonInputTemplateHasBeenSet() const { return m_jsonInputTemplateHasBeenSet; }
159 
165  inline void SetJsonInputTemplate(const Aws::String& value) { m_jsonInputTemplateHasBeenSet = true; m_jsonInputTemplate = value; }
166 
172  inline void SetJsonInputTemplate(Aws::String&& value) { m_jsonInputTemplateHasBeenSet = true; m_jsonInputTemplate = std::move(value); }
173 
179  inline void SetJsonInputTemplate(const char* value) { m_jsonInputTemplateHasBeenSet = true; m_jsonInputTemplate.assign(value); }
180 
186  inline ModelInputConfiguration& WithJsonInputTemplate(const Aws::String& value) { SetJsonInputTemplate(value); return *this;}
187 
193  inline ModelInputConfiguration& WithJsonInputTemplate(Aws::String&& value) { SetJsonInputTemplate(std::move(value)); return *this;}
194 
200  inline ModelInputConfiguration& WithJsonInputTemplate(const char* value) { SetJsonInputTemplate(value); return *this;}
201 
202 
208  inline const Aws::String& GetCsvInputTemplate() const{ return m_csvInputTemplate; }
209 
215  inline bool CsvInputTemplateHasBeenSet() const { return m_csvInputTemplateHasBeenSet; }
216 
222  inline void SetCsvInputTemplate(const Aws::String& value) { m_csvInputTemplateHasBeenSet = true; m_csvInputTemplate = value; }
223 
229  inline void SetCsvInputTemplate(Aws::String&& value) { m_csvInputTemplateHasBeenSet = true; m_csvInputTemplate = std::move(value); }
230 
236  inline void SetCsvInputTemplate(const char* value) { m_csvInputTemplateHasBeenSet = true; m_csvInputTemplate.assign(value); }
237 
243  inline ModelInputConfiguration& WithCsvInputTemplate(const Aws::String& value) { SetCsvInputTemplate(value); return *this;}
244 
250  inline ModelInputConfiguration& WithCsvInputTemplate(Aws::String&& value) { SetCsvInputTemplate(std::move(value)); return *this;}
251 
257  inline ModelInputConfiguration& WithCsvInputTemplate(const char* value) { SetCsvInputTemplate(value); return *this;}
258 
259  private:
260 
261  Aws::String m_eventTypeName;
262  bool m_eventTypeNameHasBeenSet;
263 
264  ModelInputDataFormat m_format;
265  bool m_formatHasBeenSet;
266 
267  bool m_useEventVariables;
268  bool m_useEventVariablesHasBeenSet;
269 
270  Aws::String m_jsonInputTemplate;
271  bool m_jsonInputTemplateHasBeenSet;
272 
273  Aws::String m_csvInputTemplate;
274  bool m_csvInputTemplateHasBeenSet;
275  };
276 
277 } // namespace Model
278 } // namespace FraudDetector
279 } // namespace Aws
Aws::FraudDetector::Model::ModelInputConfiguration::WithEventTypeName
ModelInputConfiguration & WithEventTypeName(const Aws::String &value)
Definition: ModelInputConfiguration.h:69
Aws::FraudDetector::Model::ModelInputConfiguration::GetUseEventVariables
bool GetUseEventVariables() const
Definition: ModelInputConfiguration.h:128
Aws::FraudDetector::Model::ModelInputConfiguration
Definition: ModelInputConfiguration.h:33
Aws::FraudDetector::Model::ModelInputConfiguration::GetJsonInputTemplate
const Aws::String & GetJsonInputTemplate() const
Definition: ModelInputConfiguration.h:151
Aws::FraudDetector::Model::ModelInputConfiguration::FormatHasBeenSet
bool FormatHasBeenSet() const
Definition: ModelInputConfiguration.h:94
Aws::FraudDetector::Model::ModelInputDataFormat
ModelInputDataFormat
Definition: ModelInputDataFormat.h:17
Aws::FraudDetector::Model::ModelInputConfiguration::SetUseEventVariables
void SetUseEventVariables(bool value)
Definition: ModelInputConfiguration.h:138
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::ModelInputConfiguration::WithEventTypeName
ModelInputConfiguration & WithEventTypeName(const char *value)
Definition: ModelInputConfiguration.h:79
Aws::FraudDetector::Model::ModelInputConfiguration::GetEventTypeName
const Aws::String & GetEventTypeName() const
Definition: ModelInputConfiguration.h:44
Aws::FraudDetector::Model::ModelInputConfiguration::WithJsonInputTemplate
ModelInputConfiguration & WithJsonInputTemplate(const char *value)
Definition: ModelInputConfiguration.h:200
Aws::FraudDetector::Model::ModelInputConfiguration::WithFormat
ModelInputConfiguration & WithFormat(ModelInputDataFormat &&value)
Definition: ModelInputConfiguration.h:122
Aws::FraudDetector::Model::ModelInputConfiguration::SetJsonInputTemplate
void SetJsonInputTemplate(const char *value)
Definition: ModelInputConfiguration.h:179
Aws::FraudDetector::Model::ModelInputConfiguration::GetFormat
const ModelInputDataFormat & GetFormat() const
Definition: ModelInputConfiguration.h:87
Aws::FraudDetector::Model::ModelInputConfiguration::ModelInputConfiguration
ModelInputConfiguration()
Aws::FraudDetector::Model::ModelInputConfiguration::WithCsvInputTemplate
ModelInputConfiguration & WithCsvInputTemplate(const Aws::String &value)
Definition: ModelInputConfiguration.h:243
Aws::FraudDetector::Model::ModelInputConfiguration::WithUseEventVariables
ModelInputConfiguration & WithUseEventVariables(bool value)
Definition: ModelInputConfiguration.h:143
Aws::FraudDetector::Model::ModelInputConfiguration::WithEventTypeName
ModelInputConfiguration & WithEventTypeName(Aws::String &&value)
Definition: ModelInputConfiguration.h:74
Aws::FraudDetector::Model::ModelInputConfiguration::GetCsvInputTemplate
const Aws::String & GetCsvInputTemplate() const
Definition: ModelInputConfiguration.h:208
Aws::FraudDetector::Model::ModelInputConfiguration::SetFormat
void SetFormat(const ModelInputDataFormat &value)
Definition: ModelInputConfiguration.h:101
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::ModelInputConfiguration::ModelInputConfiguration
ModelInputConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::ModelInputConfiguration::WithFormat
ModelInputConfiguration & WithFormat(const ModelInputDataFormat &value)
Definition: ModelInputConfiguration.h:115
Aws::FraudDetector::Model::ModelInputConfiguration::WithJsonInputTemplate
ModelInputConfiguration & WithJsonInputTemplate(const Aws::String &value)
Definition: ModelInputConfiguration.h:186
Aws::FraudDetector::Model::ModelInputConfiguration::SetJsonInputTemplate
void SetJsonInputTemplate(Aws::String &&value)
Definition: ModelInputConfiguration.h:172
Aws::FraudDetector::Model::ModelInputConfiguration::SetEventTypeName
void SetEventTypeName(const Aws::String &value)
Definition: ModelInputConfiguration.h:54
Aws::FraudDetector::Model::ModelInputConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::FraudDetector::Model::ModelInputConfiguration::WithJsonInputTemplate
ModelInputConfiguration & WithJsonInputTemplate(Aws::String &&value)
Definition: ModelInputConfiguration.h:193
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
ModelInputDataFormat.h
Aws::FraudDetector::Model::ModelInputConfiguration::SetJsonInputTemplate
void SetJsonInputTemplate(const Aws::String &value)
Definition: ModelInputConfiguration.h:165
Aws::FraudDetector::Model::ModelInputConfiguration::JsonInputTemplateHasBeenSet
bool JsonInputTemplateHasBeenSet() const
Definition: ModelInputConfiguration.h:158
Aws::FraudDetector::Model::ModelInputConfiguration::WithCsvInputTemplate
ModelInputConfiguration & WithCsvInputTemplate(Aws::String &&value)
Definition: ModelInputConfiguration.h:250
Aws::FraudDetector::Model::ModelInputConfiguration::SetEventTypeName
void SetEventTypeName(Aws::String &&value)
Definition: ModelInputConfiguration.h:59
Aws::FraudDetector::Model::ModelInputConfiguration::SetCsvInputTemplate
void SetCsvInputTemplate(const char *value)
Definition: ModelInputConfiguration.h:236
Aws::FraudDetector::Model::ModelInputConfiguration::UseEventVariablesHasBeenSet
bool UseEventVariablesHasBeenSet() const
Definition: ModelInputConfiguration.h:133
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::ModelInputConfiguration::CsvInputTemplateHasBeenSet
bool CsvInputTemplateHasBeenSet() const
Definition: ModelInputConfiguration.h:215
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::ModelInputConfiguration::SetEventTypeName
void SetEventTypeName(const char *value)
Definition: ModelInputConfiguration.h:64
Aws::FraudDetector::Model::ModelInputConfiguration::SetCsvInputTemplate
void SetCsvInputTemplate(const Aws::String &value)
Definition: ModelInputConfiguration.h:222
Aws::FraudDetector::Model::ModelInputConfiguration::SetFormat
void SetFormat(ModelInputDataFormat &&value)
Definition: ModelInputConfiguration.h:108
Aws::FraudDetector::Model::ModelInputConfiguration::WithCsvInputTemplate
ModelInputConfiguration & WithCsvInputTemplate(const char *value)
Definition: ModelInputConfiguration.h:257
Aws::FraudDetector::Model::ModelInputConfiguration::operator=
ModelInputConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::ModelInputConfiguration::SetCsvInputTemplate
void SetCsvInputTemplate(Aws::String &&value)
Definition: ModelInputConfiguration.h:229
Aws::FraudDetector::Model::ModelInputConfiguration::EventTypeNameHasBeenSet
bool EventTypeNameHasBeenSet() const
Definition: ModelInputConfiguration.h:49