AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateGrokClassifierRequest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue
22{
23namespace Model
24{
25
33 {
34 public:
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline UpdateGrokClassifierRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline UpdateGrokClassifierRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline UpdateGrokClassifierRequest& WithName(const char* value) { SetName(value); return *this;}
54
56
60 inline const Aws::String& GetClassification() const{ return m_classification; }
61 inline bool ClassificationHasBeenSet() const { return m_classificationHasBeenSet; }
62 inline void SetClassification(const Aws::String& value) { m_classificationHasBeenSet = true; m_classification = value; }
63 inline void SetClassification(Aws::String&& value) { m_classificationHasBeenSet = true; m_classification = std::move(value); }
64 inline void SetClassification(const char* value) { m_classificationHasBeenSet = true; m_classification.assign(value); }
65 inline UpdateGrokClassifierRequest& WithClassification(const Aws::String& value) { SetClassification(value); return *this;}
66 inline UpdateGrokClassifierRequest& WithClassification(Aws::String&& value) { SetClassification(std::move(value)); return *this;}
67 inline UpdateGrokClassifierRequest& WithClassification(const char* value) { SetClassification(value); return *this;}
69
71
74 inline const Aws::String& GetGrokPattern() const{ return m_grokPattern; }
75 inline bool GrokPatternHasBeenSet() const { return m_grokPatternHasBeenSet; }
76 inline void SetGrokPattern(const Aws::String& value) { m_grokPatternHasBeenSet = true; m_grokPattern = value; }
77 inline void SetGrokPattern(Aws::String&& value) { m_grokPatternHasBeenSet = true; m_grokPattern = std::move(value); }
78 inline void SetGrokPattern(const char* value) { m_grokPatternHasBeenSet = true; m_grokPattern.assign(value); }
79 inline UpdateGrokClassifierRequest& WithGrokPattern(const Aws::String& value) { SetGrokPattern(value); return *this;}
80 inline UpdateGrokClassifierRequest& WithGrokPattern(Aws::String&& value) { SetGrokPattern(std::move(value)); return *this;}
81 inline UpdateGrokClassifierRequest& WithGrokPattern(const char* value) { SetGrokPattern(value); return *this;}
83
85
88 inline const Aws::String& GetCustomPatterns() const{ return m_customPatterns; }
89 inline bool CustomPatternsHasBeenSet() const { return m_customPatternsHasBeenSet; }
90 inline void SetCustomPatterns(const Aws::String& value) { m_customPatternsHasBeenSet = true; m_customPatterns = value; }
91 inline void SetCustomPatterns(Aws::String&& value) { m_customPatternsHasBeenSet = true; m_customPatterns = std::move(value); }
92 inline void SetCustomPatterns(const char* value) { m_customPatternsHasBeenSet = true; m_customPatterns.assign(value); }
93 inline UpdateGrokClassifierRequest& WithCustomPatterns(const Aws::String& value) { SetCustomPatterns(value); return *this;}
94 inline UpdateGrokClassifierRequest& WithCustomPatterns(Aws::String&& value) { SetCustomPatterns(std::move(value)); return *this;}
95 inline UpdateGrokClassifierRequest& WithCustomPatterns(const char* value) { SetCustomPatterns(value); return *this;}
97 private:
98
99 Aws::String m_name;
100 bool m_nameHasBeenSet = false;
101
102 Aws::String m_classification;
103 bool m_classificationHasBeenSet = false;
104
105 Aws::String m_grokPattern;
106 bool m_grokPatternHasBeenSet = false;
107
108 Aws::String m_customPatterns;
109 bool m_customPatternsHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Glue
114} // namespace Aws
AWS_GLUE_API UpdateGrokClassifierRequest(Aws::Utils::Json::JsonView jsonValue)
UpdateGrokClassifierRequest & WithGrokPattern(const char *value)
UpdateGrokClassifierRequest & WithCustomPatterns(Aws::String &&value)
UpdateGrokClassifierRequest & WithName(Aws::String &&value)
UpdateGrokClassifierRequest & WithClassification(const char *value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API UpdateGrokClassifierRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateGrokClassifierRequest & WithCustomPatterns(const char *value)
UpdateGrokClassifierRequest & WithClassification(Aws::String &&value)
UpdateGrokClassifierRequest & WithName(const Aws::String &value)
UpdateGrokClassifierRequest & WithGrokPattern(Aws::String &&value)
UpdateGrokClassifierRequest & WithCustomPatterns(const Aws::String &value)
UpdateGrokClassifierRequest & WithClassification(const Aws::String &value)
UpdateGrokClassifierRequest & WithName(const char *value)
UpdateGrokClassifierRequest & WithGrokPattern(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue