7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
48 template<
typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
50 template<
typename NameT = Aws::String>
61 template<
typename ClassificationT = Aws::String>
62 void SetClassification(ClassificationT&& value) { m_classificationHasBeenSet =
true; m_classification = std::forward<ClassificationT>(value); }
63 template<
typename ClassificationT = Aws::String>
73 template<
typename CreationTimeT = Aws::Utils::DateTime>
74 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
75 template<
typename CreationTimeT = Aws::Utils::DateTime>
85 template<
typename LastUpdatedT = Aws::Utils::DateTime>
86 void SetLastUpdated(LastUpdatedT&& value) { m_lastUpdatedHasBeenSet =
true; m_lastUpdated = std::forward<LastUpdatedT>(value); }
87 template<
typename LastUpdatedT = Aws::Utils::DateTime>
95 inline long long GetVersion()
const {
return m_version; }
97 inline void SetVersion(
long long value) { m_versionHasBeenSet =
true; m_version = value; }
110 template<
typename GrokPatternT = Aws::String>
111 void SetGrokPattern(GrokPatternT&& value) { m_grokPatternHasBeenSet =
true; m_grokPattern = std::forward<GrokPatternT>(value); }
112 template<
typename GrokPatternT = Aws::String>
125 template<
typename CustomPatternsT = Aws::String>
126 void SetCustomPatterns(CustomPatternsT&& value) { m_customPatternsHasBeenSet =
true; m_customPatterns = std::forward<CustomPatternsT>(value); }
127 template<
typename CustomPatternsT = Aws::String>
133 bool m_nameHasBeenSet =
false;
136 bool m_classificationHasBeenSet =
false;
139 bool m_creationTimeHasBeenSet =
false;
142 bool m_lastUpdatedHasBeenSet =
false;
144 long long m_version{0};
145 bool m_versionHasBeenSet =
false;
148 bool m_grokPatternHasBeenSet =
false;
151 bool m_customPatternsHasBeenSet =
false;
GrokClassifier & WithCreationTime(CreationTimeT &&value)
void SetName(NameT &&value)
long long GetVersion() const
AWS_GLUE_API GrokClassifier()=default
bool LastUpdatedHasBeenSet() const
bool VersionHasBeenSet() const
const Aws::String & GetGrokPattern() const
bool GrokPatternHasBeenSet() const
const Aws::Utils::DateTime & GetCreationTime() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
bool NameHasBeenSet() const
GrokClassifier & WithVersion(long long value)
const Aws::String & GetName() const
GrokClassifier & WithLastUpdated(LastUpdatedT &&value)
GrokClassifier & WithCustomPatterns(CustomPatternsT &&value)
AWS_GLUE_API GrokClassifier(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastUpdated() const
const Aws::String & GetCustomPatterns() const
GrokClassifier & WithGrokPattern(GrokPatternT &&value)
bool CreationTimeHasBeenSet() const
void SetVersion(long long value)
void SetCreationTime(CreationTimeT &&value)
void SetLastUpdated(LastUpdatedT &&value)
AWS_GLUE_API GrokClassifier & operator=(Aws::Utils::Json::JsonView jsonValue)
GrokClassifier & WithClassification(ClassificationT &&value)
bool CustomPatternsHasBeenSet() const
void SetGrokPattern(GrokPatternT &&value)
void SetCustomPatterns(CustomPatternsT &&value)
bool ClassificationHasBeenSet() const
const Aws::String & GetClassification() const
GrokClassifier & WithName(NameT &&value)
void SetClassification(ClassificationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue