/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies a grok classifier to update when passed to
* UpdateClassifier.See Also:
AWS
* API Reference
The name of the GrokClassifier.
The name of the GrokClassifier.
The name of the GrokClassifier.
The name of the GrokClassifier.
The name of the GrokClassifier.
The name of the GrokClassifier.
The name of the GrokClassifier.
The name of the GrokClassifier.
An identifier of the data format that the classifier matches, such as * Twitter, JSON, Omniture logs, Amazon CloudWatch Logs, and so on.
*/ inline const Aws::String& GetClassification() const{ return m_classification; } /** *An identifier of the data format that the classifier matches, such as * Twitter, JSON, Omniture logs, Amazon CloudWatch Logs, and so on.
*/ inline bool ClassificationHasBeenSet() const { return m_classificationHasBeenSet; } /** *An identifier of the data format that the classifier matches, such as * Twitter, JSON, Omniture logs, Amazon CloudWatch Logs, and so on.
*/ inline void SetClassification(const Aws::String& value) { m_classificationHasBeenSet = true; m_classification = value; } /** *An identifier of the data format that the classifier matches, such as * Twitter, JSON, Omniture logs, Amazon CloudWatch Logs, and so on.
*/ inline void SetClassification(Aws::String&& value) { m_classificationHasBeenSet = true; m_classification = std::move(value); } /** *An identifier of the data format that the classifier matches, such as * Twitter, JSON, Omniture logs, Amazon CloudWatch Logs, and so on.
*/ inline void SetClassification(const char* value) { m_classificationHasBeenSet = true; m_classification.assign(value); } /** *An identifier of the data format that the classifier matches, such as * Twitter, JSON, Omniture logs, Amazon CloudWatch Logs, and so on.
*/ inline UpdateGrokClassifierRequest& WithClassification(const Aws::String& value) { SetClassification(value); return *this;} /** *An identifier of the data format that the classifier matches, such as * Twitter, JSON, Omniture logs, Amazon CloudWatch Logs, and so on.
*/ inline UpdateGrokClassifierRequest& WithClassification(Aws::String&& value) { SetClassification(std::move(value)); return *this;} /** *An identifier of the data format that the classifier matches, such as * Twitter, JSON, Omniture logs, Amazon CloudWatch Logs, and so on.
*/ inline UpdateGrokClassifierRequest& WithClassification(const char* value) { SetClassification(value); return *this;} /** *The grok pattern used by this classifier.
*/ inline const Aws::String& GetGrokPattern() const{ return m_grokPattern; } /** *The grok pattern used by this classifier.
*/ inline bool GrokPatternHasBeenSet() const { return m_grokPatternHasBeenSet; } /** *The grok pattern used by this classifier.
*/ inline void SetGrokPattern(const Aws::String& value) { m_grokPatternHasBeenSet = true; m_grokPattern = value; } /** *The grok pattern used by this classifier.
*/ inline void SetGrokPattern(Aws::String&& value) { m_grokPatternHasBeenSet = true; m_grokPattern = std::move(value); } /** *The grok pattern used by this classifier.
*/ inline void SetGrokPattern(const char* value) { m_grokPatternHasBeenSet = true; m_grokPattern.assign(value); } /** *The grok pattern used by this classifier.
*/ inline UpdateGrokClassifierRequest& WithGrokPattern(const Aws::String& value) { SetGrokPattern(value); return *this;} /** *The grok pattern used by this classifier.
*/ inline UpdateGrokClassifierRequest& WithGrokPattern(Aws::String&& value) { SetGrokPattern(std::move(value)); return *this;} /** *The grok pattern used by this classifier.
*/ inline UpdateGrokClassifierRequest& WithGrokPattern(const char* value) { SetGrokPattern(value); return *this;} /** *Optional custom grok patterns used by this classifier.
*/ inline const Aws::String& GetCustomPatterns() const{ return m_customPatterns; } /** *Optional custom grok patterns used by this classifier.
*/ inline bool CustomPatternsHasBeenSet() const { return m_customPatternsHasBeenSet; } /** *Optional custom grok patterns used by this classifier.
*/ inline void SetCustomPatterns(const Aws::String& value) { m_customPatternsHasBeenSet = true; m_customPatterns = value; } /** *Optional custom grok patterns used by this classifier.
*/ inline void SetCustomPatterns(Aws::String&& value) { m_customPatternsHasBeenSet = true; m_customPatterns = std::move(value); } /** *Optional custom grok patterns used by this classifier.
*/ inline void SetCustomPatterns(const char* value) { m_customPatternsHasBeenSet = true; m_customPatterns.assign(value); } /** *Optional custom grok patterns used by this classifier.
*/ inline UpdateGrokClassifierRequest& WithCustomPatterns(const Aws::String& value) { SetCustomPatterns(value); return *this;} /** *Optional custom grok patterns used by this classifier.
*/ inline UpdateGrokClassifierRequest& WithCustomPatterns(Aws::String&& value) { SetCustomPatterns(std::move(value)); return *this;} /** *Optional custom grok patterns used by this classifier.
*/ inline UpdateGrokClassifierRequest& WithCustomPatterns(const char* value) { SetCustomPatterns(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet; Aws::String m_classification; bool m_classificationHasBeenSet; Aws::String m_grokPattern; bool m_grokPatternHasBeenSet; Aws::String m_customPatterns; bool m_customPatternsHasBeenSet; }; } // namespace Model } // namespace Glue } // namespace Aws