AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateClassifierRequest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/glue/model/UpdateGrokClassifierRequest.h>
10#include <aws/glue/model/UpdateXMLClassifierRequest.h>
11#include <aws/glue/model/UpdateJsonClassifierRequest.h>
12#include <aws/glue/model/UpdateCsvClassifierRequest.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 "UpdateClassifier"; }
34
35 AWS_GLUE_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const UpdateGrokClassifierRequest& GetGrokClassifier() const{ return m_grokClassifier; }
45 inline bool GrokClassifierHasBeenSet() const { return m_grokClassifierHasBeenSet; }
46 inline void SetGrokClassifier(const UpdateGrokClassifierRequest& value) { m_grokClassifierHasBeenSet = true; m_grokClassifier = value; }
47 inline void SetGrokClassifier(UpdateGrokClassifierRequest&& value) { m_grokClassifierHasBeenSet = true; m_grokClassifier = std::move(value); }
51
53
56 inline const UpdateXMLClassifierRequest& GetXMLClassifier() const{ return m_xMLClassifier; }
57 inline bool XMLClassifierHasBeenSet() const { return m_xMLClassifierHasBeenSet; }
58 inline void SetXMLClassifier(const UpdateXMLClassifierRequest& value) { m_xMLClassifierHasBeenSet = true; m_xMLClassifier = value; }
59 inline void SetXMLClassifier(UpdateXMLClassifierRequest&& value) { m_xMLClassifierHasBeenSet = true; m_xMLClassifier = std::move(value); }
61 inline UpdateClassifierRequest& WithXMLClassifier(UpdateXMLClassifierRequest&& value) { SetXMLClassifier(std::move(value)); return *this;}
63
65
68 inline const UpdateJsonClassifierRequest& GetJsonClassifier() const{ return m_jsonClassifier; }
69 inline bool JsonClassifierHasBeenSet() const { return m_jsonClassifierHasBeenSet; }
70 inline void SetJsonClassifier(const UpdateJsonClassifierRequest& value) { m_jsonClassifierHasBeenSet = true; m_jsonClassifier = value; }
71 inline void SetJsonClassifier(UpdateJsonClassifierRequest&& value) { m_jsonClassifierHasBeenSet = true; m_jsonClassifier = std::move(value); }
75
77
80 inline const UpdateCsvClassifierRequest& GetCsvClassifier() const{ return m_csvClassifier; }
81 inline bool CsvClassifierHasBeenSet() const { return m_csvClassifierHasBeenSet; }
82 inline void SetCsvClassifier(const UpdateCsvClassifierRequest& value) { m_csvClassifierHasBeenSet = true; m_csvClassifier = value; }
83 inline void SetCsvClassifier(UpdateCsvClassifierRequest&& value) { m_csvClassifierHasBeenSet = true; m_csvClassifier = std::move(value); }
85 inline UpdateClassifierRequest& WithCsvClassifier(UpdateCsvClassifierRequest&& value) { SetCsvClassifier(std::move(value)); return *this;}
87 private:
88
89 UpdateGrokClassifierRequest m_grokClassifier;
90 bool m_grokClassifierHasBeenSet = false;
91
92 UpdateXMLClassifierRequest m_xMLClassifier;
93 bool m_xMLClassifierHasBeenSet = false;
94
95 UpdateJsonClassifierRequest m_jsonClassifier;
96 bool m_jsonClassifierHasBeenSet = false;
97
98 UpdateCsvClassifierRequest m_csvClassifier;
99 bool m_csvClassifierHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace Glue
104} // namespace Aws
const UpdateXMLClassifierRequest & GetXMLClassifier() const
const UpdateJsonClassifierRequest & GetJsonClassifier() const
UpdateClassifierRequest & WithXMLClassifier(const UpdateXMLClassifierRequest &value)
UpdateClassifierRequest & WithJsonClassifier(const UpdateJsonClassifierRequest &value)
UpdateClassifierRequest & WithGrokClassifier(UpdateGrokClassifierRequest &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
void SetCsvClassifier(const UpdateCsvClassifierRequest &value)
void SetGrokClassifier(const UpdateGrokClassifierRequest &value)
UpdateClassifierRequest & WithXMLClassifier(UpdateXMLClassifierRequest &&value)
void SetXMLClassifier(UpdateXMLClassifierRequest &&value)
void SetXMLClassifier(const UpdateXMLClassifierRequest &value)
UpdateClassifierRequest & WithCsvClassifier(const UpdateCsvClassifierRequest &value)
AWS_GLUE_API Aws::String SerializePayload() const override
const UpdateCsvClassifierRequest & GetCsvClassifier() const
void SetCsvClassifier(UpdateCsvClassifierRequest &&value)
void SetGrokClassifier(UpdateGrokClassifierRequest &&value)
void SetJsonClassifier(const UpdateJsonClassifierRequest &value)
UpdateClassifierRequest & WithJsonClassifier(UpdateJsonClassifierRequest &&value)
void SetJsonClassifier(UpdateJsonClassifierRequest &&value)
const UpdateGrokClassifierRequest & GetGrokClassifier() const
UpdateClassifierRequest & WithCsvClassifier(UpdateCsvClassifierRequest &&value)
UpdateClassifierRequest & WithGrokClassifier(const UpdateGrokClassifierRequest &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String