AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateClassifierRequest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/glue/model/CreateGrokClassifierRequest.h>
10#include <aws/glue/model/CreateXMLClassifierRequest.h>
11#include <aws/glue/model/CreateJsonClassifierRequest.h>
12#include <aws/glue/model/CreateCsvClassifierRequest.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Glue
18{
19namespace Model
20{
21
25 {
26 public:
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateClassifier"; }
34
35 AWS_GLUE_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const CreateGrokClassifierRequest& GetGrokClassifier() const{ return m_grokClassifier; }
45 inline bool GrokClassifierHasBeenSet() const { return m_grokClassifierHasBeenSet; }
46 inline void SetGrokClassifier(const CreateGrokClassifierRequest& value) { m_grokClassifierHasBeenSet = true; m_grokClassifier = value; }
47 inline void SetGrokClassifier(CreateGrokClassifierRequest&& value) { m_grokClassifierHasBeenSet = true; m_grokClassifier = std::move(value); }
51
53
56 inline const CreateXMLClassifierRequest& GetXMLClassifier() const{ return m_xMLClassifier; }
57 inline bool XMLClassifierHasBeenSet() const { return m_xMLClassifierHasBeenSet; }
58 inline void SetXMLClassifier(const CreateXMLClassifierRequest& value) { m_xMLClassifierHasBeenSet = true; m_xMLClassifier = value; }
59 inline void SetXMLClassifier(CreateXMLClassifierRequest&& value) { m_xMLClassifierHasBeenSet = true; m_xMLClassifier = std::move(value); }
61 inline CreateClassifierRequest& WithXMLClassifier(CreateXMLClassifierRequest&& value) { SetXMLClassifier(std::move(value)); return *this;}
63
65
68 inline const CreateJsonClassifierRequest& GetJsonClassifier() const{ return m_jsonClassifier; }
69 inline bool JsonClassifierHasBeenSet() const { return m_jsonClassifierHasBeenSet; }
70 inline void SetJsonClassifier(const CreateJsonClassifierRequest& value) { m_jsonClassifierHasBeenSet = true; m_jsonClassifier = value; }
71 inline void SetJsonClassifier(CreateJsonClassifierRequest&& value) { m_jsonClassifierHasBeenSet = true; m_jsonClassifier = std::move(value); }
75
77
80 inline const CreateCsvClassifierRequest& GetCsvClassifier() const{ return m_csvClassifier; }
81 inline bool CsvClassifierHasBeenSet() const { return m_csvClassifierHasBeenSet; }
82 inline void SetCsvClassifier(const CreateCsvClassifierRequest& value) { m_csvClassifierHasBeenSet = true; m_csvClassifier = value; }
83 inline void SetCsvClassifier(CreateCsvClassifierRequest&& value) { m_csvClassifierHasBeenSet = true; m_csvClassifier = std::move(value); }
85 inline CreateClassifierRequest& WithCsvClassifier(CreateCsvClassifierRequest&& value) { SetCsvClassifier(std::move(value)); return *this;}
87 private:
88
89 CreateGrokClassifierRequest m_grokClassifier;
90 bool m_grokClassifierHasBeenSet = false;
91
92 CreateXMLClassifierRequest m_xMLClassifier;
93 bool m_xMLClassifierHasBeenSet = false;
94
95 CreateJsonClassifierRequest m_jsonClassifier;
96 bool m_jsonClassifierHasBeenSet = false;
97
98 CreateCsvClassifierRequest m_csvClassifier;
99 bool m_csvClassifierHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace Glue
104} // namespace Aws
CreateClassifierRequest & WithJsonClassifier(const CreateJsonClassifierRequest &value)
void SetGrokClassifier(CreateGrokClassifierRequest &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
void SetGrokClassifier(const CreateGrokClassifierRequest &value)
CreateClassifierRequest & WithCsvClassifier(const CreateCsvClassifierRequest &value)
void SetCsvClassifier(const CreateCsvClassifierRequest &value)
const CreateJsonClassifierRequest & GetJsonClassifier() const
CreateClassifierRequest & WithJsonClassifier(CreateJsonClassifierRequest &&value)
CreateClassifierRequest & WithXMLClassifier(CreateXMLClassifierRequest &&value)
const CreateCsvClassifierRequest & GetCsvClassifier() const
const CreateXMLClassifierRequest & GetXMLClassifier() const
CreateClassifierRequest & WithCsvClassifier(CreateCsvClassifierRequest &&value)
void SetXMLClassifier(CreateXMLClassifierRequest &&value)
const CreateGrokClassifierRequest & GetGrokClassifier() const
CreateClassifierRequest & WithXMLClassifier(const CreateXMLClassifierRequest &value)
void SetJsonClassifier(const CreateJsonClassifierRequest &value)
CreateClassifierRequest & WithGrokClassifier(CreateGrokClassifierRequest &&value)
CreateClassifierRequest & WithGrokClassifier(const CreateGrokClassifierRequest &value)
void SetJsonClassifier(CreateJsonClassifierRequest &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
void SetXMLClassifier(const CreateXMLClassifierRequest &value)
void SetCsvClassifier(CreateCsvClassifierRequest &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String