AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GrokClassifier.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GLUE_API GrokClassifier();
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline GrokClassifier& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline GrokClassifier& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline GrokClassifier& WithName(const char* value) { SetName(value); return *this;}
55
57
61 inline const Aws::String& GetClassification() const{ return m_classification; }
62 inline bool ClassificationHasBeenSet() const { return m_classificationHasBeenSet; }
63 inline void SetClassification(const Aws::String& value) { m_classificationHasBeenSet = true; m_classification = value; }
64 inline void SetClassification(Aws::String&& value) { m_classificationHasBeenSet = true; m_classification = std::move(value); }
65 inline void SetClassification(const char* value) { m_classificationHasBeenSet = true; m_classification.assign(value); }
66 inline GrokClassifier& WithClassification(const Aws::String& value) { SetClassification(value); return *this;}
67 inline GrokClassifier& WithClassification(Aws::String&& value) { SetClassification(std::move(value)); return *this;}
68 inline GrokClassifier& WithClassification(const char* value) { SetClassification(value); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
76 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
77 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
78 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
79 inline GrokClassifier& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
80 inline GrokClassifier& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; }
88 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
89 inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = value; }
90 inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::move(value); }
91 inline GrokClassifier& WithLastUpdated(const Aws::Utils::DateTime& value) { SetLastUpdated(value); return *this;}
92 inline GrokClassifier& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;}
94
96
99 inline long long GetVersion() const{ return m_version; }
100 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
101 inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; }
102 inline GrokClassifier& WithVersion(long long value) { SetVersion(value); return *this;}
104
106
112 inline const Aws::String& GetGrokPattern() const{ return m_grokPattern; }
113 inline bool GrokPatternHasBeenSet() const { return m_grokPatternHasBeenSet; }
114 inline void SetGrokPattern(const Aws::String& value) { m_grokPatternHasBeenSet = true; m_grokPattern = value; }
115 inline void SetGrokPattern(Aws::String&& value) { m_grokPatternHasBeenSet = true; m_grokPattern = std::move(value); }
116 inline void SetGrokPattern(const char* value) { m_grokPatternHasBeenSet = true; m_grokPattern.assign(value); }
117 inline GrokClassifier& WithGrokPattern(const Aws::String& value) { SetGrokPattern(value); return *this;}
118 inline GrokClassifier& WithGrokPattern(Aws::String&& value) { SetGrokPattern(std::move(value)); return *this;}
119 inline GrokClassifier& WithGrokPattern(const char* value) { SetGrokPattern(value); return *this;}
121
123
129 inline const Aws::String& GetCustomPatterns() const{ return m_customPatterns; }
130 inline bool CustomPatternsHasBeenSet() const { return m_customPatternsHasBeenSet; }
131 inline void SetCustomPatterns(const Aws::String& value) { m_customPatternsHasBeenSet = true; m_customPatterns = value; }
132 inline void SetCustomPatterns(Aws::String&& value) { m_customPatternsHasBeenSet = true; m_customPatterns = std::move(value); }
133 inline void SetCustomPatterns(const char* value) { m_customPatternsHasBeenSet = true; m_customPatterns.assign(value); }
134 inline GrokClassifier& WithCustomPatterns(const Aws::String& value) { SetCustomPatterns(value); return *this;}
135 inline GrokClassifier& WithCustomPatterns(Aws::String&& value) { SetCustomPatterns(std::move(value)); return *this;}
136 inline GrokClassifier& WithCustomPatterns(const char* value) { SetCustomPatterns(value); return *this;}
138 private:
139
140 Aws::String m_name;
141 bool m_nameHasBeenSet = false;
142
143 Aws::String m_classification;
144 bool m_classificationHasBeenSet = false;
145
146 Aws::Utils::DateTime m_creationTime;
147 bool m_creationTimeHasBeenSet = false;
148
149 Aws::Utils::DateTime m_lastUpdated;
150 bool m_lastUpdatedHasBeenSet = false;
151
152 long long m_version;
153 bool m_versionHasBeenSet = false;
154
155 Aws::String m_grokPattern;
156 bool m_grokPatternHasBeenSet = false;
157
158 Aws::String m_customPatterns;
159 bool m_customPatternsHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace Glue
164} // namespace Aws
GrokClassifier & WithCustomPatterns(const Aws::String &value)
void SetClassification(const char *value)
void SetGrokPattern(const char *value)
GrokClassifier & WithClassification(Aws::String &&value)
GrokClassifier & WithLastUpdated(const Aws::Utils::DateTime &value)
void SetGrokPattern(Aws::String &&value)
const Aws::String & GetGrokPattern() const
GrokClassifier & WithCustomPatterns(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(Aws::String &&value)
GrokClassifier & WithVersion(long long value)
const Aws::String & GetName() const
AWS_GLUE_API GrokClassifier(Aws::Utils::Json::JsonView jsonValue)
GrokClassifier & WithGrokPattern(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdated() const
const Aws::String & GetCustomPatterns() const
GrokClassifier & WithGrokPattern(const char *value)
void SetVersion(long long value)
void SetCustomPatterns(const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
AWS_GLUE_API GrokClassifier & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
GrokClassifier & WithCreationTime(const Aws::Utils::DateTime &value)
GrokClassifier & WithName(const char *value)
GrokClassifier & WithName(const Aws::String &value)
void SetCustomPatterns(const Aws::String &value)
void SetCustomPatterns(Aws::String &&value)
GrokClassifier & WithCreationTime(Aws::Utils::DateTime &&value)
void SetClassification(const Aws::String &value)
GrokClassifier & WithClassification(const Aws::String &value)
void SetClassification(Aws::String &&value)
GrokClassifier & WithName(Aws::String &&value)
void SetLastUpdated(Aws::Utils::DateTime &&value)
GrokClassifier & WithGrokPattern(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetName(const char *value)
GrokClassifier & WithLastUpdated(Aws::Utils::DateTime &&value)
const Aws::String & GetClassification() const
GrokClassifier & WithClassification(const char *value)
void SetGrokPattern(const Aws::String &value)
void SetLastUpdated(const Aws::Utils::DateTime &value)
GrokClassifier & WithCustomPatterns(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue