AWS SDK for C++

AWS SDK for C++ Version 1.11.689

Loading...
Searching...
No Matches
UpdateGrokClassifierRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
29 public:
30 AWS_GLUE_API UpdateGrokClassifierRequest() = default;
34
36
39 inline const Aws::String& GetName() const { return m_name; }
40 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
41 template <typename NameT = Aws::String>
42 void SetName(NameT&& value) {
43 m_nameHasBeenSet = true;
44 m_name = std::forward<NameT>(value);
45 }
46 template <typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetClassification() const { return m_classification; }
59 inline bool ClassificationHasBeenSet() const { return m_classificationHasBeenSet; }
60 template <typename ClassificationT = Aws::String>
61 void SetClassification(ClassificationT&& value) {
62 m_classificationHasBeenSet = true;
63 m_classification = std::forward<ClassificationT>(value);
64 }
65 template <typename ClassificationT = Aws::String>
67 SetClassification(std::forward<ClassificationT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetGrokPattern() const { return m_grokPattern; }
77 inline bool GrokPatternHasBeenSet() const { return m_grokPatternHasBeenSet; }
78 template <typename GrokPatternT = Aws::String>
79 void SetGrokPattern(GrokPatternT&& value) {
80 m_grokPatternHasBeenSet = true;
81 m_grokPattern = std::forward<GrokPatternT>(value);
82 }
83 template <typename GrokPatternT = Aws::String>
85 SetGrokPattern(std::forward<GrokPatternT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetCustomPatterns() const { return m_customPatterns; }
95 inline bool CustomPatternsHasBeenSet() const { return m_customPatternsHasBeenSet; }
96 template <typename CustomPatternsT = Aws::String>
97 void SetCustomPatterns(CustomPatternsT&& value) {
98 m_customPatternsHasBeenSet = true;
99 m_customPatterns = std::forward<CustomPatternsT>(value);
100 }
101 template <typename CustomPatternsT = Aws::String>
103 SetCustomPatterns(std::forward<CustomPatternsT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_name;
109 bool m_nameHasBeenSet = false;
110
111 Aws::String m_classification;
112 bool m_classificationHasBeenSet = false;
113
114 Aws::String m_grokPattern;
115 bool m_grokPatternHasBeenSet = false;
116
117 Aws::String m_customPatterns;
118 bool m_customPatternsHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace Glue
123} // namespace Aws
AWS_GLUE_API UpdateGrokClassifierRequest()=default
AWS_GLUE_API UpdateGrokClassifierRequest(Aws::Utils::Json::JsonView jsonValue)
UpdateGrokClassifierRequest & WithGrokPattern(GrokPatternT &&value)
UpdateGrokClassifierRequest & WithClassification(ClassificationT &&value)
UpdateGrokClassifierRequest & WithCustomPatterns(CustomPatternsT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API UpdateGrokClassifierRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateGrokClassifierRequest & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue