AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Classifier.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/GrokClassifier.h>
9#include <aws/glue/model/XMLClassifier.h>
10#include <aws/glue/model/JsonClassifier.h>
11#include <aws/glue/model/CsvClassifier.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Glue
25{
26namespace Model
27{
28
43 {
44 public:
45 AWS_GLUE_API Classifier();
46 AWS_GLUE_API Classifier(Aws::Utils::Json::JsonView jsonValue);
49
50
52
55 inline const GrokClassifier& GetGrokClassifier() const{ return m_grokClassifier; }
56 inline bool GrokClassifierHasBeenSet() const { return m_grokClassifierHasBeenSet; }
57 inline void SetGrokClassifier(const GrokClassifier& value) { m_grokClassifierHasBeenSet = true; m_grokClassifier = value; }
58 inline void SetGrokClassifier(GrokClassifier&& value) { m_grokClassifierHasBeenSet = true; m_grokClassifier = std::move(value); }
59 inline Classifier& WithGrokClassifier(const GrokClassifier& value) { SetGrokClassifier(value); return *this;}
60 inline Classifier& WithGrokClassifier(GrokClassifier&& value) { SetGrokClassifier(std::move(value)); return *this;}
62
64
67 inline const XMLClassifier& GetXMLClassifier() const{ return m_xMLClassifier; }
68 inline bool XMLClassifierHasBeenSet() const { return m_xMLClassifierHasBeenSet; }
69 inline void SetXMLClassifier(const XMLClassifier& value) { m_xMLClassifierHasBeenSet = true; m_xMLClassifier = value; }
70 inline void SetXMLClassifier(XMLClassifier&& value) { m_xMLClassifierHasBeenSet = true; m_xMLClassifier = std::move(value); }
71 inline Classifier& WithXMLClassifier(const XMLClassifier& value) { SetXMLClassifier(value); return *this;}
72 inline Classifier& WithXMLClassifier(XMLClassifier&& value) { SetXMLClassifier(std::move(value)); return *this;}
74
76
79 inline const JsonClassifier& GetJsonClassifier() const{ return m_jsonClassifier; }
80 inline bool JsonClassifierHasBeenSet() const { return m_jsonClassifierHasBeenSet; }
81 inline void SetJsonClassifier(const JsonClassifier& value) { m_jsonClassifierHasBeenSet = true; m_jsonClassifier = value; }
82 inline void SetJsonClassifier(JsonClassifier&& value) { m_jsonClassifierHasBeenSet = true; m_jsonClassifier = std::move(value); }
83 inline Classifier& WithJsonClassifier(const JsonClassifier& value) { SetJsonClassifier(value); return *this;}
84 inline Classifier& WithJsonClassifier(JsonClassifier&& value) { SetJsonClassifier(std::move(value)); return *this;}
86
88
91 inline const CsvClassifier& GetCsvClassifier() const{ return m_csvClassifier; }
92 inline bool CsvClassifierHasBeenSet() const { return m_csvClassifierHasBeenSet; }
93 inline void SetCsvClassifier(const CsvClassifier& value) { m_csvClassifierHasBeenSet = true; m_csvClassifier = value; }
94 inline void SetCsvClassifier(CsvClassifier&& value) { m_csvClassifierHasBeenSet = true; m_csvClassifier = std::move(value); }
95 inline Classifier& WithCsvClassifier(const CsvClassifier& value) { SetCsvClassifier(value); return *this;}
96 inline Classifier& WithCsvClassifier(CsvClassifier&& value) { SetCsvClassifier(std::move(value)); return *this;}
98 private:
99
100 GrokClassifier m_grokClassifier;
101 bool m_grokClassifierHasBeenSet = false;
102
103 XMLClassifier m_xMLClassifier;
104 bool m_xMLClassifierHasBeenSet = false;
105
106 JsonClassifier m_jsonClassifier;
107 bool m_jsonClassifierHasBeenSet = false;
108
109 CsvClassifier m_csvClassifier;
110 bool m_csvClassifierHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace Glue
115} // namespace Aws
bool CsvClassifierHasBeenSet() const
Definition Classifier.h:92
Classifier & WithJsonClassifier(JsonClassifier &&value)
Definition Classifier.h:84
bool GrokClassifierHasBeenSet() const
Definition Classifier.h:56
Classifier & WithXMLClassifier(const XMLClassifier &value)
Definition Classifier.h:71
void SetCsvClassifier(CsvClassifier &&value)
Definition Classifier.h:94
void SetGrokClassifier(const GrokClassifier &value)
Definition Classifier.h:57
Classifier & WithCsvClassifier(const CsvClassifier &value)
Definition Classifier.h:95
Classifier & WithJsonClassifier(const JsonClassifier &value)
Definition Classifier.h:83
AWS_GLUE_API Classifier & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
bool JsonClassifierHasBeenSet() const
Definition Classifier.h:80
Classifier & WithGrokClassifier(const GrokClassifier &value)
Definition Classifier.h:59
const GrokClassifier & GetGrokClassifier() const
Definition Classifier.h:55
Classifier & WithCsvClassifier(CsvClassifier &&value)
Definition Classifier.h:96
void SetXMLClassifier(const XMLClassifier &value)
Definition Classifier.h:69
Classifier & WithXMLClassifier(XMLClassifier &&value)
Definition Classifier.h:72
const XMLClassifier & GetXMLClassifier() const
Definition Classifier.h:67
AWS_GLUE_API Classifier(Aws::Utils::Json::JsonView jsonValue)
void SetJsonClassifier(const JsonClassifier &value)
Definition Classifier.h:81
void SetXMLClassifier(XMLClassifier &&value)
Definition Classifier.h:70
void SetJsonClassifier(JsonClassifier &&value)
Definition Classifier.h:82
bool XMLClassifierHasBeenSet() const
Definition Classifier.h:68
void SetCsvClassifier(const CsvClassifier &value)
Definition Classifier.h:93
Classifier & WithGrokClassifier(GrokClassifier &&value)
Definition Classifier.h:60
void SetGrokClassifier(GrokClassifier &&value)
Definition Classifier.h:58
const JsonClassifier & GetJsonClassifier() const
Definition Classifier.h:79
const CsvClassifier & GetCsvClassifier() const
Definition Classifier.h:91
Aws::Utils::Json::JsonValue JsonValue