/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that contains the settings for a keyword match
* task.See Also:
AWS
* API Reference
The name of the keyword match rule.
*/ inline const Aws::String& GetRuleName() const{ return m_ruleName; } /** *The name of the keyword match rule.
*/ inline bool RuleNameHasBeenSet() const { return m_ruleNameHasBeenSet; } /** *The name of the keyword match rule.
*/ inline void SetRuleName(const Aws::String& value) { m_ruleNameHasBeenSet = true; m_ruleName = value; } /** *The name of the keyword match rule.
*/ inline void SetRuleName(Aws::String&& value) { m_ruleNameHasBeenSet = true; m_ruleName = std::move(value); } /** *The name of the keyword match rule.
*/ inline void SetRuleName(const char* value) { m_ruleNameHasBeenSet = true; m_ruleName.assign(value); } /** *The name of the keyword match rule.
*/ inline KeywordMatchConfiguration& WithRuleName(const Aws::String& value) { SetRuleName(value); return *this;} /** *The name of the keyword match rule.
*/ inline KeywordMatchConfiguration& WithRuleName(Aws::String&& value) { SetRuleName(std::move(value)); return *this;} /** *The name of the keyword match rule.
*/ inline KeywordMatchConfiguration& WithRuleName(const char* value) { SetRuleName(value); return *this;} /** *The keywords or phrases that you want to match.
*/ inline const Aws::VectorThe keywords or phrases that you want to match.
*/ inline bool KeywordsHasBeenSet() const { return m_keywordsHasBeenSet; } /** *The keywords or phrases that you want to match.
*/ inline void SetKeywords(const Aws::VectorThe keywords or phrases that you want to match.
*/ inline void SetKeywords(Aws::VectorThe keywords or phrases that you want to match.
*/ inline KeywordMatchConfiguration& WithKeywords(const Aws::VectorThe keywords or phrases that you want to match.
*/ inline KeywordMatchConfiguration& WithKeywords(Aws::VectorThe keywords or phrases that you want to match.
*/ inline KeywordMatchConfiguration& AddKeywords(const Aws::String& value) { m_keywordsHasBeenSet = true; m_keywords.push_back(value); return *this; } /** *The keywords or phrases that you want to match.
*/ inline KeywordMatchConfiguration& AddKeywords(Aws::String&& value) { m_keywordsHasBeenSet = true; m_keywords.push_back(std::move(value)); return *this; } /** *The keywords or phrases that you want to match.
*/ inline KeywordMatchConfiguration& AddKeywords(const char* value) { m_keywordsHasBeenSet = true; m_keywords.push_back(value); return *this; } /** *Matches keywords or phrases on their presence or absence. If set to
* TRUE
, the rule matches when all the specified keywords or phrases
* are absent. Default: FALSE
.
Matches keywords or phrases on their presence or absence. If set to
* TRUE
, the rule matches when all the specified keywords or phrases
* are absent. Default: FALSE
.
Matches keywords or phrases on their presence or absence. If set to
* TRUE
, the rule matches when all the specified keywords or phrases
* are absent. Default: FALSE
.
Matches keywords or phrases on their presence or absence. If set to
* TRUE
, the rule matches when all the specified keywords or phrases
* are absent. Default: FALSE
.