AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModelInputConfiguration.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/frauddetector/model/ModelInputDataFormat.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace FraudDetector
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_FRAUDDETECTOR_API ModelInputConfiguration();
36 AWS_FRAUDDETECTOR_API ModelInputConfiguration(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetEventTypeName() const{ return m_eventTypeName; }
46 inline bool EventTypeNameHasBeenSet() const { return m_eventTypeNameHasBeenSet; }
47 inline void SetEventTypeName(const Aws::String& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = value; }
48 inline void SetEventTypeName(Aws::String&& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = std::move(value); }
49 inline void SetEventTypeName(const char* value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName.assign(value); }
50 inline ModelInputConfiguration& WithEventTypeName(const Aws::String& value) { SetEventTypeName(value); return *this;}
51 inline ModelInputConfiguration& WithEventTypeName(Aws::String&& value) { SetEventTypeName(std::move(value)); return *this;}
52 inline ModelInputConfiguration& WithEventTypeName(const char* value) { SetEventTypeName(value); return *this;}
54
56
61 inline const ModelInputDataFormat& GetFormat() const{ return m_format; }
62 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
63 inline void SetFormat(const ModelInputDataFormat& value) { m_formatHasBeenSet = true; m_format = value; }
64 inline void SetFormat(ModelInputDataFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
65 inline ModelInputConfiguration& WithFormat(const ModelInputDataFormat& value) { SetFormat(value); return *this;}
66 inline ModelInputConfiguration& WithFormat(ModelInputDataFormat&& value) { SetFormat(std::move(value)); return *this;}
68
70
73 inline bool GetUseEventVariables() const{ return m_useEventVariables; }
74 inline bool UseEventVariablesHasBeenSet() const { return m_useEventVariablesHasBeenSet; }
75 inline void SetUseEventVariables(bool value) { m_useEventVariablesHasBeenSet = true; m_useEventVariables = value; }
76 inline ModelInputConfiguration& WithUseEventVariables(bool value) { SetUseEventVariables(value); return *this;}
78
80
85 inline const Aws::String& GetJsonInputTemplate() const{ return m_jsonInputTemplate; }
86 inline bool JsonInputTemplateHasBeenSet() const { return m_jsonInputTemplateHasBeenSet; }
87 inline void SetJsonInputTemplate(const Aws::String& value) { m_jsonInputTemplateHasBeenSet = true; m_jsonInputTemplate = value; }
88 inline void SetJsonInputTemplate(Aws::String&& value) { m_jsonInputTemplateHasBeenSet = true; m_jsonInputTemplate = std::move(value); }
89 inline void SetJsonInputTemplate(const char* value) { m_jsonInputTemplateHasBeenSet = true; m_jsonInputTemplate.assign(value); }
91 inline ModelInputConfiguration& WithJsonInputTemplate(Aws::String&& value) { SetJsonInputTemplate(std::move(value)); return *this;}
92 inline ModelInputConfiguration& WithJsonInputTemplate(const char* value) { SetJsonInputTemplate(value); return *this;}
94
96
101 inline const Aws::String& GetCsvInputTemplate() const{ return m_csvInputTemplate; }
102 inline bool CsvInputTemplateHasBeenSet() const { return m_csvInputTemplateHasBeenSet; }
103 inline void SetCsvInputTemplate(const Aws::String& value) { m_csvInputTemplateHasBeenSet = true; m_csvInputTemplate = value; }
104 inline void SetCsvInputTemplate(Aws::String&& value) { m_csvInputTemplateHasBeenSet = true; m_csvInputTemplate = std::move(value); }
105 inline void SetCsvInputTemplate(const char* value) { m_csvInputTemplateHasBeenSet = true; m_csvInputTemplate.assign(value); }
107 inline ModelInputConfiguration& WithCsvInputTemplate(Aws::String&& value) { SetCsvInputTemplate(std::move(value)); return *this;}
108 inline ModelInputConfiguration& WithCsvInputTemplate(const char* value) { SetCsvInputTemplate(value); return *this;}
110 private:
111
112 Aws::String m_eventTypeName;
113 bool m_eventTypeNameHasBeenSet = false;
114
115 ModelInputDataFormat m_format;
116 bool m_formatHasBeenSet = false;
117
118 bool m_useEventVariables;
119 bool m_useEventVariablesHasBeenSet = false;
120
121 Aws::String m_jsonInputTemplate;
122 bool m_jsonInputTemplateHasBeenSet = false;
123
124 Aws::String m_csvInputTemplate;
125 bool m_csvInputTemplateHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace FraudDetector
130} // namespace Aws
AWS_FRAUDDETECTOR_API ModelInputConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelInputConfiguration & WithFormat(ModelInputDataFormat &&value)
void SetFormat(const ModelInputDataFormat &value)
AWS_FRAUDDETECTOR_API ModelInputConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
ModelInputConfiguration & WithEventTypeName(const char *value)
ModelInputConfiguration & WithCsvInputTemplate(const char *value)
ModelInputConfiguration & WithJsonInputTemplate(const char *value)
ModelInputConfiguration & WithEventTypeName(Aws::String &&value)
ModelInputConfiguration & WithJsonInputTemplate(const Aws::String &value)
ModelInputConfiguration & WithCsvInputTemplate(Aws::String &&value)
ModelInputConfiguration & WithUseEventVariables(bool value)
ModelInputConfiguration & WithEventTypeName(const Aws::String &value)
ModelInputConfiguration & WithCsvInputTemplate(const Aws::String &value)
ModelInputConfiguration & WithJsonInputTemplate(Aws::String &&value)
ModelInputConfiguration & WithFormat(const ModelInputDataFormat &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue