/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A rule option for a stateful rule.See Also:
AWS
* API Reference
A keyword to look for.
*/ inline const Aws::String& GetKeyword() const{ return m_keyword; } /** *A keyword to look for.
*/ inline bool KeywordHasBeenSet() const { return m_keywordHasBeenSet; } /** *A keyword to look for.
*/ inline void SetKeyword(const Aws::String& value) { m_keywordHasBeenSet = true; m_keyword = value; } /** *A keyword to look for.
*/ inline void SetKeyword(Aws::String&& value) { m_keywordHasBeenSet = true; m_keyword = std::move(value); } /** *A keyword to look for.
*/ inline void SetKeyword(const char* value) { m_keywordHasBeenSet = true; m_keyword.assign(value); } /** *A keyword to look for.
*/ inline RuleGroupSourceStatefulRulesOptionsDetails& WithKeyword(const Aws::String& value) { SetKeyword(value); return *this;} /** *A keyword to look for.
*/ inline RuleGroupSourceStatefulRulesOptionsDetails& WithKeyword(Aws::String&& value) { SetKeyword(std::move(value)); return *this;} /** *A keyword to look for.
*/ inline RuleGroupSourceStatefulRulesOptionsDetails& WithKeyword(const char* value) { SetKeyword(value); return *this;} /** *A list of settings.
*/ inline const Aws::VectorA list of settings.
*/ inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; } /** *A list of settings.
*/ inline void SetSettings(const Aws::VectorA list of settings.
*/ inline void SetSettings(Aws::VectorA list of settings.
*/ inline RuleGroupSourceStatefulRulesOptionsDetails& WithSettings(const Aws::VectorA list of settings.
*/ inline RuleGroupSourceStatefulRulesOptionsDetails& WithSettings(Aws::VectorA list of settings.
*/ inline RuleGroupSourceStatefulRulesOptionsDetails& AddSettings(const Aws::String& value) { m_settingsHasBeenSet = true; m_settings.push_back(value); return *this; } /** *A list of settings.
*/ inline RuleGroupSourceStatefulRulesOptionsDetails& AddSettings(Aws::String&& value) { m_settingsHasBeenSet = true; m_settings.push_back(std::move(value)); return *this; } /** *A list of settings.
*/ inline RuleGroupSourceStatefulRulesOptionsDetails& AddSettings(const char* value) { m_settingsHasBeenSet = true; m_settings.push_back(value); return *this; } private: Aws::String m_keyword; bool m_keywordHasBeenSet = false; Aws::Vector