AWS SDK for C++  1.8.71
AWS SDK for C++
UpdateClassifierRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/glue/GlueRequest.h>
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Glue
18 {
19 namespace 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::String SerializePayload() const override;
36 
37  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
39 
43  inline const UpdateGrokClassifierRequest& GetGrokClassifier() const{ return m_grokClassifier; }
44 
48  inline bool GrokClassifierHasBeenSet() const { return m_grokClassifierHasBeenSet; }
49 
53  inline void SetGrokClassifier(const UpdateGrokClassifierRequest& value) { m_grokClassifierHasBeenSet = true; m_grokClassifier = value; }
54 
58  inline void SetGrokClassifier(UpdateGrokClassifierRequest&& value) { m_grokClassifierHasBeenSet = true; m_grokClassifier = std::move(value); }
59 
63  inline UpdateClassifierRequest& WithGrokClassifier(const UpdateGrokClassifierRequest& value) { SetGrokClassifier(value); return *this;}
64 
68  inline UpdateClassifierRequest& WithGrokClassifier(UpdateGrokClassifierRequest&& value) { SetGrokClassifier(std::move(value)); return *this;}
69 
70 
74  inline const UpdateXMLClassifierRequest& GetXMLClassifier() const{ return m_xMLClassifier; }
75 
79  inline bool XMLClassifierHasBeenSet() const { return m_xMLClassifierHasBeenSet; }
80 
84  inline void SetXMLClassifier(const UpdateXMLClassifierRequest& value) { m_xMLClassifierHasBeenSet = true; m_xMLClassifier = value; }
85 
89  inline void SetXMLClassifier(UpdateXMLClassifierRequest&& value) { m_xMLClassifierHasBeenSet = true; m_xMLClassifier = std::move(value); }
90 
94  inline UpdateClassifierRequest& WithXMLClassifier(const UpdateXMLClassifierRequest& value) { SetXMLClassifier(value); return *this;}
95 
99  inline UpdateClassifierRequest& WithXMLClassifier(UpdateXMLClassifierRequest&& value) { SetXMLClassifier(std::move(value)); return *this;}
100 
101 
105  inline const UpdateJsonClassifierRequest& GetJsonClassifier() const{ return m_jsonClassifier; }
106 
110  inline bool JsonClassifierHasBeenSet() const { return m_jsonClassifierHasBeenSet; }
111 
115  inline void SetJsonClassifier(const UpdateJsonClassifierRequest& value) { m_jsonClassifierHasBeenSet = true; m_jsonClassifier = value; }
116 
120  inline void SetJsonClassifier(UpdateJsonClassifierRequest&& value) { m_jsonClassifierHasBeenSet = true; m_jsonClassifier = std::move(value); }
121 
125  inline UpdateClassifierRequest& WithJsonClassifier(const UpdateJsonClassifierRequest& value) { SetJsonClassifier(value); return *this;}
126 
130  inline UpdateClassifierRequest& WithJsonClassifier(UpdateJsonClassifierRequest&& value) { SetJsonClassifier(std::move(value)); return *this;}
131 
132 
136  inline const UpdateCsvClassifierRequest& GetCsvClassifier() const{ return m_csvClassifier; }
137 
141  inline bool CsvClassifierHasBeenSet() const { return m_csvClassifierHasBeenSet; }
142 
146  inline void SetCsvClassifier(const UpdateCsvClassifierRequest& value) { m_csvClassifierHasBeenSet = true; m_csvClassifier = value; }
147 
151  inline void SetCsvClassifier(UpdateCsvClassifierRequest&& value) { m_csvClassifierHasBeenSet = true; m_csvClassifier = std::move(value); }
152 
156  inline UpdateClassifierRequest& WithCsvClassifier(const UpdateCsvClassifierRequest& value) { SetCsvClassifier(value); return *this;}
157 
161  inline UpdateClassifierRequest& WithCsvClassifier(UpdateCsvClassifierRequest&& value) { SetCsvClassifier(std::move(value)); return *this;}
162 
163  private:
164 
165  UpdateGrokClassifierRequest m_grokClassifier;
166  bool m_grokClassifierHasBeenSet;
167 
168  UpdateXMLClassifierRequest m_xMLClassifier;
169  bool m_xMLClassifierHasBeenSet;
170 
171  UpdateJsonClassifierRequest m_jsonClassifier;
172  bool m_jsonClassifierHasBeenSet;
173 
174  UpdateCsvClassifierRequest m_csvClassifier;
175  bool m_csvClassifierHasBeenSet;
176  };
177 
178 } // namespace Model
179 } // namespace Glue
180 } // namespace Aws
const UpdateGrokClassifierRequest & GetGrokClassifier() const
void SetCsvClassifier(UpdateCsvClassifierRequest &&value)
void SetGrokClassifier(UpdateGrokClassifierRequest &&value)
UpdateClassifierRequest & WithCsvClassifier(const UpdateCsvClassifierRequest &value)
UpdateClassifierRequest & WithJsonClassifier(const UpdateJsonClassifierRequest &value)
UpdateClassifierRequest & WithGrokClassifier(UpdateGrokClassifierRequest &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
void SetGrokClassifier(const UpdateGrokClassifierRequest &value)
UpdateClassifierRequest & WithCsvClassifier(UpdateCsvClassifierRequest &&value)
void SetCsvClassifier(const UpdateCsvClassifierRequest &value)
void SetJsonClassifier(UpdateJsonClassifierRequest &&value)
void SetXMLClassifier(UpdateXMLClassifierRequest &&value)
virtual const char * GetServiceRequestName() const override
#define AWS_GLUE_API
Definition: Glue_EXPORTS.h:28
UpdateClassifierRequest & WithXMLClassifier(UpdateXMLClassifierRequest &&value)
UpdateClassifierRequest & WithGrokClassifier(const UpdateGrokClassifierRequest &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
UpdateClassifierRequest & WithJsonClassifier(UpdateJsonClassifierRequest &&value)
const UpdateCsvClassifierRequest & GetCsvClassifier() const
const UpdateJsonClassifierRequest & GetJsonClassifier() const
UpdateClassifierRequest & WithXMLClassifier(const UpdateXMLClassifierRequest &value)
const UpdateXMLClassifierRequest & GetXMLClassifier() const
void SetXMLClassifier(const UpdateXMLClassifierRequest &value)
void SetJsonClassifier(const UpdateJsonClassifierRequest &value)