/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that defines the log patterns that belongs to a
* LogPatternSet
.See Also:
AWS
* API Reference
The name of the log pattern. A log pattern name can contain as many as 30 * characters, and it cannot be empty. The characters can be Unicode letters, * digits, or one of the following symbols: period, dash, underscore.
*/ inline const Aws::String& GetPatternSetName() const{ return m_patternSetName; } /** *The name of the log pattern. A log pattern name can contain as many as 30 * characters, and it cannot be empty. The characters can be Unicode letters, * digits, or one of the following symbols: period, dash, underscore.
*/ inline bool PatternSetNameHasBeenSet() const { return m_patternSetNameHasBeenSet; } /** *The name of the log pattern. A log pattern name can contain as many as 30 * characters, and it cannot be empty. The characters can be Unicode letters, * digits, or one of the following symbols: period, dash, underscore.
*/ inline void SetPatternSetName(const Aws::String& value) { m_patternSetNameHasBeenSet = true; m_patternSetName = value; } /** *The name of the log pattern. A log pattern name can contain as many as 30 * characters, and it cannot be empty. The characters can be Unicode letters, * digits, or one of the following symbols: period, dash, underscore.
*/ inline void SetPatternSetName(Aws::String&& value) { m_patternSetNameHasBeenSet = true; m_patternSetName = std::move(value); } /** *The name of the log pattern. A log pattern name can contain as many as 30 * characters, and it cannot be empty. The characters can be Unicode letters, * digits, or one of the following symbols: period, dash, underscore.
*/ inline void SetPatternSetName(const char* value) { m_patternSetNameHasBeenSet = true; m_patternSetName.assign(value); } /** *The name of the log pattern. A log pattern name can contain as many as 30 * characters, and it cannot be empty. The characters can be Unicode letters, * digits, or one of the following symbols: period, dash, underscore.
*/ inline LogPattern& WithPatternSetName(const Aws::String& value) { SetPatternSetName(value); return *this;} /** *The name of the log pattern. A log pattern name can contain as many as 30 * characters, and it cannot be empty. The characters can be Unicode letters, * digits, or one of the following symbols: period, dash, underscore.
*/ inline LogPattern& WithPatternSetName(Aws::String&& value) { SetPatternSetName(std::move(value)); return *this;} /** *The name of the log pattern. A log pattern name can contain as many as 30 * characters, and it cannot be empty. The characters can be Unicode letters, * digits, or one of the following symbols: period, dash, underscore.
*/ inline LogPattern& WithPatternSetName(const char* value) { SetPatternSetName(value); return *this;} /** *The name of the log pattern. A log pattern name can contain as many as 50 * characters, and it cannot be empty. The characters can be Unicode letters, * digits, or one of the following symbols: period, dash, underscore.
*/ inline const Aws::String& GetPatternName() const{ return m_patternName; } /** *The name of the log pattern. A log pattern name can contain as many as 50 * characters, and it cannot be empty. The characters can be Unicode letters, * digits, or one of the following symbols: period, dash, underscore.
*/ inline bool PatternNameHasBeenSet() const { return m_patternNameHasBeenSet; } /** *The name of the log pattern. A log pattern name can contain as many as 50 * characters, and it cannot be empty. The characters can be Unicode letters, * digits, or one of the following symbols: period, dash, underscore.
*/ inline void SetPatternName(const Aws::String& value) { m_patternNameHasBeenSet = true; m_patternName = value; } /** *The name of the log pattern. A log pattern name can contain as many as 50 * characters, and it cannot be empty. The characters can be Unicode letters, * digits, or one of the following symbols: period, dash, underscore.
*/ inline void SetPatternName(Aws::String&& value) { m_patternNameHasBeenSet = true; m_patternName = std::move(value); } /** *The name of the log pattern. A log pattern name can contain as many as 50 * characters, and it cannot be empty. The characters can be Unicode letters, * digits, or one of the following symbols: period, dash, underscore.
*/ inline void SetPatternName(const char* value) { m_patternNameHasBeenSet = true; m_patternName.assign(value); } /** *The name of the log pattern. A log pattern name can contain as many as 50 * characters, and it cannot be empty. The characters can be Unicode letters, * digits, or one of the following symbols: period, dash, underscore.
*/ inline LogPattern& WithPatternName(const Aws::String& value) { SetPatternName(value); return *this;} /** *The name of the log pattern. A log pattern name can contain as many as 50 * characters, and it cannot be empty. The characters can be Unicode letters, * digits, or one of the following symbols: period, dash, underscore.
*/ inline LogPattern& WithPatternName(Aws::String&& value) { SetPatternName(std::move(value)); return *this;} /** *The name of the log pattern. A log pattern name can contain as many as 50 * characters, and it cannot be empty. The characters can be Unicode letters, * digits, or one of the following symbols: period, dash, underscore.
*/ inline LogPattern& WithPatternName(const char* value) { SetPatternName(value); return *this;} /** *A regular expression that defines the log pattern. A log pattern can contain * as many as 50 characters, and it cannot be empty. The pattern must be DFA * compatible. Patterns that utilize forward lookahead or backreference * constructions are not supported.
*/ inline const Aws::String& GetPattern() const{ return m_pattern; } /** *A regular expression that defines the log pattern. A log pattern can contain * as many as 50 characters, and it cannot be empty. The pattern must be DFA * compatible. Patterns that utilize forward lookahead or backreference * constructions are not supported.
*/ inline bool PatternHasBeenSet() const { return m_patternHasBeenSet; } /** *A regular expression that defines the log pattern. A log pattern can contain * as many as 50 characters, and it cannot be empty. The pattern must be DFA * compatible. Patterns that utilize forward lookahead or backreference * constructions are not supported.
*/ inline void SetPattern(const Aws::String& value) { m_patternHasBeenSet = true; m_pattern = value; } /** *A regular expression that defines the log pattern. A log pattern can contain * as many as 50 characters, and it cannot be empty. The pattern must be DFA * compatible. Patterns that utilize forward lookahead or backreference * constructions are not supported.
*/ inline void SetPattern(Aws::String&& value) { m_patternHasBeenSet = true; m_pattern = std::move(value); } /** *A regular expression that defines the log pattern. A log pattern can contain * as many as 50 characters, and it cannot be empty. The pattern must be DFA * compatible. Patterns that utilize forward lookahead or backreference * constructions are not supported.
*/ inline void SetPattern(const char* value) { m_patternHasBeenSet = true; m_pattern.assign(value); } /** *A regular expression that defines the log pattern. A log pattern can contain * as many as 50 characters, and it cannot be empty. The pattern must be DFA * compatible. Patterns that utilize forward lookahead or backreference * constructions are not supported.
*/ inline LogPattern& WithPattern(const Aws::String& value) { SetPattern(value); return *this;} /** *A regular expression that defines the log pattern. A log pattern can contain * as many as 50 characters, and it cannot be empty. The pattern must be DFA * compatible. Patterns that utilize forward lookahead or backreference * constructions are not supported.
*/ inline LogPattern& WithPattern(Aws::String&& value) { SetPattern(std::move(value)); return *this;} /** *A regular expression that defines the log pattern. A log pattern can contain * as many as 50 characters, and it cannot be empty. The pattern must be DFA * compatible. Patterns that utilize forward lookahead or backreference * constructions are not supported.
*/ inline LogPattern& WithPattern(const char* value) { SetPattern(value); return *this;} /** *Rank of the log pattern. Must be a value between 1
and
* 1,000,000
. The patterns are sorted by rank, so we recommend that
* you set your highest priority patterns with the lowest rank. A pattern of rank
* 1
will be the first to get matched to a log line. A pattern of rank
* 1,000,000
will be last to get matched. When you configure custom
* log patterns from the console, a Low
severity pattern translates to
* a 750,000
rank. A Medium
severity pattern translates
* to a 500,000
rank. And a High
severity pattern
* translates to a 250,000
rank. Rank values less than 1
* or greater than 1,000,000
are reserved for AWS-provided patterns.
*
Rank of the log pattern. Must be a value between 1
and
* 1,000,000
. The patterns are sorted by rank, so we recommend that
* you set your highest priority patterns with the lowest rank. A pattern of rank
* 1
will be the first to get matched to a log line. A pattern of rank
* 1,000,000
will be last to get matched. When you configure custom
* log patterns from the console, a Low
severity pattern translates to
* a 750,000
rank. A Medium
severity pattern translates
* to a 500,000
rank. And a High
severity pattern
* translates to a 250,000
rank. Rank values less than 1
* or greater than 1,000,000
are reserved for AWS-provided patterns.
*
Rank of the log pattern. Must be a value between 1
and
* 1,000,000
. The patterns are sorted by rank, so we recommend that
* you set your highest priority patterns with the lowest rank. A pattern of rank
* 1
will be the first to get matched to a log line. A pattern of rank
* 1,000,000
will be last to get matched. When you configure custom
* log patterns from the console, a Low
severity pattern translates to
* a 750,000
rank. A Medium
severity pattern translates
* to a 500,000
rank. And a High
severity pattern
* translates to a 250,000
rank. Rank values less than 1
* or greater than 1,000,000
are reserved for AWS-provided patterns.
*
Rank of the log pattern. Must be a value between 1
and
* 1,000,000
. The patterns are sorted by rank, so we recommend that
* you set your highest priority patterns with the lowest rank. A pattern of rank
* 1
will be the first to get matched to a log line. A pattern of rank
* 1,000,000
will be last to get matched. When you configure custom
* log patterns from the console, a Low
severity pattern translates to
* a 750,000
rank. A Medium
severity pattern translates
* to a 500,000
rank. And a High
severity pattern
* translates to a 250,000
rank. Rank values less than 1
* or greater than 1,000,000
are reserved for AWS-provided patterns.
*