AWS SDK for C++  1.8.95
AWS SDK for C++
UpdateGrokClassifierRequest.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Glue
22 {
23 namespace Model
24 {
25 
33  {
34  public:
38  Aws::Utils::Json::JsonValue Jsonize() const;
39 
40 
44  inline const Aws::String& GetName() const{ return m_name; }
45 
49  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 
54  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 
59  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 
64  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 
69  inline UpdateGrokClassifierRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
70 
74  inline UpdateGrokClassifierRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 
79  inline UpdateGrokClassifierRequest& WithName(const char* value) { SetName(value); return *this;}
80 
81 
86  inline const Aws::String& GetClassification() const{ return m_classification; }
87 
92  inline bool ClassificationHasBeenSet() const { return m_classificationHasBeenSet; }
93 
98  inline void SetClassification(const Aws::String& value) { m_classificationHasBeenSet = true; m_classification = value; }
99 
104  inline void SetClassification(Aws::String&& value) { m_classificationHasBeenSet = true; m_classification = std::move(value); }
105 
110  inline void SetClassification(const char* value) { m_classificationHasBeenSet = true; m_classification.assign(value); }
111 
116  inline UpdateGrokClassifierRequest& WithClassification(const Aws::String& value) { SetClassification(value); return *this;}
117 
122  inline UpdateGrokClassifierRequest& WithClassification(Aws::String&& value) { SetClassification(std::move(value)); return *this;}
123 
128  inline UpdateGrokClassifierRequest& WithClassification(const char* value) { SetClassification(value); return *this;}
129 
130 
134  inline const Aws::String& GetGrokPattern() const{ return m_grokPattern; }
135 
139  inline bool GrokPatternHasBeenSet() const { return m_grokPatternHasBeenSet; }
140 
144  inline void SetGrokPattern(const Aws::String& value) { m_grokPatternHasBeenSet = true; m_grokPattern = value; }
145 
149  inline void SetGrokPattern(Aws::String&& value) { m_grokPatternHasBeenSet = true; m_grokPattern = std::move(value); }
150 
154  inline void SetGrokPattern(const char* value) { m_grokPatternHasBeenSet = true; m_grokPattern.assign(value); }
155 
159  inline UpdateGrokClassifierRequest& WithGrokPattern(const Aws::String& value) { SetGrokPattern(value); return *this;}
160 
164  inline UpdateGrokClassifierRequest& WithGrokPattern(Aws::String&& value) { SetGrokPattern(std::move(value)); return *this;}
165 
169  inline UpdateGrokClassifierRequest& WithGrokPattern(const char* value) { SetGrokPattern(value); return *this;}
170 
171 
175  inline const Aws::String& GetCustomPatterns() const{ return m_customPatterns; }
176 
180  inline bool CustomPatternsHasBeenSet() const { return m_customPatternsHasBeenSet; }
181 
185  inline void SetCustomPatterns(const Aws::String& value) { m_customPatternsHasBeenSet = true; m_customPatterns = value; }
186 
190  inline void SetCustomPatterns(Aws::String&& value) { m_customPatternsHasBeenSet = true; m_customPatterns = std::move(value); }
191 
195  inline void SetCustomPatterns(const char* value) { m_customPatternsHasBeenSet = true; m_customPatterns.assign(value); }
196 
200  inline UpdateGrokClassifierRequest& WithCustomPatterns(const Aws::String& value) { SetCustomPatterns(value); return *this;}
201 
205  inline UpdateGrokClassifierRequest& WithCustomPatterns(Aws::String&& value) { SetCustomPatterns(std::move(value)); return *this;}
206 
210  inline UpdateGrokClassifierRequest& WithCustomPatterns(const char* value) { SetCustomPatterns(value); return *this;}
211 
212  private:
213 
214  Aws::String m_name;
215  bool m_nameHasBeenSet;
216 
217  Aws::String m_classification;
218  bool m_classificationHasBeenSet;
219 
220  Aws::String m_grokPattern;
221  bool m_grokPatternHasBeenSet;
222 
223  Aws::String m_customPatterns;
224  bool m_customPatternsHasBeenSet;
225  };
226 
227 } // namespace Model
228 } // namespace Glue
229 } // namespace Aws
UpdateGrokClassifierRequest & WithCustomPatterns(const char *value)
UpdateGrokClassifierRequest & WithClassification(const char *value)
UpdateGrokClassifierRequest & WithName(const Aws::String &value)
UpdateGrokClassifierRequest & WithName(const char *value)
UpdateGrokClassifierRequest & WithClassification(Aws::String &&value)
UpdateGrokClassifierRequest & WithName(Aws::String &&value)
UpdateGrokClassifierRequest & WithGrokPattern(const Aws::String &value)
UpdateGrokClassifierRequest & WithClassification(const Aws::String &value)
UpdateGrokClassifierRequest & WithCustomPatterns(const Aws::String &value)
#define AWS_GLUE_API
Definition: Glue_EXPORTS.h:28
UpdateGrokClassifierRequest & WithGrokPattern(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
UpdateGrokClassifierRequest & WithCustomPatterns(Aws::String &&value)
UpdateGrokClassifierRequest & WithGrokPattern(Aws::String &&value)