/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A tructures that contains information about one pattern token related to an
* anomaly. For more information about patterns and tokens, see CreateLogAnomalyDetector.
* See Also:
AWS
* API Reference
For a dynamic token, this indicates where in the pattern that this token
* appears, related to other dynamic tokens. The dynamic token that appears first
* has a value of 1
, the one that appears second is 2
,
* and so on.
For a dynamic token, this indicates where in the pattern that this token
* appears, related to other dynamic tokens. The dynamic token that appears first
* has a value of 1
, the one that appears second is 2
,
* and so on.
For a dynamic token, this indicates where in the pattern that this token
* appears, related to other dynamic tokens. The dynamic token that appears first
* has a value of 1
, the one that appears second is 2
,
* and so on.
For a dynamic token, this indicates where in the pattern that this token
* appears, related to other dynamic tokens. The dynamic token that appears first
* has a value of 1
, the one that appears second is 2
,
* and so on.
Specifies whether this is a dynamic token.
*/ inline bool GetIsDynamic() const{ return m_isDynamic; } /** *Specifies whether this is a dynamic token.
*/ inline bool IsDynamicHasBeenSet() const { return m_isDynamicHasBeenSet; } /** *Specifies whether this is a dynamic token.
*/ inline void SetIsDynamic(bool value) { m_isDynamicHasBeenSet = true; m_isDynamic = value; } /** *Specifies whether this is a dynamic token.
*/ inline PatternToken& WithIsDynamic(bool value) { SetIsDynamic(value); return *this;} /** *The string represented by this token. If this is a dynamic token, the value
* will be <*>
The string represented by this token. If this is a dynamic token, the value
* will be <*>
The string represented by this token. If this is a dynamic token, the value
* will be <*>
The string represented by this token. If this is a dynamic token, the value
* will be <*>
The string represented by this token. If this is a dynamic token, the value
* will be <*>
The string represented by this token. If this is a dynamic token, the value
* will be <*>
The string represented by this token. If this is a dynamic token, the value
* will be <*>
The string represented by this token. If this is a dynamic token, the value
* will be <*>
Contains the values found for a dynamic token, and the number of times each * value was found.
*/ inline const Aws::MapContains the values found for a dynamic token, and the number of times each * value was found.
*/ inline bool EnumerationsHasBeenSet() const { return m_enumerationsHasBeenSet; } /** *Contains the values found for a dynamic token, and the number of times each * value was found.
*/ inline void SetEnumerations(const Aws::MapContains the values found for a dynamic token, and the number of times each * value was found.
*/ inline void SetEnumerations(Aws::MapContains the values found for a dynamic token, and the number of times each * value was found.
*/ inline PatternToken& WithEnumerations(const Aws::MapContains the values found for a dynamic token, and the number of times each * value was found.
*/ inline PatternToken& WithEnumerations(Aws::MapContains the values found for a dynamic token, and the number of times each * value was found.
*/ inline PatternToken& AddEnumerations(const Aws::String& key, long long value) { m_enumerationsHasBeenSet = true; m_enumerations.emplace(key, value); return *this; } /** *Contains the values found for a dynamic token, and the number of times each * value was found.
*/ inline PatternToken& AddEnumerations(Aws::String&& key, long long value) { m_enumerationsHasBeenSet = true; m_enumerations.emplace(std::move(key), value); return *this; } /** *Contains the values found for a dynamic token, and the number of times each * value was found.
*/ inline PatternToken& AddEnumerations(const char* key, long long value) { m_enumerationsHasBeenSet = true; m_enumerations.emplace(key, value); return *this; } private: int m_dynamicTokenPosition; bool m_dynamicTokenPositionHasBeenSet = false; bool m_isDynamic; bool m_isDynamicHasBeenSet = false; Aws::String m_tokenString; bool m_tokenStringHasBeenSet = false; Aws::Map